mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-04 13:57:33 +02:00
add doc
This commit is contained in:
@@ -370,7 +370,7 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp
|
|||||||
Signature | Description
|
Signature | Description
|
||||||
--|--
|
--|--
|
||||||
[**select**(i)](https://openhome.cc/eGossip/OpenSCAD/lib3x-select.html) | select module objects.
|
[**select**(i)](https://openhome.cc/eGossip/OpenSCAD/lib3x-select.html) | select module objects.
|
||||||
polyline_join | place a join on each point. Hull each pair of joins and union all convex hulls.
|
[`polyline_join(points)`](https://openhome.cc/eGossip/OpenSCAD/lib3x-polyline_join.html) | place a join on each point. Hull each pair of joins and union all convex hulls.
|
||||||
|
|
||||||
## Polyhedra
|
## Polyhedra
|
||||||
|
|
||||||
|
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