Merge pull request #1591 from BelfrySCAD/revarbat_dev

Revarbat dev
This commit is contained in:
Revar Desmera
2025-03-07 22:36:15 -08:00
committed by GitHub

View File

@@ -93,7 +93,7 @@ function cube(size=1, center, anchor, spin=0, orient=UP) =
// Module: cuboid() // Module: cuboid()
// Synopsis: Creates a cube with chamfering and roundovers. // Synopsis: Creates a cube with chamfering and roundovers.
// SynTags: Geom // SynTags: Geom
// Topics: Shapes (3D), Attachable, VNF Generators // Topics: Shapes (3D), Attachable
// See Also: prismoid(), rounded_prism() // See Also: prismoid(), rounded_prism()
// Usage: Standard Cubes // Usage: Standard Cubes
// cuboid(size, [anchor=], [spin=], [orient=]); // cuboid(size, [anchor=], [spin=], [orient=]);
@@ -2424,7 +2424,7 @@ module zcyl(
// id1 = Inner diameter of bottom of tube. // id1 = Inner diameter of bottom of tube.
// id2 = Inner diameter of top of tube. // id2 = Inner diameter of top of tube.
// ifn = Set the number of facets on the inside of the 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. // 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. // 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. // rounding1 = The radius of the rounding on the bottom end of the tube.
@@ -2474,8 +2474,8 @@ module zcyl(
// back_half() // back_half()
// tube(ir=10,or=20,h=30, ochamfer1=-5,irounding1=-3, orounding2=6, ichamfer2=2); // tube(ir=10,or=20,h=30, ochamfer1=-5,irounding1=-3, orounding2=6, ichamfer2=2);
// Example: Tube with hexagonal hole circumscribing its diameter // Example: Tube with hexagonal hole circumscribing its diameter
// tube(od=22, id=9, h=10, $fn=48, ifn=4, circum=true); // 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); // 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 // 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); // tube(or=10, ir=7, h=10, $fn=6, rounding_fn=64, rounding=1.3, teardrop=true);