mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 04:20:27 +02:00
updated docs
This commit is contained in:
BIN
docs/images/lib-polysections-10.JPG
Normal file
BIN
docs/images/lib-polysections-10.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.1 KiB |
@@ -12,7 +12,7 @@ Looks like extruding along the path? Yes, it can perform the task; however, it's
|
||||
|
||||
You can also view it as a better polyline3d module if you want. If you have only the points of a path, using `polyline3d` or `hull_polyline3d` is a simple solution. If you know the cross-sections along a path, you can use `polysections` to do more.
|
||||
|
||||
When using this module, you should use points to represent each cross-section. You need to provide indexes of triangles, too. This module provides two prepared triangles indexes. One is `"RADIAL"`. For example, if you have a cross-section such as:
|
||||
When using this module, you should use points to represent each cross-section. You need to provide indexes of triangles, too. This module provides three prepared triangles indexes. One is `"RADIAL"`. For example, if you have a cross-section such as:
|
||||
|
||||

|
||||
|
||||
@@ -28,6 +28,10 @@ When using `"HOLLOW"`, the above shape will be cut into triangles such as:
|
||||
|
||||

|
||||
|
||||
When using `"TAPE"`, a tape shape will be cut into triangles such as:
|
||||
|
||||

|
||||
|
||||
You can cut triangles by yourself, for example, the indexes of the above triangles is:
|
||||
|
||||
[
|
||||
@@ -44,7 +48,7 @@ Triangles may be defined in any order.
|
||||
## Parameters
|
||||
|
||||
- `sections` : A list of cross-sections. Each cross-section is represented by a list of points. See the example below.
|
||||
- `triangles` : `"RADIAL"` (default), `"HOLLOW"` or user-defined indexes. See example below.
|
||||
- `triangles` : `"RADIAL"` (default), `"HOLLOW"`, `"TAPE"` or user-defined indexes. See example below.
|
||||
|
||||
## Examples
|
||||
|
||||
|
Reference in New Issue
Block a user