mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-04-13 02:31:58 +02:00
updated doc
This commit is contained in:
parent
e46d504019
commit
8216112d9b
BIN
docs/images/lib-shape_path_extend-2.JPG
Normal file
BIN
docs/images/lib-shape_path_extend-2.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
@ -45,4 +45,34 @@ It depends on the `rotate_p` function. Remember to include "rotate_p.scad" and "
|
||||
)
|
||||
);
|
||||
|
||||

|
||||

|
||||
|
||||
include <rotate_p.scad>;
|
||||
include <bezier_curve.scad>;
|
||||
include <shape_path_extend.scad>;
|
||||
|
||||
include <polysections.scad>;
|
||||
include <path_extrude.scad>;
|
||||
|
||||
|
||||
t_step = 0.1;
|
||||
width = 2;
|
||||
|
||||
p0 = [0, 0];
|
||||
p1 = [40, 60];
|
||||
p2 = [50, 90];
|
||||
p3 = [0, 200];
|
||||
|
||||
path = bezier_curve(t_step,
|
||||
[p0, p1, p2, p3]
|
||||
);
|
||||
|
||||
stroke = [[-5, 2.5], [-2.5, 0], [0, 2.5], [2.5, 0], [5, 2.5]];
|
||||
|
||||
path_extrude(
|
||||
shape_path_extend(stroke, path, scale = 5),
|
||||
path,
|
||||
scale = 0.1
|
||||
);
|
||||
|
||||

|
Loading…
x
Reference in New Issue
Block a user