mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-05 14:27:45 +02:00
update doc
This commit is contained in:
@@ -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:
|
If you want to make a bezier surface:
|
||||||
|
|
||||||
use <bezier_curve.scad>;
|
use <bezier_curve.scad>;
|
||||||
use <function_grapher.scad>;
|
|
||||||
use <surface/sf_splines.scad>;
|
use <surface/sf_splines.scad>;
|
||||||
|
use <surface/sf_thicken.scad>;
|
||||||
|
|
||||||
ctrl_pts = [
|
ctrl_pts = [
|
||||||
[[0, 0, 20], [60, 0, -35], [90, 0, 60], [200, 0, 5]],
|
[[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);
|
bezier = function(points) bezier_curve(t_step, points);
|
||||||
|
|
||||||
function_grapher(sf_splines(ctrl_pts, bezier), thickness);
|
sf_thicken(sf_splines(ctrl_pts, bezier), thickness);
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ The following figure shows controll points and bazier curves around the surface.
|
|||||||
If you want to make a bspline surface:
|
If you want to make a bspline surface:
|
||||||
|
|
||||||
use <bspline_curve.scad>;
|
use <bspline_curve.scad>;
|
||||||
use <function_grapher.scad>;
|
use <surface/sf_thicken.scad>;
|
||||||
use <surface/sf_splines.scad>;
|
use <surface/sf_splines.scad>;
|
||||||
|
|
||||||
ctrl_pts = [
|
ctrl_pts = [
|
||||||
@@ -57,6 +57,6 @@ If you want to make a bspline surface:
|
|||||||
|
|
||||||
bspline = function(points) bspline_curve(t_step, degrees, points);
|
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);
|
||||||
|
|
||||||

|

|
Reference in New Issue
Block a user