On Sat, 15 Dec 2018 at 14:54, nkp <[email protected]> wrote:

> Now it looks like this:
> https://imgur.com/gallery/cW2PQbO

You can change the views here:
https://github.com/LinuxCNC/linuxcnc/blob/master/lib/python/glnav.py#L395

I suspect that by editing the .lat and ,lon in set_view_p() you can
get what you want.

I experimented with editing that fole and it does change the view. I
am, however, not sure how to do it in a way that will persist through
a software update.

I tried making a small Python script for the job (that could be called
during startup, or from an M-code)

8>< --------
#! /usr/bin/python
from glnav import GlNavBase
GlNavBase.set_viewangle(160,230)
8>< --------

Which sort-of works, in that it finds the right code, but doesn't find
the right GlNavBase instance (or something along those lines, it
doesn't work, is all I can really say)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to