[OpenSCAD] Creating DXF file with round shapes
doug at moens.org
Wed Jun 29 08:56:20 EDT 2016
OpenSCAD represents 2D shapes as polygons. That's just the way it works. So
circles are represented by regular polygons.
If you write
projection() cylinder(h=12, r=80, $fn=100);
then you have direct control over the number of line segments used to
approximate the circle (in this case, 100). You can pick a $fn value that's
high enough so that the circle looks good in laser cutter output.
More information here:
On 29 June 2016 at 07:49, Eric Buijs <ebuijs at mac.com> wrote:
> I use OpenSCAD to export dxf files that I need for laser cutting. When I
> create circles a dxf file with multiple line segments per circle is
> generated by OpenSCAD. This causes problems on the laser cutter that
> "perceives" this a multiple independent lines.
> As an example: projection() cylinder(h=12, r=80); generates 30 line
> Is there a way around this within OpenSCAD or is it just the way that
> OpenSCAD generates dxf files?
> I use OpenSCAD version 2015.03-3 on OSX (10.10).
> View this message in context:
> Sent from the OpenSCAD mailing list archive at Nabble.com.
> OpenSCAD mailing list
> Discuss at lists.openscad.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Discuss