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 | 1 2 3 4 5 6 7 8 9 10 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 119984 times and has 111 replies Next Thread
Daniels118
Advanced Member
Member's Avatar

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

Hi Stephen,
I was aware of this bug when detaching the 3D view, I admit I have spent few time to see what causes the issue, however fixing it is on the roadmap.
The bug never happened to me in the second way, maybe fixing the code for the first case could be enough to handle the second too, if not I'll have to investigate more.
I'll keep you updated.
Daniele
[Jan 23, 2022, 6:29:25 AM] 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: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Hi Stephen,
I've implemented a workaround for the problem occurring when detaching the 3D view, it works well and I'm now making extensive tests, you can download it in preview from here: Pan3dView-1.9.sh3p

If you are interested in, you may take a look at these 2 plugins too:
[Jan 24, 2022, 5:08:34 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: 255
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Confirm the detached window works. I'll keep an eye for it failing in normal use, and let you know if I hit it again.

I already had the Wiring plugin, but haven't done much of anything with it so far.

Just tried the 3D dimensioning, and I'll report in the main thread for that one.
[Jan 24, 2022, 10:14:44 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

As a macOS user, I don't have any middle button on my mouse but still tried this plug-in because it's required for the other nice plug-ins you developed. Unfortunately, swiping the mouse (= rolling the mouse wheel) provokes too fast back and forth moves without backward limits, when the Pan3dView plug-in is installed.
I would be nice if you could fix that, and possibly propose an alternate way for a middle click.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 25, 2022, 9:45:33 AM] 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: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

@Puybaret
Thank you Emmanuel for you feedback :) I didn't know macOS' mice lack the middle button. I apologize for this, I'll try to implement an alternative method of enabling panning (I'm thinking of holding a key such as ALT while dragging).

Adding a limit for the backward movement shouldn't be a problem. Moreover I also didn't implement the speed switch with the SHIFT key, but I can add it too.

Please note that I've substantially changed the way the scroll wheel moves the camera from linear to an exponential fashon, this way it acts much as a "zoom" than as navigation, which I find more confortable. However I understand some users could like the default behaviour, so I'm thinking about introducing a dialog to customize these settings.

Best regards,
Daniele
[Jan 25, 2022, 11:34:31 AM] 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

I sent you a video to show you how super fast zoom is working with Apple's mouse.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 25, 2022, 1:17:57 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: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

Hi Emmanuel,
thank you for the video, it helped me understand what was going on. I've releasead a new version of the plugin which should fix the bug. unfortunately I cannot test it by myself on a macOS, I hope it works. If you still experience problems you have 2 options:
  • help me debug the code;
  • turn off the exponential wheel using the new settings panel available under 3D view -> Pan 3D view settings menu.
I've also added an alternate way to pan for macOS, see below.

Summary of the changes:
  • Added ALT+left mouse button as an alternative to middle mouse button for panning (for macOS users)
  • Added the SHIFT key support to increase the speed of the scroll wheel in the 3D view
  • Improved exponential mouse wheel
  • Implemented a limit for the max distance when moving backward with the scroll wheel
  • Fixed the behavior in virtual visitor mode when custom mouse handlers wish to prevent camera rotation (1)
  • Added a preferences panel to:
    • enable/disable exponential mouse wheel
    • enable/disable select transparent walls with mouse
1) this change fixes the annoying bug occurring when moving points in virtual visitor mode for Wirings and 3D dimension lines plugins.

Download from here: Pan3dView-2.0.sh3p
[Jan 25, 2022, 7:04:42 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

I confirm it works correctly now with Apple's mouse. Thanks smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 27, 2022, 8:27:55 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
titust11
Member



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

Yes it does make sense, because for some reason the center that are supposed to be rotating around, is not in the center of the screen. I my case this rotation center too much on the right side of the screen
[Jan 31, 2022, 6:15:27 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: 465
Status: Offline
Reply to this Post  Reply with Quote 
Re: Pan tool in 3D and 2D view?

New version released!

This version brings new features and will be required for the next release of Wirings and 3D dimension lines plugins.

Summary of changes:
  • Fixed a bug reintroduced in the previous release (originally fixed in 1.8)
  • Fixed the polyline editing bug occurring after switching from virtual visitor to aerial view
  • Implemented the edit selection with double click in the 3D view
  • Implemented the delete selection with DEL key in 3D view
  • Replaced the MouseHandler class with MouseAdapter class in the public API
Download Pan3dView-3.0.sh3p
[Feb 1, 2022, 1:34:22 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 | 1 2 3 4 5 6 7 8 9 10 | 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