discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: importing STL?

JW
Joe Weinpert
Tue, Jul 4, 2023 5:09 PM

Nice.  I tested a few things.  Works very well.  I'm guessing there is a
limit on size or the number of vertices.  Also, 15-decimal point coords is
rather overkill.  I wonder if there is a way to knock the calcs down to,
say, 4 or 5 decimal places.

Joe Weinpert
skidrowacademy.com

On Sun, Jul 2, 2023 at 7:13 AM Roger Whiteley via Discuss <
discuss@lists.openscad.org> wrote:

---------- Forwarded message ----------
From: Roger Whiteley roger.whiteley@me.com
To: discuss@lists.openscad.org
Cc:
Bcc:
Date: Sun, 2 Jul 2023 12:13:30 +0100
Subject: [OpenSCAD] Re: importing STL?
As nophead says, a lot of STL's on  Thingiverse and other places are
defective, and not just in their geometry.

If there's an STL I can't be bothered to recreate with OpenSCAD, I use
an online converter to create an object which downloads an oject list of
points and can then be properly rendered when you hit F6, this means you
can create the object and modify it just like you would any other
OpenSCAD object.

Here's the source, https://github.com/raviriley/STL-to-OpenSCAD-Converter

And here's the online site.
https://raviriley.github.io/STL-to-OpenSCAD-Converter/

The results are very long lists of point coordinates - which are best
<include> as a separate file, it gives my rapidly ageing laptop a
headache and there's no point whatsoever trying to edit the points.

N.B. I did find a way of self-hosting the entire application on a
webserver inside my network..

HTH.

Roger

---------- Forwarded message ----------
From: Roger Whiteley via Discuss discuss@lists.openscad.org
To: discuss@lists.openscad.org
Cc: Roger Whiteley roger.whiteley@me.com
Bcc:
Date: Sun, 2 Jul 2023 12:13:30 +0100
Subject: [OpenSCAD] Re: importing STL?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Nice. I tested a few things. Works very well. I'm guessing there is a limit on size or the number of vertices. Also, 15-decimal point coords is rather overkill. I wonder if there is a way to knock the calcs down to, say, 4 or 5 decimal places. Joe Weinpert skidrowacademy.com On Sun, Jul 2, 2023 at 7:13 AM Roger Whiteley via Discuss < discuss@lists.openscad.org> wrote: > > > > ---------- Forwarded message ---------- > From: Roger Whiteley <roger.whiteley@me.com> > To: discuss@lists.openscad.org > Cc: > Bcc: > Date: Sun, 2 Jul 2023 12:13:30 +0100 > Subject: [OpenSCAD] Re: importing STL? > As nophead says, a lot of STL's on Thingiverse and other places are > defective, and not just in their geometry. > > If there's an STL I can't be bothered to recreate with OpenSCAD, I use > an online converter to create an object which downloads an oject list of > points and can then be properly rendered when you hit F6, this means you > can create the object and modify it just like you would any other > OpenSCAD object. > > Here's the source, https://github.com/raviriley/STL-to-OpenSCAD-Converter > > And here's the online site. > https://raviriley.github.io/STL-to-OpenSCAD-Converter/ > > The results are very long lists of point coordinates - which are best > <include> as a separate file, it gives my rapidly ageing laptop a > headache and there's no point whatsoever trying to edit the points. > > N.B. I did find a way of self-hosting the entire application on a > webserver inside my network.. > > HTH. > > Roger > > > > > > > ---------- Forwarded message ---------- > From: Roger Whiteley via Discuss <discuss@lists.openscad.org> > To: discuss@lists.openscad.org > Cc: Roger Whiteley <roger.whiteley@me.com> > Bcc: > Date: Sun, 2 Jul 2023 12:13:30 +0100 > Subject: [OpenSCAD] Re: importing STL? > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >