On 11/25/2013 08:09 PM, Bertho Stultiens wrote:
> However, I've been thinking about exporting to an openSCAD script
> through rs274 (or sai through linking tolibrs274.so).

I did a really quick hack to export the feed movement to a script and
could create a 3D representation of the cut result (is is an example
file taken from gcmc).

The scad-file and c-source used to create the scad file are attached too.

The first few tries caused openscad to crash, which I could trace to
some errors of mine. However, I do think that there are some bugs in
openscad that will cause larger files to exhibit serious problems.

There are some optimizations that could be considered. Currently, I just
use any feed movement and create a "hull" of the start- to end-position.
That is inefficient if some paths could be reused. Also, it is not clear
whether calculation of sums and differences can be sped up by reordering
them in a better way.

-- 
Greetings Bertho

(disclaimers are disclaimed)

<<attachment: cutter-3D.png>>

Attachment: cutter-3D.scad.gz
Description: application/gzip

Attachment: ngc2openscad.c.gz
Description: application/gzip

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to