Pan tool in 3D and 2D view?

This topic has been viewed 221339 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]
sjb007
Posts: 300
Joined: Tue May 18, 2021 1:49 pm

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

Post by sjb007 »

One small request. Could we preserve the setting for the hiding feature across sessions? I'd prefer it to be off on startup while it is still at the proof of concept stage, but at the moment it is default on whenever starting SH3D.
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've changed the default to "disabled", you can download the latest version from the sourceforge page :)
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've published the new version, here are the improvements:
- almost fixed the polyline selection bug (now only happens while creating the polyline);
- selected objects are never hidden;
- the hiding behaviour is much better.

Hiding criteria
Hiding is now performed based only on the X-Y plan. Hiding using a polyline works as before, the only difference is that now the wall detection is made on the whole length, giving much consistent results even with long walls. Automatic hiding works as follow:
- if the camera rotation centre is within a room, a hiding threshold is built by shrinking the room shape. This produces very good results, which are affected mostly only by the camera orientation.
- If the rotation centre isn't within a room, the hiding threshold is a straight line parallel to the screen and passing through the rotation centre. This gives good results when rooms aren't defined yet.
sjb007
Posts: 300
Joined: Tue May 18, 2021 1:49 pm

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

Post by sjb007 »

[Chef's kiss] Bellissimo!
sjb007
Posts: 300
Joined: Tue May 18, 2021 1:49 pm

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

Post by sjb007 »

Hmmm... Did you mean to disable the return to center when clearing any selections in 1.4? I kinda preferred the previous (1.3.3) behaviour, but I'm not wedded to it.
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 »

No, I didn't mean to change the return to center behaviour, this occurred by mistake while optimizing the code. I'll fix it in the next release which will bring a new feature too.
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 »

New version released!

Here are the changes made:
- Fixed camera return to center bug introduced in the previous version
- Added keyboard shortcut to expand 2D/3D views
sjb007
Posts: 300
Joined: Tue May 18, 2021 1:49 pm

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

Post by sjb007 »

For those wondering... Ctrl-SPACE :-)
User avatar
SeppoV12
Posts: 50
Joined: Thu Mar 28, 2019 2:40 pm
Country: Finland

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

Post by SeppoV12 »

@Daniels118
Thanks for great pan tool! I feel it very handy, especially when jumping constantly between SketchUp and SH3D.
With version 1.3.x my models easily escaped to infinity when using zoom. Version 1.5 has not this problem.
Hide obstacles help to create unique views not otherwise (at least easily) possible.
sjb007
Posts: 300
Joined: Tue May 18, 2021 1:49 pm

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

Post by sjb007 »

@Daniels118 Just a side note, you should probably create a new top-level post in the "New versions" forum. That appears to be where all the other plugins are posted, and updated. nThis wonderful little addition would get more exposure there I think.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest