Pan tool in 3D and 2D view?

This topic has been viewed 221337 times and has 111 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Pan tool in 3D and 2D view?

Post by Daniels118 »

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.

Pan3dView-3.2.2.sh3p
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Pan tool in 3D and 2D view?

Post by Daniels118 »

Version 3.3 released!
Changelog:
  • Added SPACE+left mouse button for panning as in plan view
  • Added Czech translation
  • Minor bug fix
Download from sourceforge or using the Plugin Manager.

Known bugs:
The "hide obstacles" feature is broken in Sweet Home 3D 7 beta. I'll try to fix it once SH3D 7 gets out the beta stage.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Pan tool in 3D and 2D view?

Post by Puybaret »

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
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Pan tool in 3D and 2D view?

Post by Daniels118 »

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Pan tool in 3D and 2D view?

Post by Puybaret »

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
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Pan tool in 3D and 2D view?

Post by Daniels118 »

Version 3.4
Changelog:
  • Fixed "hide obstacle" feature not working in SH3D 7
Download from sourceforge or using the Plugin Manager.
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Pan tool in 3D and 2D view?

Post by Daniels118 »

Version 3.5
  • Fixed the camera jumping bug
  • Fixed Dutch translation
Download the new version from SourceForge or using the Plugin Manager.
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Pan tool in 3D and 2D view?

Post by Daniels118 »

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.
Image

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.
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Pan tool in 3D and 2D view?

Post by hansmex »

Nice, nice, nice!!!
Hans

new website - under constuction
hansdirkse.info
User avatar
Daniels118
Posts: 503
Joined: Wed Nov 17, 2021 9:04 pm
Country: Italy

Re: Pan tool in 3D and 2D view?

Post by Daniels118 »

Version 3.7
New features:
  • Added the ability to change the 3D view to parallel projection using CTRL+J (this also enable outlines to improve the aspect)
  • Added the ability to align the camera to the selected furniture or wall using CTRL+K (can be pressed multiple times to align to different sides)
Image
View full size

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.

You can download the new version from SourceForge or using the Plugin Manager.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest