mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-03 03:33:08 +02:00
update to 3.0
This commit is contained in:
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
@@ -8,6 +8,7 @@ Given a path, the `bezier_smooth` function uses bazier curves to smooth all corn
|
||||
- `round_d` : Used to create the other two control points at the corner.
|
||||
- `t_step` : The distance between two points of the Bézier path at the corner. It defaults to 0.1.
|
||||
- `closed` : It defaults to `false`. If you have a closed path, set it to `true`.
|
||||
- `angle_threshold` : Default to 0. If the angle between two line segments is bigger than `angle_threshold`, smooth those two segments. **Since:** 3.0
|
||||
|
||||
## Examples
|
||||
|
||||
@@ -34,7 +35,7 @@ Given a path, the `bezier_smooth` function uses bazier curves to smooth all corn
|
||||
smoothed_path_pts, width
|
||||
);
|
||||
|
||||

|
||||

|
||||
|
||||
use <bezier_smooth.scad>;
|
||||
|
||||
@@ -52,4 +53,4 @@ Given a path, the `bezier_smooth` function uses bazier curves to smooth all corn
|
||||
|
||||
translate([50, 0, 0]) polygon(smoothed_path_pts);
|
||||
|
||||

|
||||

|
Reference in New Issue
Block a user