EBo wrote: >Mark, > >It would help to tell us what you are trying to accomplish. From your last >statement: > > >>Now I just have to figure out how to draw a helix... >> >> > >The problem that I see is that you might not be able to get there from arc's >and might have to approximate arcs as lines only. The issue is that g02/03 >(arcs) are assumed to be planar -- which means you cannot get there from where >you are. > Except that you can do helical moves with G2/G3. Assuming the XY plane is active, an arc that does a Z move will be a helical move.
What you can't do is an arbitrary helix, or an arbitrary arc for that matter. Only plane-aligned arcs are allowed at the moment, which turn into plane-aligned helixes if you also move in the perpendicular axis. - Steve > If there is some way to generate an arc that also moves in another >dimension/axis then you will have to account for that and can actually >generate a helix. Maybe I am just missing the point from skimming this >thread, but I'm getting the feeling that something is a little off... > >BTW, this is one of the reasons that I advocated NURBs years ago since a helix >can be generated by skewing the control polygon of a circle. > > EBo -- > > >Mark <[email protected]> said: > > > >>--0016362834ee85fb7f04643b1f21 >>Content-Type: text/plain; charset=ISO-8859-1 >>Content-Transfer-Encoding: 7bit >> >>Thanks. For right now, I'll stick with the SAI output, since I'm already >>using it. >>I tried to find the functions (ARC_FEED etc) before, but whatever string I >>searched for only showed up in emccannon.cc - which doesn't have the >>printf's. >> >>Does the interpreter take care of offsets, cutter radius compensation, etc, >>or is that taken care of somewhere else? I see functions in test.cc related >>to both, but I am wishing really, reeeeally hard that it's taken care of for >>me :) >> >>I just remembered gdepth. I will take a look at it. I'm trying to do about >>the same thing, only using Open Cascade. I hope the accuracy will be high >>enough to compare the volume of the model generated from g-code with the >>volume of the original model, to see if there are differences. >> >>Now I just have to figure out how to draw a helix... >> >>Mark >> >>On Tue, Mar 3, 2009 at 12:36 PM, Alexey Starikovskiy >><[email protected]>wrote: >> >> >>>You may insert code into ARC_FEED/STRAIT_FEED of the attached program. >>>command line to compile it (put your paths to emc source): >>>g++ -I../x/emc2-trunk/include/ -L../x/emc2-trunk/lib/ >>>-R../x/emc2-trunk/lib/ -lrs274 -lemcini test.cc -o t >>> >>>Mark wrote: >>> >>> >>>>What I want is a way to get lines and arcs from a gcode file. >>>> >>>>Question: if changes are made to the main interp, do they propagate to the >>>>Axis version or must the Axis version be edited by hand? >>>> >>>>Mark >>>> >>>>On Tue, Mar 3, 2009 at 11:55 AM, Jeff Epler <[email protected]> >>>>wrote: >>>> >>>> ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
