mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
doc fixes, deprecation message fix
This commit is contained in:
parent
282f389fcd
commit
3b5b15c531
2 changed files with 4 additions and 4 deletions
|
@ -728,7 +728,7 @@ module linear_sweep(
|
||||||
tex_counts=tex_counts,
|
tex_counts=tex_counts,
|
||||||
tex_inset=tex_inset,
|
tex_inset=tex_inset,
|
||||||
tex_rot=tex_rot,
|
tex_rot=tex_rot,
|
||||||
tex_scale=tex_depth,
|
tex_depth=tex_depth,
|
||||||
tex_samples=tex_samples,
|
tex_samples=tex_samples,
|
||||||
slices=slices,
|
slices=slices,
|
||||||
maxseg=maxseg,
|
maxseg=maxseg,
|
||||||
|
@ -2869,7 +2869,7 @@ function associate_vertices(polygons, split, curpoly=0) =
|
||||||
// and {{rotate_sweep()}}. Note that you specify it when you **use** the texture, not when you create it. This differs from height
|
// and {{rotate_sweep()}}. Note that you specify it when you **use** the texture, not when you create it. This differs from height
|
||||||
// fields, where the analogous parameter is the `n=` parameter of the {{texture()}} function. When `tex_samples` is too small, only the
|
// fields, where the analogous parameter is the `n=` parameter of the {{texture()}} function. When `tex_samples` is too small, only the
|
||||||
// points given in the VNF will follow the surface, resulting in a blocky look and geometrical artifacts.
|
// points given in the VNF will follow the surface, resulting in a blocky look and geometrical artifacts.
|
||||||
// Figure(3D,NoAxes): On the left the `tex_samples` value is small and the texture is blocky. On the right, the default value of 8 allows a reasonable fit to the cylinder.
|
// Figure(3D,Med,NoAxes): On the left the `tex_samples` value is small and the texture is blocky. On the right, the default value of 8 allows a reasonable fit to the cylinder.
|
||||||
// xdistribute(spacing=5){
|
// xdistribute(spacing=5){
|
||||||
// cyl(d=10/PI, h=5, chamfer=0,
|
// cyl(d=10/PI, h=5, chamfer=0,
|
||||||
// texture=texture("bricks_vnf"), tex_samples=1, tex_reps=[6,3], tex_depth=.2);
|
// texture=texture("bricks_vnf"), tex_samples=1, tex_reps=[6,3], tex_depth=.2);
|
||||||
|
|
4
vnf.scad
4
vnf.scad
|
@ -1431,7 +1431,7 @@ function vnf_bend(vnf,r,d,axis="Z") =
|
||||||
// Arguments:
|
// Arguments:
|
||||||
// region = region or path listing points to compute the hull from.
|
// region = region or path listing points to compute the hull from.
|
||||||
// fast = (module only) if input is a point list (not a VNF) use a fasterer cheat that may handle more points, but could emit warnings. Ignored if input is a VNF. Default: false.
|
// fast = (module only) if input is a point list (not a VNF) use a fasterer cheat that may handle more points, but could emit warnings. Ignored if input is a VNF. Default: false.
|
||||||
// Example(3D,Big,NoAxes): Input is a VNF
|
// Example(3D,Big,NoAxes,VPR=[55,0,25],VPT=[9.47096,-4.50217,8.45727],VPD=60.2654): Input is a VNF
|
||||||
// ellipse = xscale(2, p=circle($fn=48, r=3));
|
// ellipse = xscale(2, p=circle($fn=48, r=3));
|
||||||
// pentagon = subdivide_path(pentagon(r=1), 20);
|
// pentagon = subdivide_path(pentagon(r=1), 20);
|
||||||
// vnf=path_sweep(pentagon, path3d(ellipse),
|
// vnf=path_sweep(pentagon, path3d(ellipse),
|
||||||
|
@ -1440,7 +1440,7 @@ function vnf_bend(vnf,r,d,axis="Z") =
|
||||||
// vnf_polyhedron(vnf);
|
// vnf_polyhedron(vnf);
|
||||||
// move([10,10])
|
// move([10,10])
|
||||||
// vnf_polyhedron(vnfhull);
|
// vnf_polyhedron(vnfhull);
|
||||||
// Example(2D, NoAxes): Input is a point list
|
// Example(3D,Med,NoAxes,VPR=[70.4,0,110.4],VPT=[5.97456,1.26459,18.0317],VPD=126): Input is a point list
|
||||||
// h=helix(l=40, turns=1, r=8);
|
// h=helix(l=40, turns=1, r=8);
|
||||||
// color("red")move_copies(h)
|
// color("red")move_copies(h)
|
||||||
// sphere(r=0.5,$fn=12);
|
// sphere(r=0.5,$fn=12);
|
||||||
|
|
Loading…
Reference in a new issue