I think it would be neat to have this feature, and I would be happy to review patches implementing it before their inclusion in emc2, but I don't have any specific ideas about how to implement this.
The current implementation of the preview for 9 axis code works under the model that there is a single controlled point which is made from a combination of 6 translations and 3 rotations. This model makes sense and provides a useful preview for a wide variety of 3, 4 and 5 axis machines where XYZ move in the frame of reference of the workpiece and UVW move in the frame of reference of the tool which has been rotated according to ABC. That's why the "square+diamond" program actually draws an octagon in axis. To optionally do this kind of XYUV preview, you'd have to change the information that is recorded at each canon call, then issue two sets of OpenGL calls to generate the preview: one for the XY part of the movement and one for the UV part of the movement. You'd have to change the backplot code to also record different data and display it differently. You'd have to decide what it makes sense to display instead of the traditional cone/cylinder. You'd have to make all these things optional based on inifile settings, so that people with edm or foam-cutting type XYUV machines and people with 3 to 5 axis milling machines can use the same GUI. In the source tree, this is likely to involve changes in lib/python/rs274, src/emc/rs274ngc/gcodemodule.cc, src/emc/usr_intf/axis, and src/emc/usr_intf/gremlin Jeff ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers