Message Boards Message Boards

is it possible to export this to .stl format?

POSTED BY: peter weijnitz
2 Replies

Thank you for the answer,

Well, I also wonder why the software uses .stl, G-code is usually the norm for guiding numeric control (NC) machines (except 3D printers perhaps). When I import a proper solid stl file in the laser guiding software i sort of slices it up into contours along the z-axis. The contours will be the cutting lines I assume. My thought with the described wolfram code was to generate the cutting lines exactly where I want them and export to .stl, it was a long shot that did not work with the default export settings. I doubt that proper setting exist, but I am often wrong. I will try your Idea to make a solid out of the volume that is to be removed and see how that works.

Peter

POSTED BY: peter weijnitz
Posted 9 years ago

Hi Peter,

I am not familiar with the the Newport laser. I wonder why it wants an STL. Does it want to cut away the material defined by the STL? Or is the STL describing the material that remains?

Generally, STL files define a solid as a surface which is approximated by triangles. So I would expect to need to define the lines as volumes.If the volumes. Perhaps like this:

In[1]:= SetDirectory[NotebookDirectory[]]

Out[1]= "C:\\Users\\David\\Documents\\Mathematica Files"

In[2]:= line = Cuboid[{{0, 0, 0}, {1, .1, .1}}] // Graphics3D;

In[3]:= Export["line.stl", line]

Out[3]= "line.stl"

In[4]:= Import["line.stl"]

enter image description here

POSTED BY: David Keith
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract