Changing starting zoom level on Qt_Vismach
- RomeReactor
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 2
15 Mar 2022 00:38 #237275
by RomeReactor
Changing starting zoom level on Qt_Vismach was created by RomeReactor
Attachments:
Please Log in or Create an account to join the conversation.
15 Mar 2022 01:55 - 15 Mar 2022 01:56 #237284
by cmorley
Replied by cmorley on topic Changing starting zoom level on Qt_Vismach
try this change:
machine = MILL.Window()
self.w.horizontalLayout_3.addWidget(machine)
# set zoom between 600 to 5600
machine.glWidget.setZoom(3000)
machine = MILL.Window()
self.w.horizontalLayout_3.addWidget(machine)
# set zoom between 600 to 5600
machine.glWidget.setZoom(3000)
Last edit: 15 Mar 2022 01:56 by cmorley.
Please Log in or Create an account to join the conversation.
- RomeReactor
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 2
15 Mar 2022 20:40 #237371
by RomeReactor
Replied by RomeReactor on topic Changing starting zoom level on Qt_Vismach
Thanks. We also managed to change the starting zoom level by changing this in class Window(QWidget), from this:to this:
v.distance = size * 3
v.distance = size * 6
Please Log in or Create an account to join the conversation.
16 Mar 2022 04:09 #237429
by cmorley
Replied by cmorley on topic Changing starting zoom level on Qt_Vismach
Yes they in fact change the same variable.
The following user(s) said Thank You: RomeReactor
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.101 seconds