Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 112
Posts: 112   Pages: 12   [ Previous Page | 3 4 5 6 7 8 9 10 11 12 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 123159 times and has 111 replies Next Thread
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 474
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Version 4.0 beta 3
- Compatible with SH3D 7.2 beta 9
- Support object rotation in 3D view

Note: doesn't work with previous versions of SweetHome3D.

Download from SourceForge or using the Plugin Manager
[Sep 21, 2023, 4:46:21 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 474
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Version 4.0
- Compatible with SweetHome3D 7.2

Download from SourceForge or using the Plugin Manager.
[Sep 23, 2023, 12:43:02 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1442
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Bug?
Changing the Outline setting also changes the obj export.

Example:
A wall with a box covering each end. Both boxes have the exact same color. The wall has the same color for both sides and the top.

Default Outline setting (None): Export results in one color for the wall and one set of colors (top, left, ect.) for the boxes.

Now set the Outline to perspective and export again. All materials are created for each part having individually named materials. So two sets of top, left, etc. for the boxes and two colors for the wall.

ETA: it seems that select in 3Dview no longer works.
New preference setting in 7.2. Now switched on.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects
----------------------------------------
[Edit 2 times, last edit by Keet at Sep 24, 2023, 4:03:58 PM]
[Sep 24, 2023, 2:04:49 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
NIMAN
Member



United Kingdom
Joined: Nov 23, 2023
Post Count: 33
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Apologies if this is a silly question or answered elsewhere.

Have just begun to look at this amazing plugin applause (in conjunction with an orthographic Wiki page) and wondering if i'm getting the hang of it correctly.

To that end, I wonder if it possible to say whether the virtual visit 3d view (having switched to parallel projection) really is an (axonometric) Isometric projection?

Link to that is here: https://i.postimg.cc/VNjM0NxP/axonometric-Isometric-projection-is-it.png

If it is, is it possible to set the camera head angle to further places of decimal (e.g. 35.264)?

For info:
Plugin manager reports the Pan in 3D view as 4.0
Sweet Home 3D version 7.2
[Nov 29, 2023, 1:18:20 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 474
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Hi NIMAN,
the parallel projection mode is a real orthographic projection, so it can be used to get an isometric projection by choosing the proper view angles.
Entering more decimals digits works, they are rounded just for display purposes, so you can get exact angles.

Tip: you can place a cube somewhere, rotated with the angles required to get an isometric view; then, while having the cube selected, press CTRL+K to quickly align the camera to the cube, this way you can always return to the isometric view without opening the virtual visitor edit window, and it also works in aerial view mode.
Drag the cube to the point where you want to center the view and press CTRL+K again to align the camera to that point. You may also save the camera position to quickly return to specific positions.

Daniele
----------------------------------------
[Edit 1 times, last edit by Daniels118 at Nov 29, 2023, 4:42:30 PM]
[Nov 29, 2023, 4:40:25 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
NIMAN
Member



United Kingdom
Joined: Nov 23, 2023
Post Count: 33
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

That's great news Daniele (I thought it would be though).

Thanks for your Tip too - i'll try it out soon.

Have to say again - brilliant work here. I see your Moniker/Name at several other points in the plugin manager too so looking forward to bumping into more of that as time passes (not to mention the manager itself).

Excellent stuff.
[Nov 29, 2023, 9:13:51 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
sjb007
Advanced Member




Joined: May 18, 2021
Post Count: 257
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Hi Daniels118,

I'm having a minor issue with the Pan3D plugin where I cannot open the Pan 3D View Settings dialog. It simply fails to do anything. I still have your autologger installed, and it prints a nice big exception in there which I will post below.

System deets:
Ubuntu 22.04, On Intel CPU/iGPU
SweetHome3D 7.2 and Pan 3D 4.0

I tried moving pan3dview.xml to another filename, and I still get the same exception.

DynamicPluginLoader: plugin.classpath property not set
DynamicPluginLoader: plugin.classpath property not set
DynamicPluginLoader: plugin.classpath property not set
DynamicPluginLoader: plugin.classpath property not set
DynamicPluginLoader: plugin.classpath property not set
SPI for freehep PNGEncoder installed!
DynamicPluginLoader: plugin.classpath property not set
Object3DBranchFactory replaced with ExtensibleObject3DFactory
DimensionLineEx3DFactory added successfully
Line width changed successfully
Wiring3DFactory added successfully
View3DEnhancer installed successfully!
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.Float cannot be cast to java.lang.Double
at java.lang.Double.compareTo(Double.java:49)
at javax.swing.SpinnerNumberModel.incrValue(SpinnerNumberModel.java:349)
at javax.swing.SpinnerNumberModel.getPreviousValue(SpinnerNumberModel.java:388)
at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:501)
at javax.swing.plaf.basic.BasicSpinnerUI.updateEnabledState(BasicSpinnerUI.java:481)
at javax.swing.plaf.basic.BasicSpinnerUI.access$200(BasicSpinnerUI.java:50)
at javax.swing.plaf.basic.BasicSpinnerUI$Handler.stateChanged(BasicSpinnerUI.java:1057)
at javax.swing.JSpinner.fireStateChanged(JSpinner.java:458)
at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:386)
at javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:119)
at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:447)
at javax.swing.JSpinner.setValue(JSpinner.java:354)
at it.ld.sh3dplugins.pan3dview.ui.SettingsTab.createComponents(SettingsTab.java:176)
at it.ld.sh3dplugins.pan3dview.ui.SettingsTab.<init>(SettingsTab.java:83)
at it.ld.sh3dplugins.pan3dview.SettingsController.getView(SettingsController.java:53)
at it.ld.sh3dplugins.pan3dview.ui.Pan3dViewPanel.initComponents(Pan3dViewPanel.java:66)
at it.ld.sh3dplugins.pan3dview.ui.Pan3dViewPanel.<init>(Pan3dViewPanel.java:60)
at it.ld.sh3dplugins.pan3dview.SettingsAction.execute(SettingsAction.java:50)
at it.ld.sh3d.devtoolkit.DynamicAction.execute(DynamicAction.java:62)
at com.eteks.sweethome3d.swing.HomePane$ActionAdapter.actionPerformed(Unknown Source)
at com.eteks.sweethome3d.swing.ResourceAction$AbstractDecoratedAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 2/2, reusable (open, marked uncloseable): 0, pending (open in creation order): 2)
X11Util: Open X11 Display Connections: 2
X11Util: Open[0]: NamedX11Display[:1, 0x7f749c02ad20, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:1, 0x7f74e0001de0, refCount 1, unCloseable false]

[Dec 8, 2023, 5:36:28 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Daniels118, this is a tricky one which already happened to me.
It's because you mixed the types of values in SpinnerNumberModel instance: you gave double values at its instantiation and then set the spinner value with a value of float type. Casting the set value to double or creating a Double instance should fix it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Dec 8, 2023, 6:57:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Daniels118
Advanced Member
Member's Avatar

Italy
Joined: Nov 17, 2021
Post Count: 474
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Thank you both for log and solution. What is weird is that I can't reproduce the problem, but I guess this could be due to a different JRE (perhaps mine can handle both Float and Double. Anyway, I have just casted the value to double, so now it should work for everyone. Released version 4.1, download available on sourceforge or through the plugin manager.
[Dec 9, 2023, 3:35:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Keet
Advanced Member
Member's Avatar

Netherlands
Joined: Apr 8, 2022
Post Count: 1442
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Found a little bug(?) with the (experimental) deformation in 3Dview.

I have a door with a shutter on the outside. The shutter can be made invisible to see the door without the shutter.
In the 3Dview the shutter (of course) blocks the deformation because the mouse-click hits the shutter and not the door. But that block remains when the shutter is made invisible. From the inside I can open the door but from the outside it seems that the invisible shutter keeps blocking the door from opening. Not a big problem IF you know it AND have access to the non-blocked side in the 3Dview.

I seems that "invisible" is actually 100% transparent in the 3Dview which would explain that the shutter is still in front of the door catching the mouse-click, even if you can't see it. If that is the way it works this might be a Sweet Home 3D bug that is not specific to the Pan 3D plugin.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects
[Feb 17, 2024, 9:04:23 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 112   Pages: 12   [ Previous Page | 3 4 5 6 7 8 9 10 11 12 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved