2012/2/8 Lars Andersson <l...@larsandersson.com>: >> -----Original Message----- >> From: andy pugh [mailto:bodge...@gmail.com] >> Sent: den 8 februari 2012 08:28 >> To: Enhanced Machine Controller (EMC) >> Subject: Re: [Emc-users] AXIS default jog speed on A-axis >> >> http://www.linuxcnc.org/docview/html/man/man9/hypot.9.html >> > Thanks, > the function exists, the documentations is there, I _have_ been looking, but > I did not find it. > I never thought of that name "hypot"
In that case 3 HAL modules could do the job: 1) calculate the tool's velocity with "hypot" 2) multiply hypot.out by a some factor to get the correct rate for extruder in "scale" http://www.linuxcnc.org/docview/html/man/man9/scale.9.html 3) use "mux2" to enable/disable extruder: http://www.linuxcnc.org/docview/html/man/man9/mux2.9.html mux2.sel <= motion.spindle-on mux2.in1 <= scale.out setp mux2.in0 0 Viesturs ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users