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:
@@ -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)
|
||||
|
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);
|
||||
|
||||

|
||||

|
@@ -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
|
||||
*
|
||||
**/
|
||||
|
||||
|
Reference in New Issue
Block a user