Italy
Joined: Nov 17, 2021
Post Count: 465
Status:
Offline
Re: Pan tool in 3D and 2D view?
I'm not sure what causes the problem, I have even tried to swap left and right mouse buttons in Windows settings, but it stil works as expected for me. Anyway I have modified the code to handle both buttons, please try the attached version and let me know.
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Pan tool in 3D and 2D view?
Is there something I should have not changed in the program? Maybe it can be updated easily to avoid you to change your plug-in and manage different versions of Sweet Home 3D…
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Italy
Joined: Nov 17, 2021
Post Count: 465
Status:
Offline
Re: Pan tool in 3D and 2D view?
The problem is caused by the addition of the modelFlags parameter to the HomePieceOfFurniture3D.setVisible method, since it's a private method I did expect my code would have break soon or later. Handling both versions should be quite easy anyway.
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Pan tool in 3D and 2D view?
I could overload setVisible to keep the old signature too, but as it's a private method, the old version of the method will lead to warnings in Eclipse because it will be unused. Thanks for accepting to fix it on your side
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Italy
Joined: Nov 17, 2021
Post Count: 465
Status:
Offline
Re: Pan tool in 3D and 2D view?
Version 3.6
Added the ability to change the 2D/3D panes layout Use View 3D -> Pan 3D view settings and check Use widescreen layout.
Don't forget that you can always use CTRL+SPACE to cycle the layout between full plan, full 3D and split.
Download from Sourceforge or using the Plugin Manager.
----------------------------------------
[Edit 1 times,
last edit by Daniels118 at Nov 25, 2022, 7:48:24 PM]
These new features together with the 3D dimension lines plugin will enable SweetHome3D to produce pseudo-technical drawings in the 3rd dimension. I will publish a video tutorial in the next weeks.