trouble with rotating a DXF

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

trouble with rotating a DXF

rduarte
I'm trying to import a DXF file and rotate it. I'd expect it to look like a
curvilinear, vase-like form but it's not.  It appears that import('file.dxf')
assumes an extrusion height.

ie: import("eps.dxf") already appears with a height of 1.  Adding height=2 to
the import function doesn't change anything.

The problem is obvious in the attached screenshot - it's not rotating a plane,
but an extruded plane. So I end up with a 7-sided form instead of a continuously
curved "vase".

What am I missing?

Thanks for any help,
Rob



rotate_dxf.png (110K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: trouble with rotating a DXF

Whosawhatsis
Try adding $fn = 30 to your rotate_extrude. You can increase the number to better approximate a smooth curve, but OpenSCAD only deals in objects made of flat faces, so it will never be perfectly round.

On Saturday, March 23, 2013 at 6:47 PM, Rob Duarte wrote:

I'm trying to import a DXF file and rotate it. I'd expect it to look like a
curvilinear, vase-like form but it's not. It appears that import('file.dxf')
assumes an extrusion height.

ie: import("eps.dxf") already appears with a height of 1. Adding height=2 to
the import function doesn't change anything.

The problem is obvious in the attached screenshot - it's not rotating a plane,
but an extruded plane. So I end up with a 7-sided form instead of a continuously
curved "vase".

What am I missing?

Thanks for any help,
Rob

Attachments:
- rotate_dxf.png

Reply | Threaded
Open this post in threaded view
|

Re: trouble with rotating a DXF

Robert H. Morrison
In reply to this post by rduarte

Use $fn=100 with the rotate_extrude.

Regards,
Bob Morrison
Reply | Threaded
Open this post in threaded view
|

Re: trouble with rotating a DXF

rduarte
Arg! of course - thanks everyone

On Mar 24, 2013, at 5:17 AM, "Robert H. Morrison" <[hidden email]> wrote:


Use $fn=100 with the rotate_extrude.

Regards,
Bob Morrison
_______________________________________________
OpenSCAD mailing list
[hidden email]
http://rocklinux.net/mailman/listinfo/openscad
http://openscad.org - https://flattr.com/thing/121566