Slicer Discord
Round corners for Openscad - Tutorial – 3D-Druckmodell von Thingiverse Thingiverse

Round corners for Openscad - Tutorial

190 Downloads
189 Likes
1 Makes
Zum Modell
I've been thinking on OpenScad libraries and tutorials of late, and in the process discovering more of what OpenScad can and can not do. Sometimes there are gems that I had not seen before, and I have a 'smack my forehead' aha moment.

This thing is a little bit of a tutorial on how to do rounded corners on things using the 'hull()' builtin module.

I derived from this other thing because although there is already a 'boxes.scad' that comes with the standard OpenScad, it shows that there's more than one way to skin a box.

The 'hull()' method basically fills out a convex hull based on the points that are layed out in 2D. In the case of a rectangle, you can essentially just place circles at the corners, and use the hull() with a linear_extrude(), and you've got your rounded rectangle thing.

module roundedRect(size, radius)
{
x = size[0];
y = size[1];
z = size[2];

linear_extrude(height=z)
hull()
{
// place 4 circles in the corners, with
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. Ä.
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