Pan tool in 3D and 2D view?

This topic has been viewed 221294 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
hfrmobile
Posts: 24
Joined: Wed Feb 05, 2014 6:01 am
Country: Wiener Neustadt, Austria, Lower Austria
Contact:

Pan tool in 3D and 2D view?

Post by hfrmobile »

Can't find a "pan tool" (similar to Google SketchUp for example) for moving the model in 3D/2D view. This would be specially useful when having a model which is long but not very width.

e.g.

Code: Select all

+------------------+
|                  |
|                  |
+------------------+
--hfrmobile
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 »

In the plan, the pan tool can be activated with the Plan > Pan menu item or temporarily with the space bar.
In the 3D view, you will be able to move sideways in the coming version 4.4 when you're in Virtual visit mode (see here).
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
hfrmobile
Posts: 24
Joined: Wed Feb 05, 2014 6:01 am
Country: Wiener Neustadt, Austria, Lower Austria
Contact:

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

Post by hfrmobile »

Thank you for your answer!
In the plan, the pan tool can be activated with the Plan > Pan menu item or temporarily with the space bar.
Well, in 2D view its the same when using the scroll-bars, right? But the trick using the space bar is useful, thanks!

In the 3D view, you will be able to move sideways in the coming version 4.4 when you're in Virtual visit mode.
Well, this is, more or less, already the case when moving the figurine.

A pan in 3D view (aerial view) would be useful since at the moment it is not possible to zoom in to the bathroom for example:

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

In Aerial view panning doesn't make sense, because you can only turn around the center. Note that if you want to change the center of rotation, you can read the FAQ Is it possible to manually set the rotation center of the 3D view in Aerial view mode?
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
hfrmobile
Posts: 24
Joined: Wed Feb 05, 2014 6:01 am
Country: Wiener Neustadt, Austria, Lower Austria
Contact:

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

Post by hfrmobile »

The option "Aerial view centered on selection option" does the trick, thank you!

Maybe a bug: Go to point of view (of a stored point of view) does not change to the correct level (if the model contains more than one level).

To put this in other words: Storing a point of view in Level 3, then I change to Level 1 and select the point of view in level 3. But the level 1 remains ...
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 »

You can use this plugin:
https://sourceforge.net/p/sweethome3d/plug-ins/39/

Disclaimer: I'm the developer of the plugin.
sjb007
Posts: 300
Joined: Tue May 18, 2021 1:49 pm

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

Post by sjb007 »

THIS IS AWESOME!!!!!

Thank-you, thank-you, thank-you.

Just one small niggle: If I pan, then orbit, the new point of rotation sticks and it works as hoped. If I pan, then zoom (mouse scroll wheel), the view jumps back to the previous point of rotation, whether that is the center of everything, or the center of the current selection.
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 really appreciate your enthusiasm :D

I tried to reproduce the problem but without success, however I have found the behaviour you described happening when the selection changes, so I have updated the plugin to correctly handle this case in 2 different ways, based on the the option "view centered on selection". Try the new version, if you still experience the same problem you may record a small video to let me understand the exact steps to reproduce.

Thank you and best regards
sjb007
Posts: 300
Joined: Tue May 18, 2021 1:49 pm

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

Post by sjb007 »

See https://youtu.be/nq00He4oz_4

I did notice that navigation keypresses in the 3D view also "reset" the panning. It may be that the mouse scroll wheel up/down action are treated more like keypresses than mouse button actions.
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 »

Thank you for the video, it is very well done :)

However this behaviour doesn't happen for me using the scroll wheel, it only happens using key navigation (WASD). I think it could be due to a different underlaying software (i.e. operating system, java version, etc...).

If it isn't too much effort for you, please report the following:
- Operating system;
- Type of SH3D installation (installer/java web start/ runnable jar);
- SH3D version;
- Java version (only needed if you aren't using the installer version).

Little anticipation
I'm currently working on a new feature to automatically hide any wall between the camera and the center of rotation, I think to release it as an optional feature.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests