mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 12:30:33 +02:00
add doc
This commit is contained in:
BIN
docs/images/lib3x-polyline_join-1.JPG
Normal file
BIN
docs/images/lib3x-polyline_join-1.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
docs/images/lib3x-polyline_join-2.JPG
Normal file
BIN
docs/images/lib3x-polyline_join-2.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
40
docs/lib3x-polyline_join.md
Normal file
40
docs/lib3x-polyline_join.md
Normal file
@@ -0,0 +1,40 @@
|
||||
# polyline_join
|
||||
|
||||
Place a join on each point. Hull each pair of joins and union all convex hulls.
|
||||
|
||||
## Parameters
|
||||
|
||||
- `points` : a list of points.
|
||||
|
||||
## Examples
|
||||
|
||||
use <polyline_join.scad>;
|
||||
|
||||
polyline_join([[0, 0], [10, 0], [10, 10], [0, 10]])
|
||||
square(1);
|
||||
|
||||
polyline_join([[15, 0], [25, 0], [25, 10], [15, 10]]) {
|
||||
square(1);
|
||||
circle(1);
|
||||
square(1);
|
||||
circle(2);
|
||||
}
|
||||
|
||||

|
||||
|
||||
use <polyline_join.scad>;
|
||||
|
||||
polyline_join([[0, 0, 0], [10, 0, 0], [10, 0, 10], [10, 10, 10]])
|
||||
cube(1);
|
||||
|
||||
polyline_join([[15, 0, 0], [25, 0, 0], [25, 0, 10], [25, 10, 10]]) {
|
||||
cube(1);
|
||||
sphere(1);
|
||||
cube(1);
|
||||
sphere(2);
|
||||
}
|
||||
|
||||

|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user