I've been trying to get openscad to extrude my dxf file but curved polylines

I’ve been trying to get openscad to extrude my dxf file but curved polylines don’t get processed properly. Anyone know of any fix/hack to get this to work?

You need to open the DXF in a vector image editor (i.e. inkscape), then convert the curved segments into lines. The process is explained here: http://www.inkscapeforum.com/viewtopic.php?f=5&t=18501#p69898

Openscad is somtimes very tricky!
http://www.makerbot.com/tutorials/openscadextrude

Thanks @Carlos_GS but that results in the same thing. http://imgur.com/WMClbq0
Maybe my dxf should just have more vertices?

FWIW I did have some success importing the dxf in inkscape and then exporting with bigbluesaw dxf plugin, but the scale was totaly wrong (my dxf is roughly 70mm square. the bigbluesaw dxf was about 2mm) not sure why.

Publish your dxf on http://youmagine.com and i try it with Viacad!
https://www.youmagine.com/users/chris-nobody

https://www.youmagine.com/designs/coopers-fermentor-foot

Thanks for the help, very much appreciated!

Does setting $fn to something high help?

@Philip_Stubbs_stuphi no effect…

If you’re just interested in the result, Onshape will get you there. You can import .dxf file and use them for the base of a sketch for extrusion. It’s free and very easy to work with.

… Well, couldn’t resist. Just did it for you:
https://cad.onshape.com/documents/18c94216f4ef40c695ab2dc6/w/18a372a0c7464acaab5bc19e/e/2e3e2605030d435897996cc4

@Michael_Memeteau I will check out onshape, but I’m not after just a simple extrusion unfortunately. I am looking to make a foot extension to raise a fermenter (for brewing beer) by a certain angle. I have the openscad code written already, but the curves are holding me back :frowning:

Sorry David can’t open your file!

Onshape is quite powerful, it’s from the team that developed Solidworks, so I guess it should fit the bill. Let try to modify what I did for you check (if I get what you’re trying to achieve with OpenSCAD file).

Maybe more something like this?
https://photos.google.com/share/AF1QipMwy__XCSnbgcqgBDJbgem94P6wmhlUracct2-OheBJBTjKO32XbVlEkb2rODCsnA?key=c2d6NjN5VUtrVjFBTHh6VTR4Uk1kdHhRc3QtdHJ3

wtf… guess I really need to take a look at onshape.
very close to what i was after…

What’s missing? If you give me the exact geometry of what’s you’re after… Then when the brewing is ready, you own me a beer :slight_smile:

Yep!

Does Big Blue Saw mangle things from inches to mm whether they were in inches or not to begin with? I have always ignored the size and just scaled to what I wanted, but that’s probably wrong.

I have a tutorial here: http://repraprip.blogspot.com/2011/05/inkscape-to-openscad-dxf-tutorial.html In inkscape you use the plug in called flatten beziers to add more lines so it gives an illusion of curves.