Move plot instead of tilting

More
27 Aug 2020 09:37 #179672 by anfänger
Hello,

I have a question. I have quite a large work envelope on my machine.
When i Mill small parts I would like to zoom in. But the zoom ist more or less centred to the whole work envelope, so the part will move out of visibility.
I tried move the shown are with the mouse or touch, but its tilting then.
Is there a way to move instead?

Thanks Patrick

Please Log in or Create an account to join the conversation.

More
27 Aug 2020 15:00 #179690 by Todd Zuercher
Not sure about other GUIs (they may or may not be the same), but in Axis left mouse click on the display and drag moves the view center, left mouse click and drag while holding the shift key rotates, the scroll wheel on the mouse or left click and drag up/down while holding ctrl key zooms in/out.

If you are using the 3d perspective view, sometimes moving the center can also appear to rotate the screen as well, try using one of the 2d views instead.

Please Log in or Create an account to join the conversation.

More
27 Aug 2020 17:53 #179711 by TurBoss
this is because of the clipping range set too low

do you work with metric unit system?
what are your work area dimensions?

i can increase that here
github.com/kcjengr/qtpyvcp/blob/master/q...ackplot.py#L294-L303

Thanks for the report

Please Log in or Create an account to join the conversation.

More
27 Aug 2020 18:47 #179719 by anfänger
Hi I work in metric
my work envelope is 550x350x500 mm
but most of the parts I make are 100x50x30
The following user(s) said Thank You: TurBoss

Please Log in or Create an account to join the conversation.

More
27 Aug 2020 21:46 #179748 by TurBoss
Hello,
I completely misunderstood your first post :ohmy:

so you mean that the zoom could have an option to focus part paths?

and sorry

Please Log in or Create an account to join the conversation.

More
28 Aug 2020 00:36 #179762 by TurBoss
Ok started adding the focus path feature but ironically broke the clipping range :/

github.com/kcjengr/qtpyvcp/tree/vtk_focus_path

Please Log in or Create an account to join the conversation.

More
28 Aug 2020 03:28 #179779 by anfänger
Yes I want the zoom to focus on the part. Focus on the path maybe won’t work because for tool changes the machine moves to the origin.

But there must be a solution to move with touch. I saw it in a video. When I try to move with touch it is rotating

Many thanks for making and improve qtpyvcp

Please Log in or Create an account to join the conversation.

More
30 Aug 2020 03:01 #180006 by TurBoss
merged to master on github
will be available on next release

:)
The following user(s) said Thank You: tommylight, anfänger

Please Log in or Create an account to join the conversation.

More
12 Sep 2020 07:40 - 14 Sep 2020 12:51 #181836 by anfänger
maybe it's a stupid question but how do I use it.
lift click tilt, right click zooms but I haven't figured out ho to change the focus of the zoom or move the plot?

Thanks Patrick
Last edit: 14 Sep 2020 12:51 by anfänger.

Please Log in or Create an account to join the conversation.

More
14 Sep 2020 16:50 #182106 by TurBoss
hello,

run
editvcp

then choose your ui file and add a button

then press F4 and draw a line from the button to the plot

select the signal clicked and link it to setPathView

press ESC and save
The following user(s) said Thank You: anfänger

Please Log in or Create an account to join the conversation.

Moderators: KCJLcvette
Time to create page: 0.090 seconds
Powered by Kunena Forum