OpenSCAD mailing list-2 wrote
> The only work-around I can come up with is to export a pair of files:
>
> - one has a surrounding rectangle to register things and includes the V
> groove cuts defined as the surface outline of cutting them with a V
> endmill
> of suitable diameter
> - the second has the same surrounding rectangle (so things will still
> register) and the overall part outline (which can't be output in the above
> file since it would overlap with the V groove surface outlines
>
> Does all this make sense? Is there some better option which I'm missing?
> Or
> should I stop procrastinating and just finish up the coding?
To get you right:
1. You are trying to prepare some sort of gcode path for a 5-axis (??) CNC
machine?
2. You have some STL file created with BlocksCAD which you want to import to
OpenSCAD, and you want to extract two paths, one describing a groove, and
the other one some registering rect from said STL?
3. You want to use any of OpenSCAD's export formats to get a description of
the the paths and postprocess this into a gcode file?
Well, if the groove is a real 3D path with altering z coordinates, I think
you have no chance with OpenSCAD.
Given that rect and groove have constant z heights (i.e. they are parallel
to the XY plane, you might be able to use something like
translate([0,0,-z_groove])
projection(cut = true)
and export that as DXF. This lets the question open, how you would deal with
the groove's angle. E.g. you could export a slightly shifted version and
calc the angle during post processing.
translate([0,0,-z_groove-.1])
projection(cut = true)
I am just guessing because your verbal description has a lot of spaced to do
interpretations. Better show some code or STL ...
--
Sent from:
http://forum.openscad.org/_______________________________________________
OpenSCAD mailing list
Discuss@.openscad
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org--
Sent from:
http://forum.openscad.org/_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org