mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-01-17 22:28:16 +01:00
changed default value
This commit is contained in:
parent
96861fb862
commit
81b0b6dd6b
@ -12,7 +12,9 @@ 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.
|
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 three 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:
|
||||||
|
|
||||||
![polysections](images/lib-polysections-3.JPG)
|
![polysections](images/lib-polysections-3.JPG)
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
include <__private__/__is_vector.scad>;
|
include <__private__/__is_vector.scad>;
|
||||||
include <__private__/__to3d.scad>;
|
include <__private__/__to3d.scad>;
|
||||||
|
|
||||||
module path_extrude(shape_pts, path_pts, triangles = "RADIAL", twist = 0, scale = 1.0, closed = false) {
|
module path_extrude(shape_pts, path_pts, triangles = "SOLID", twist = 0, scale = 1.0, closed = false) {
|
||||||
sh_pts = len(shape_pts[0]) == 3 ? shape_pts : [for(p = shape_pts) __to3d(p)];
|
sh_pts = len(shape_pts[0]) == 3 ? shape_pts : [for(p = shape_pts) __to3d(p)];
|
||||||
|
|
||||||
len_path_pts = len(path_pts);
|
len_path_pts = len(path_pts);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user