Skip to content

Instantly share code, notes, and snippets.

@thehans
thehans / offset_extrude.scad
Created September 4, 2021 09:16
Offset Extrude and Fillet Extrude for OpenSCAD
$fs=0.5;
$fa=1;
// General offset_extrude and fillet_extrude.
// These use minkowski which can be incredibly slow and resource intensive, but should theoretically work on any 2d geometry.
// fillet_extrude is also much slower than offset_extrude, due to significantly more facets needed for rounded edges.
// There are some alternative methods which are much faster,
// ***BUT*** they have the limitation of only working for CONVEX children.
// chamfer_extrude (basically like offset_extrude): https://gist.github.com/thehans/072005c68e5fcef3394b8c08e37d1c35