1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 12:30:33 +02:00

update doc

This commit is contained in:
Justin Lin
2021-06-27 20:29:05 +08:00
parent 9490f960d6
commit ded1b38580

View File

@@ -15,8 +15,8 @@ Given a set of control points and spline functions, the `sf_splines` function re
If you want to make a bezier surface:
use <bezier_curve.scad>;
use <function_grapher.scad>;
use <surface/sf_splines.scad>;
use <surface/sf_thicken.scad>;
ctrl_pts = [
[[0, 0, 20], [60, 0, -35], [90, 0, 60], [200, 0, 5]],
@@ -30,7 +30,7 @@ If you want to make a bezier surface:
bezier = function(points) bezier_curve(t_step, points);
function_grapher(sf_splines(ctrl_pts, bezier), thickness);
sf_thicken(sf_splines(ctrl_pts, bezier), thickness);
![sf_splines](images/lib3x-sf_splines-1.JPG)
@@ -41,7 +41,7 @@ The following figure shows controll points and bazier curves around the surface.
If you want to make a bspline surface:
use <bspline_curve.scad>;
use <function_grapher.scad>;
use <surface/sf_thicken.scad>;
use <surface/sf_splines.scad>;
ctrl_pts = [
@@ -57,6 +57,6 @@ If you want to make a bspline surface:
bspline = function(points) bspline_curve(t_step, degrees, points);
function_grapher(sf_splines(ctrl_pts, bspline), thickness);
sf_thicken(sf_splines(ctrl_pts, bspline), thickness);
![sf_splines](images/lib3x-sf_splines-3.JPG)