mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-30 23:09:46 +02:00
@@ -93,7 +93,7 @@ function cube(size=1, center, anchor, spin=0, orient=UP) =
|
||||
// Module: cuboid()
|
||||
// Synopsis: Creates a cube with chamfering and roundovers.
|
||||
// SynTags: Geom
|
||||
// Topics: Shapes (3D), Attachable, VNF Generators
|
||||
// Topics: Shapes (3D), Attachable
|
||||
// See Also: prismoid(), rounded_prism()
|
||||
// Usage: Standard Cubes
|
||||
// cuboid(size, [anchor=], [spin=], [orient=]);
|
||||
@@ -2424,7 +2424,7 @@ module zcyl(
|
||||
// id1 = Inner diameter of bottom of tube.
|
||||
// id2 = Inner diameter of top of tube.
|
||||
// ifn = Set the number of facets on the inside of the tube.
|
||||
// circum = If true, the tube hold will circumscribe the circle of the given size. Otherwise inscribes. Default: `false`
|
||||
// circum = If true, the tube hole will circumscribe the circle of the given size. Otherwise inscribes. Default: `false`
|
||||
// shift = [X,Y] amount to shift the center of the top end with respect to the center of the bottom end.
|
||||
// rounding = The radius of the rounding on the ends of the tube. Default: none.
|
||||
// rounding1 = The radius of the rounding on the bottom end of the tube.
|
||||
@@ -2474,8 +2474,8 @@ module zcyl(
|
||||
// back_half()
|
||||
// tube(ir=10,or=20,h=30, ochamfer1=-5,irounding1=-3, orounding2=6, ichamfer2=2);
|
||||
// Example: Tube with hexagonal hole circumscribing its diameter
|
||||
// tube(od=22, id=9, h=10, $fn=48, ifn=4, circum=true);
|
||||
// half_of(v=[-1,1])color("lightblue") cyl(d=9, h=12);
|
||||
// tube(od=22, id=9, h=10, $fn=48, ifn=6, circum=true);
|
||||
// half_of(v=[-1,1]) color("lightblue") cyl(d=9, h=12);
|
||||
// Example: Round ended hexagonal tube using `rounding_fn` to get sufficient facets on the roundings
|
||||
// tube(or=10, ir=7, h=10, $fn=6, rounding_fn=64, rounding=1.3, teardrop=true);
|
||||
|
||||
|
Reference in New Issue
Block a user