Slicer Discord
Triangulation library for OpenSCAD – 3D-Druckmodell von Thingiverse Thingiverse

Triangulation library for OpenSCAD

von arpruss
14 Downloads
6 Likes
0 Makes
Zum Modell
This is a triangulation library for OpenSCAD. It will triangulate either a 2D or a 3D polygon (without holes). The 3D polygon should be at least approximately all on one plane, but minor deviations are OK.

Call:
```
use ;
...
triangles = triangulate(points,indices);
```
where `points` is a list of points and `indices` are indices into the list of points (if not specified, the default is `[0,1,...,len(points-1)]`. The triangles returned are a list of lists of indices into the `points`. Optionally, you can add `holes=[hole1,hole2,...]` where each hole is a list of indices. The holes must not touch the main polygon or each other.

If you want to see the triangulation, do
```
showMesh(points,triangles);
```

Currently, degeneracies (e.g., self-intersection) are not handled.

You can also refine a mesh recursively until all the edges are of a specified maximum length.
```
faces = triangulate(points,indices);
pointsAndFaces = refineMesh(points=points,triangles=faces,maxE
Quelle
Thingiverse
Was du zum Drucken brauchst: Anfänger Niedrige Konfidenz
Einteilig
Supports 1/3
Zusammenbau 0/3
Einstellungen 1/3
Druckbett 0/3
Nachbearbeitung 0/3
Drucker
FDM / FFF
Dateiformat
STL
Material
PLA
Software
Cura, PrusaSlicer o. Ä.
Gleicher Designer, mehr Plattformen

arpruss veröffentlicht auch auf

5 zusätzliche Modelle auf 1 weiteren Plattformen

Verifiziert durch übereinstimmende Modelltitel über Plattformen hinweg.
Noch keine Bewertungen
Noch keine Kommentare – sei der Erste!

Ähnliche Modelle

6 Vorschläge
Feed Blog Slicer Kostenrechner Bildersuche Einreichen Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Zur Sammlung hinzufügen