I gave up importing STL's into OpenSCAD because I always wanted to edit
them, and F5 always lost them on Preview... never occurred to me that
there might be a bug in the rendering.
So I convert the STL to an OpenSCAD point list with this:
STL to OpenSCAD file converter,
https://raviriley.github.io/STL-to-OpenSCAD-Converter/
It works for me. I also figured out a way of hosting it on my own mac
mini debian server :-).
If you try that, download the resulting scad file and save it.
Then create a new scad file, import the saved file with use [not
include] and call object1();
The list of points is very, very long and it gives OpenSCAD's editor a
headache so 'use'ing the file avoids that.
Then you can difference it or anything else.
Alternatively you'll could to resort to Meshlab to fix - this is the
process I have used [not very often], following this
https://formlabs.com/blog/best-stl-file-repair-software-tools/
https://formlabs.com/blog/best-stl-file-repair-software-tools/
IN MESHLAB
Load the STL,
Enable Display of Boundary Edges, Boundary Faces, No-Manif Verts,
No-Manif Edges, Texture Border.
Then follow the guide in the link above, but this is the report..
Apply Filter Merge Close Vertices
Apply Filter Repair non Manifold Edges
Apply Filter Repair non Manifold Vertices by splitting.
Tried filter Simplification: Quadric Edge Collapse Decimation - failed -
the input mesh isn't watertight…
Apply filter Merge Close Vertices.
Apply filter Close Holes.. ….. …. result!.
HTH,
Roger
On 20/02/2024 12:52, discuss-request@lists.openscad.org wrote:
Send Discuss mailing list submissions to
discuss@lists.openscad.org
To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
discuss-request@lists.openscad.org
You can reach the person managing the list at
discuss-owner@lists.openscad.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Discuss digest..."
Today's Topics:
1. Imported STL disappears at rendering (jpm2nice-tech@yahoo.fr)
2. Re: Imported STL disappears at rendering (Rogier Wolff)
3. Re: Imported STL disappears at rendering (Rogier Wolff)
4. Re: Imported STL disappears at rendering (Chun Kit LAM)
5. Re: Imported STL disappears at rendering (Guenther Sohler)
6. Re: Imported STL disappears at rendering (Rogier Wolff)
7. Re: Imported STL disappears at rendering (Chun Kit LAM)
Discuss mailing list --discuss@lists.openscad.org
To unsubscribe send an email todiscuss-leave@lists.openscad.org
Hi,
FYI: Apparently CGAL, the "oldfashioned" way of doing the rendering
in openscad has some limitations or bugs.
I you use the latest nightly, and enable "manifold", it will use a
different "rendering-engine" which is A) much faster, and B) works
just fine with the STL I had problems with.
I tried compiling the latest sources, but kept running into problems.
When I downloaded the prebuilt binary, enabled manifold
(edit->preferences->features->manifold) (*), suddenly renders were
lots faster and my STLs simply worked.
Roger.
(*) It took me a while. I couldn't find it because I wasn't running
recent enough openscad. And I took some "howto" literally which said
to use settings->features, which even when I WAS running the right
version I STILL couldn't find.
On Wed, Feb 21, 2024 at 10:41:36AM +0000, Roger Whiteley via Discuss wrote:
I gave up importing STL's into OpenSCAD because I always wanted to edit
them, and F5 always lost them on Preview... never occurred to me that
there might be a bug in the rendering.
So I convert the STL to an OpenSCAD point list with this:
STL to OpenSCAD file converter,
https://raviriley.github.io/STL-to-OpenSCAD-Converter/
It works for me. I also figured out a way of hosting it on my own mac mini
debian server :-).
If you try that, download the resulting scad file and save it.
Then create a new scad file, import the saved file with use [not include]
and call object1();
The list of points is very, very long and it gives OpenSCAD's editor a
headache so 'use'ing the file avoids that.
Then you can difference it or anything else.
Alternatively you'll could to resort to Meshlab to fix - this is the process
I have used [not very often], following this
https://formlabs.com/blog/best-stl-file-repair-software-tools/
https://formlabs.com/blog/best-stl-file-repair-software-tools/
IN MESHLAB
Load the STL,
Enable Display of Boundary Edges, Boundary Faces, No-Manif Verts, No-Manif
Edges, Texture Border.
Then follow the guide in the link above, but this is the report..
Apply Filter Merge Close Vertices
Apply Filter Repair non Manifold Edges
Apply Filter Repair non Manifold Vertices by splitting.
Tried filter Simplification: Quadric Edge Collapse Decimation - failed - the
input mesh isn't watertight…
Apply filter Merge Close Vertices.
Apply filter Close Holes.. ….. …. result!.
HTH,
Roger
On 20/02/2024 12:52, discuss-request@lists.openscad.org wrote:
Send Discuss mailing list submissions to
discuss@lists.openscad.org
To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
discuss-request@lists.openscad.org
You can reach the person managing the list at
discuss-owner@lists.openscad.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Discuss digest..."
Today's Topics:
1. Imported STL disappears at rendering (jpm2nice-tech@yahoo.fr)
2. Re: Imported STL disappears at rendering (Rogier Wolff)
3. Re: Imported STL disappears at rendering (Rogier Wolff)
4. Re: Imported STL disappears at rendering (Chun Kit LAM)
5. Re: Imported STL disappears at rendering (Guenther Sohler)
6. Re: Imported STL disappears at rendering (Rogier Wolff)
7. Re: Imported STL disappears at rendering (Chun Kit LAM)
Discuss mailing list --discuss@lists.openscad.org
To unsubscribe send an email todiscuss-leave@lists.openscad.org
--
** R.E.Wolff@BitWizard.nl ** https://www.BitWizard.nl/ ** +31-15-2049110 **
** Delftechpark 11 2628 XJ Delft, The Netherlands. KVK: 27239233 **
f equals m times a. When your f is steady, and your m is going down
your a is going up. -- Chris Hadfield about flying up the space shuttle.
Thank you, Roger. That STL-to-OpenSCAD-converter does the job!