1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 01:04:07 +02:00

update to 3.0

This commit is contained in:
Justin Lin
2021-02-11 14:39:09 +08:00
parent dbf6df4dff
commit 21ec64ba50
5 changed files with 5 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ These examples incubate dotSCAD and dotSCAD refactors these examples. See [examp
### 2D/3D Function
- [bezier_surface](https://openhome.cc/eGossip/OpenSCAD/lib2x-bezier_surface.html)
- [bezier_smooth](https://openhome.cc/eGossip/OpenSCAD/lib2x-bezier_smooth.html)
- [bezier_smooth](https://openhome.cc/eGossip/OpenSCAD/lib3x-bezier_smooth.html)
- [cross_sections](https://openhome.cc/eGossip/OpenSCAD/lib2x-cross_sections.html)
- [in_polyline](https://openhome.cc/eGossip/OpenSCAD/lib2x-in_polyline.html)
- [paths2sections](https://openhome.cc/eGossip/OpenSCAD/lib2x-paths2sections.html)

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -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
);
![bezier_smooth](images/lib2x-bezier_smooth-1.JPG)
![bezier_smooth](images/lib3x-bezier_smooth-1.JPG)
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);
![bezier_smooth](images/lib2x-bezier_smooth-2.JPG)
![bezier_smooth](images/lib3x-bezier_smooth-2.JPG)

View File

@@ -4,7 +4,7 @@
* @copyright Justin Lin, 2017
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-bezier_curve.html
* @see https://openhome.cc/eGossip/OpenSCAD/lib3x-bezier_curve.html
*
**/