- Posts: 1931
- Thank you received: 394
How to change perspective preview?
- newbynobi
- Offline
- Moderator
-
Less
More
5 years 6 months ago #205567
by newbynobi
Replied by newbynobi on topic How to change perspective preview?
The reset of the view is done because a reload is done changing the mode. It is caused by gremlin widget.
You can change the behavior of the mouse buttons on the setting page, this might be also useful for touch screen usage.
Norbert
You can change the behavior of the mouse buttons on the setting page, this might be also useful for touch screen usage.
Norbert
Please Log in or Create an account to join the conversation.
- tuxcnc
- Offline
- Elite Member
-
Less
More
- Posts: 297
- Thank you received: 56
5 years 6 months ago #205570
by tuxcnc
This computer is intended only for one machine, change of source code is acceptable.
Replied by tuxcnc on topic How to change perspective preview?
I understand, but is it possible to set other default values of zoom and view angle ?newbynobi wrote: The reset of the view is done because a reload is done changing the mode.Norbert
This computer is intended only for one machine, change of source code is acceptable.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
5 years 6 months ago #205575
by cmorley
Replied by cmorley on topic How to change perspective preview?
try lib/python/glnav.py
modify function:
set_view_p()
modify function:
set_view_p()
The following user(s) said Thank You: tuxcnc
Please Log in or Create an account to join the conversation.
- tuxcnc
- Offline
- Elite Member
-
Less
More
- Posts: 297
- Thank you received: 56
5 years 6 months ago #205582
by tuxcnc
There are three values to change, I bold it :
size = (size[0] ** 2 + size[1] ** 2 + size[2] ** 2) ** .5
self.lat = -60
self.lon = 335
There is no hard work to add default size and angle of preview in gmoccapy preferences, I think it may be usefull.
Replied by tuxcnc on topic How to change perspective preview?
It works.cmorley wrote: try lib/python/glnav.py
modify function:
set_view_p()
There are three values to change, I bold it :
size = (size[0] ** 2 + size[1] ** 2 + size[2] ** 2) ** .5
self.lat = -60
self.lon = 335
There is no hard work to add default size and angle of preview in gmoccapy preferences, I think it may be usefull.
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.204 seconds