Cowski wrote
Good morning,
I successfully imported a STL file into OpenSCAD using the "import("")"
function.
But what I'm trying to do is get to the code behind this so I may edit it.
I did do some research to try to "generate SCAD code" and "openscad
generate code" (in Google of course) and nothing really was of help.
Are there steps I have to take to allow OpenSCAD to generate the code
beneath the STL file I imported into it?
Thanks!
Hi Cowski,
Your post is still flagged as "This post has NOT been accepted by the
mailing list yet", so nobody gets it unless they look.
You need to subscribe to the mailing list
http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1 ,
and CLICK THE LINK in the registration email (check your spam folder).
So I quoted it here for others to see.
So what did you do to that cat in your avatar?
Re your Q.
Unfortunately you have it reversed.
OpenSCAD is used to program CSG
https://en.wikipedia.org/wiki/Constructive_solid_geometry , which can
then produce a STL.
There may be esoteric methods others may mention, but it is not straight
forward.
You can import() a STL then do CSG to manipulate it, but not access the
geometry as a programmable set of data.
So for example you could:
difference() {
import("something");
cube(10);
}
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/How-to-generate-the-OpenSCAD-code-from-imported-STL-file-tp21691p21693.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Here is an STL to OpenSCAD converter on thingiverse:
https://www.thingiverse.com/thing:62666
On Thursday, 15 June 2017, MichaelAtOz oz.at.michael@gmail.com wrote:
Cowski wrote
Good morning,
I successfully imported a STL file into OpenSCAD using the "import("")"
function.
But what I'm trying to do is get to the code behind this so I may edit
it.
I did do some research to try to "generate SCAD code" and "openscad
generate code" (in Google of course) and nothing really was of help.
Are there steps I have to take to allow OpenSCAD to generate the code
beneath the STL file I imported into it?
Thanks!
Hi Cowski,
Your post is still flagged as "This post has NOT been accepted by the
mailing list yet", so nobody gets it unless they look.
You need to subscribe to the mailing list
http://forum.openscad.org/mailing_list/MailingListOptions.jtp?forum=1 ,
and CLICK THE LINK in the registration email (check your spam folder).
So I quoted it here for others to see.
So what did you do to that cat in your avatar?
Re your Q.
Unfortunately you have it reversed.
OpenSCAD is used to program CSG
https://en.wikipedia.org/wiki/Constructive_solid_geometry , which can
then produce a STL.
There may be esoteric methods others may mention, but it is not straight
forward.
You can import() a STL then do CSG to manipulate it, but not access the
geometry as a programmable set of data.
So for example you could:
difference() {
import("something");
cube(10);
}
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the
Public Domain; to the extent possible under law, I have waived all
copyright and related or neighbouring rights to this work. Obviously
inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/How-
to-generate-the-OpenSCAD-code-from-imported-STL-file-tp21691p21693.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
OpenSCAD mailing list
Discuss@lists.openscad.org javascript:;
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org