Welcome! Log In Create A New Profile

Advanced

can anybody help convert a dxf file to openscad or stl?

Posted by appjaws1 
can anybody help convert a dxf file to openscad or stl?
July 29, 2015 08:15AM
I have searched the web and keep coming up with more problems, having tried various converters without success, I thought I would ask the experts on this forum for help.

What I want to do is to load from the ormerod-master (ormerod1), the y-axis-end-plate.dxf file and modify it in openscad or bring it into openscad as a stl file.
Can anybody help with this please?


appjaws - Core XYUV Duet Ethernet Duex5
firmware 3.1.1 Web Interface 3.1.1
Ormerod 1-converted to laser engraver, Duet wifi
OpenSCAD version 2020.07
slic3r-1.3.0, Simplify3D 4.1.2, Cura-4.4.1
Re: can anybody help convert a dxf file to openscad or stl?
July 29, 2015 08:23AM
openscad should be able to do this for you, create a new openscad file and save it in the same folder as were the dxf file is located, then use the import command in openscad to import it.

the command is

import("[nameofdxf file]");

this should bring it into open scad you will also need to use linear extrude to set the height correctly so it becomes

linear_extrude(height = 5)
import("[name of dxf]]");

you can also use $fn=whatever number to make the circles more rounded I usually use 50

attached is the files from my y axis end plate mod includes the dxf for the ormerod 2 end plate, so you can see what I did
Attachments:
open | download - yidler.zip (21.1 KB)
Re: can anybody help convert a dxf file to openscad or stl?
July 29, 2015 08:24AM
y-axis-end-plate Ormerod 1 in attachment

Regards
Dario


Ormerod 187
Firmware Electronics: Duet 0.6
Firmware Version:1.18.1 (2017-04-07)
Web Interface Version:1.15a
Slic3r 1.2.9a and Simplify3D 4.0.0
[www.dropbox.com]
Attachments:
open | download - yplate90.stl (56.5 KB)
Re: can anybody help convert a dxf file to openscad or stl?
July 29, 2015 08:38AM
Richokarl,
Just tried your suggestion with a DXF file used in printing text in SCAD
linear_extrude(height = 5)
import("[letters.dxf]]");

It failed with the following message:
ERROR: Unsupported file format while trying to import file "[letters.dxf]]"
Greg


Ormerod #17
Re: can anybody help convert a dxf file to openscad or stl?
July 29, 2015 08:50AM
@GregL Don't use the square brackets.
@Ormerod187 Thank you for the stl file
@richokarl That worked great, It's so simple, I can't believe that I have been trying other solutions for hours. - Thank you.


appjaws - Core XYUV Duet Ethernet Duex5
firmware 3.1.1 Web Interface 3.1.1
Ormerod 1-converted to laser engraver, Duet wifi
OpenSCAD version 2020.07
slic3r-1.3.0, Simplify3D 4.1.2, Cura-4.4.1
Re: can anybody help convert a dxf file to openscad or stl?
July 29, 2015 08:54AM
@appjaws1 no problem smiling smiley

@GregL as appjaws1 says no square brackets sorry for confusion take a look at the example files ive uploaded in the post if you get stuck.
Sorry, only registered users may post in this forum.

Click here to login