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:
>>
>>
>>
>>> The so-called "stand-alone" interpreter is available as the program
>>> "rs274".
>>> I'm not 100% sure this is in the precompiled package (I think it is),
>>> but I know you get it when you build emc2 yourself.
>>>
>>> However, axis uses a different method (embed rs274 as a shared library)
>>> to generate the preview plot.
>>>
>>> Jeff
>>>
>>>
------------------------------------------------------------------------------
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

Reply via email to