mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Cleaning up textures docs.
This commit is contained in:
parent
b80360a189
commit
0e34b6799b
2 changed files with 13 additions and 4 deletions
|
@ -1155,10 +1155,15 @@ function cylinder(h, r1, r2, center, l, r, d, d1, d2, anchor, spin=0, orient=UP)
|
||||||
// cyl(l|h, r|d, rounding2=, ...);
|
// cyl(l|h, r|d, rounding2=, ...);
|
||||||
// cyl(l|h, r|d, rounding1=, rounding2=, ...);
|
// cyl(l|h, r|d, rounding1=, rounding2=, ...);
|
||||||
//
|
//
|
||||||
|
// Usage: Textured Cylinders
|
||||||
|
// cyl(l|h, r|d, texture=, [tex_size=]|[tex_counts=], [tex_scale=], [tex_rot=], [tex_samples=], [tex_style=], [tex_taper=], [tex_inset=], ...);
|
||||||
|
// cyl(l|h, r1=, r2=, texture=, [tex_size=]|[tex_counts=], [tex_scale=], [tex_rot=], [tex_samples=], [tex_style=], [tex_taper=], [tex_inset=], ...);
|
||||||
|
// cyl(l|h, d1=, d2=, texture=, [tex_size=]|[tex_counts=], [tex_scale=], [tex_rot=], [tex_samples=], [tex_style=], [tex_taper=], [tex_inset=], ...);
|
||||||
|
//
|
||||||
// Topics: Cylinders, Textures, Rounding, Chamfers
|
// Topics: Cylinders, Textures, Rounding, Chamfers
|
||||||
//
|
//
|
||||||
// Description:
|
// Description:
|
||||||
// Creates cylinders in various anchorings and orientations, with optional rounding and chamfers.
|
// Creates cylinders in various anchorings and orientations, with optional rounding, chamfers, or textures.
|
||||||
// You can use `h` and `l` interchangably, and all variants allow specifying size by either `r`|`d`,
|
// You can use `h` and `l` interchangably, and all variants allow specifying size by either `r`|`d`,
|
||||||
// or `r1`|`d1` and `r2`|`d2`. Note: the chamfers and rounding cannot be cumulatively longer than
|
// or `r1`|`d1` and `r2`|`d2`. Note: the chamfers and rounding cannot be cumulatively longer than
|
||||||
// the cylinder's length.
|
// the cylinder's length.
|
||||||
|
|
10
skin.scad
10
skin.scad
|
@ -508,6 +508,8 @@ function skin(profiles, slices, refine=1, method="direct", sampling, caps, close
|
||||||
// Function&Module: linear_sweep()
|
// Function&Module: linear_sweep()
|
||||||
// Usage:
|
// Usage:
|
||||||
// linear_sweep(region, [height], [center=], [slices=], [twist=], [scale=], [style=], [convexity=]) [ATTACHMENTS];
|
// linear_sweep(region, [height], [center=], [slices=], [twist=], [scale=], [style=], [convexity=]) [ATTACHMENTS];
|
||||||
|
// Usage: With Texturing
|
||||||
|
// linear_sweep(region, [height], [center=], texture=, [tex_size=]|[tex_counts=], [tex_scale=], [style=], [tex_samples=], ...) [ATTACHMENTS];
|
||||||
// Description:
|
// Description:
|
||||||
// If called as a module, creates a polyhedron that is the linear extrusion of the given 2D region or polygon.
|
// If called as a module, creates a polyhedron that is the linear extrusion of the given 2D region or polygon.
|
||||||
// If called as a function, returns a VNF that can be used to generate a polyhedron of the linear extrusion
|
// If called as a function, returns a VNF that can be used to generate a polyhedron of the linear extrusion
|
||||||
|
@ -767,12 +769,14 @@ function linear_sweep(
|
||||||
|
|
||||||
// Function&Module: rotate_sweep()
|
// Function&Module: rotate_sweep()
|
||||||
// Usage: As Function
|
// Usage: As Function
|
||||||
// vnf = rotate_sweep(shape, angle, ...);
|
// vnf = rotate_sweep(shape, [angle], ...);
|
||||||
// Usage: As Module
|
// Usage: As Module
|
||||||
// rotate_sweep(shape, angle, ...) [ATTACHMENTS];
|
// rotate_sweep(shape, [angle], ...) [ATTACHMENTS];
|
||||||
|
// Usage: With Texturing
|
||||||
|
// rotate_sweep(shape, texture=, [tex_size=]|[tex_counts=], [tex_scale=], [tex_samples=], [tex_rot=], [tex_inset=], ...) [ATTACHMENTS];
|
||||||
// Topics: Extrusion, Sweep, Revolution
|
// Topics: Extrusion, Sweep, Revolution
|
||||||
// Description:
|
// Description:
|
||||||
// Takes a polygon or [region](regions.scad) and sweeps it in a rotation around the Z axis.
|
// Takes a polygon or [region](regions.scad) and sweeps it in a rotation around the Z axis, with optional texturing.
|
||||||
// When called as a function, returns a [VNF](vnf.scad).
|
// When called as a function, returns a [VNF](vnf.scad).
|
||||||
// When called as a module, creates the sweep as geometry.
|
// When called as a module, creates the sweep as geometry.
|
||||||
// Arguments:
|
// Arguments:
|
||||||
|
|
Loading…
Reference in a new issue