Discussion:
[OpenSCAD] Export Wireframe
fractorr
2018-11-08 23:19:17 UTC
Permalink
This might be a silly question but is there a way to export the wireframe as
an STL file?




--
Sent from: http://forum.openscad.org/
nop head
2018-11-08 23:31:55 UTC
Permalink
An STL file only contains triangles so I don't see how that would be
possible unless you mean the wires should be rendered as cylinders.
Post by fractorr
This might be a silly question but is there a way to export the wireframe as
an STL file?
--
Sent from: http://forum.openscad.org/
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Trevor Orr
2018-11-08 23:37:33 UTC
Permalink
Basically what I am wanting do is the when using the wireframe mode in
OpenSCAD I was wanting that as a STL file but sounds like that is not
possible. Guess I will have to come up with something else.
Post by nop head
An STL file only contains triangles so I don't see how that would be
possible unless you mean the wires should be rendered as cylinders.
Post by fractorr
This might be a silly question but is there a way to export the wireframe as
an STL file?
--
Sent from: http://forum.openscad.org/
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
nop head
2018-11-08 23:48:18 UTC
Permalink
You can pull the normal STL file into other programs and tell them to
render it in wireframe mode. I.e. wireframe is a an alternative way of
rendering a mesh. It isn't a file format as the information is exactly the
same, you just draw the edges of the triangles.
Post by Trevor Orr
Basically what I am wanting do is the when using the wireframe mode in
OpenSCAD I was wanting that as a STL file but sounds like that is not
possible. Guess I will have to come up with something else.
Post by nop head
An STL file only contains triangles so I don't see how that would be
possible unless you mean the wires should be rendered as cylinders.
Post by fractorr
This might be a silly question but is there a way to export the wireframe as
an STL file?
--
Sent from: http://forum.openscad.org/
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Trevor Orr
2018-11-08 23:59:57 UTC
Permalink
That's okay, will come up with something else. I was hoping openscad could
do it since it has the option to batch mode from command line, I have like
1,000 or so files I was looking at doing this with. No worries, did not
think I would be able to but I figured it was worth asking but also a long
shot.
Post by nop head
You can pull the normal STL file into other programs and tell them to
render it in wireframe mode. I.e. wireframe is a an alternative way of
rendering a mesh. It isn't a file format as the information is exactly the
same, you just draw the edges of the triangles.
Post by Trevor Orr
Basically what I am wanting do is the when using the wireframe mode in
OpenSCAD I was wanting that as a STL file but sounds like that is not
possible. Guess I will have to come up with something else.
Post by nop head
An STL file only contains triangles so I don't see how that would be
possible unless you mean the wires should be rendered as cylinders.
Post by fractorr
This might be a silly question but is there a way to export the wireframe as
an STL file?
--
Sent from: http://forum.openscad.org/
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Michael Frey
2018-11-09 03:30:32 UTC
Permalink
Post by Trevor Orr
That's okay, will come up with something else. I was hoping openscad
could do it since it has the option to batch mode from command line, I
have like 1,000 or so files I was looking at doing this with.  No
worries, did not think I would be able to but I figured it was worth
asking but also a long shot.
I personally would go with blenders wireframe modifier.

Blender can read STL Files. Blender can be scripted.


I mean, the result will be similar to what fred_dot_u has described
using meshmixer.

It will depend on what software you prefer.
Trevor Orr
2018-11-09 05:02:19 UTC
Permalink
Thanks, I have not really used Blender much, maybe I will give it a try and
see what I can come up with.
Post by Michael Frey
Post by Trevor Orr
That's okay, will come up with something else. I was hoping openscad
could do it since it has the option to batch mode from command line, I
have like 1,000 or so files I was looking at doing this with. No
worries, did not think I would be able to but I figured it was worth
asking but also a long shot.
I personally would go with blenders wireframe modifier.
Blender can read STL Files. Blender can be scripted.
I mean, the result will be similar to what fred_dot_u has described
using meshmixer.
It will depend on what software you prefer.
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
nop head
2018-11-09 08:04:55 UTC
Permalink
If you just want png renders with wireframe switched on from the command
line then I think that has just been added to the latest snapshot, or will
be soon. All the view options have been added.
Post by Trevor Orr
Thanks, I have not really used Blender much, maybe I will give it a try
and see what I can come up with.
Post by Michael Frey
Post by Trevor Orr
That's okay, will come up with something else. I was hoping openscad
could do it since it has the option to batch mode from command line, I
have like 1,000 or so files I was looking at doing this with. No
worries, did not think I would be able to but I figured it was worth
asking but also a long shot.
I personally would go with blenders wireframe modifier.
Blender can read STL Files. Blender can be scripted.
I mean, the result will be similar to what fred_dot_u has described
using meshmixer.
It will depend on what software you prefer.
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
_______________________________________________
OpenSCAD mailing list
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
fred_dot_u
2018-11-09 00:33:38 UTC
Permalink
I think the likelihood of this not being a suitable answer is high, but it
might provide some useful information anyway:



Meshmixer is free and Angus (Maker's Muse) is pretty good at explaining
stuff. He converts the Stanford Bunny into a low-poly model, then converts
the edges to rods/tubes. The result is a wireframe looking model that can be
exported as an STL file.



--
Sent from: http://forum.openscad.org/
a***@arnholm.org
2018-11-09 14:14:28 UTC
Permalink
Post by fractorr
This might be a silly question but is there a way to export the wireframe as
an STL file?
An STL file is just a "triangle soup", with no connection between the
triangles. If you draw every triangle as a wireframe, then each edge
will be drawn twice (i.e. "2-manifold").

If you export as OFF, then the triangles are connected and it is
possible to identify each edge and get a proper wireframe
representation.

Carsten Arnholm

Loading...