> > Has anyone successfully run gremlin.py standalone (using gremlin-run)
> > with a lathe?
> >
> > When I run it, it is always showing the XY plane, not the ZX plane.
> > I've tried setting self.current_view = 'y' (assuming this means view
> > down the y axis), but no matter what I set this to, it is always shows
the XY
> plane.
> >
> 
> try self.set_current_view() after setting the view with self.current_view
= 'y'

Thanks for the reply.  I probably should have given more information.  

I'm writing a module similar to gremlin-run, but gremlin-embed, that allows
me to use X11 embed to embed gremlin in my Qt application. 

It turns out the problem was gremlin.py was being created before axis had
started completely and loaded the initial NC file.  Load() was never being
called.  I've made a bit of a hack to check if the s.file changes in poll(),
and call load().

Interestingly, if I call set_current_view() after self.current_view = 'y' in
the constructor, I get a Segmentation Fault.

Thanks,
Frank


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to