docs: add Skinning/Sweeping and Edge/Face Sets tutorials (#89)#1960
docs: add Skinning/Sweeping and Edge/Face Sets tutorials (#89)#1960junhinhow wants to merge 2 commits intoBelfrySCAD:masterfrom
Conversation
New tutorial covering: - What is skinning (connecting 2D cross-sections) - skin() basic usage with multiple profiles - path_sweep() along 2D and 3D paths with twist/scale - spiral_sweep() for helical shapes - Practical examples: wavy vase, twisted ribbon, pipe along curve This was one of the 6 missing tutorials listed in issue BelfrySCAD#89. Ref: BelfrySCAD#89
New tutorial covering:
- Face direction vectors (TOP, BOT, FRONT, BACK, LEFT, RIGHT)
- Single edge selection via face vector pairs (TOP+FRONT)
- Face-based and corner-based edge selection
- Axis-aligned strings ("X", "Y", "Z", "ALL", "NONE")
- Combining selections with lists
- The except parameter for exclusions
- Usage with rounding, chamfering, and masking modules
- Practical examples and quick reference table
This was one of the 6 missing tutorials listed in issue BelfrySCAD#89.
Ref: BelfrySCAD#89
|
!! ERROR at Skinning.md:80: //////////////////////////////////////////////////////////////////////
// LibFile: Skinning.md Line: 80 Image: Skinning_4.png
//////////////////////////////////////////////////////////////////////
include <BOSL2/std.scad>
skin(
[ move([20,0, 0], circle(r=5,$fn=32)),
move([0,20, 5], circle(r=8,$fn=32)),
move([-20,0,0], circle(r=5,$fn=32)),
move([0,-20,-5], circle(r=8,$fn=32)) ],
closed=true,
slices=20
);
////////////////////////////////////////////////////////////////////// |
|
!! ERROR at Skinning.md:148: //////////////////////////////////////////////////////////////////////
// LibFile: Skinning.md Line: 148 Image: Skinning_9.png
//////////////////////////////////////////////////////////////////////
include <BOSL2/std.scad>
bez = bezpath_curve(
[[0,0,0], [20,30,0], [40,-10,20], [60,0,40]],
n=64
);
path_sweep(circle(r=3, $fn=16), bez);
////////////////////////////////////////////////////////////////////// |
|
!! ERROR at Skinning.md:192: //////////////////////////////////////////////////////////////////////
// LibFile: Skinning.md Line: 192 Image: Skinning_12.png
//////////////////////////////////////////////////////////////////////
include <BOSL2/std.scad>
profiles = [
for (z=[0:5:60])
let(r = 15 + 5*sin(z*6))
move([0,0,z], circle(r=r, $fn=48))
];
skin(profiles, slices=2);
////////////////////////////////////////////////////////////////////// |
|
The "Transforms is 3D and acts on Z, but points are 2D" problems probably need a |
Summary
skin(),path_sweep(),spiral_sweep()with practical examplesexceptparameter, masking patternsBoth tutorials follow existing BOSL2 tutorial format with progressive examples from simple to complex.
Test plan
Addresses #89
🤖 Generated with Claude Code