discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Belfry OpenScad Library

R
RevarBat
Fri, Sep 1, 2017 5:24 AM

I've just finished putting my Belfry OpenScad Library (BOSL) up on github at:
https://github.com/revarbat/BOSL
Documentation at https://github.com/revarbat/BOSL/wiki

It's a re-organization of the GDMUtils.scad tools that I wrote and used
extensively in my
Snappy-RepRap printable printer project. (
https://github.com/revarbat/snappy-reprap )

It has a lot of features, but here's some of the prominent ones:

Readability shortcuts like:
up(5) {...}
zrot(30) {...}
yscale(1.5) {...}
xflip() {...}

Duplicators like:
xflip_copy() {...}
zrot_copies([30, 45, 60]) {...}
zring(n=6, r=20) {...}
xspread(n=4, spacing=10) {...}

Mutators like:
skew_xy(xa=15) {...}
left_half() {...}
chain_hull() {...}

Masks like:
fillet_mask_x();
chamfer_mask_y();
fillet_cylinder_mask();

Shapes like:
upcube();    // Cube centered on top of XY plane (bottom of cube at Z=0)
chamfcube();
rrect();    // Cube rounded just on vertical edges.
rcube();    // Cube rounded on all edges.
chamf_cyl();
rcylinder();
pyramid();
prism();
right_triangle();
trapezoid();  // USEFUL!
teardrop();
onion();  // 3D teardrop
tube();
torus();

Complex shapes like:
thinning_wall()    // A wall that thins in the middle to reduce filament
usage.
thinning_triangle()    // A right triangle that thins in the middle to
reduce filament usage.
sparse_strut()    // An open cross-braced wall optimized for bridged
support-less 3D printing.
corrugated_wall()    // Wall optimized to (hopefully) reduce shrink warp
stress.

And more:
Metric screws and nuts
Involute gears and racks.
LMxUU Linear bearing clamps
Trapezoidal (ACME) threaded rods and nuts
Snap-together joiners
V-Groove Sliders and Rails
NEMA steppers and mounts
3D paths and Beziers.
Wiring bundle rendering
Quaternion math

  • Revar

--
Sent from: http://forum.openscad.org/

I've just finished putting my Belfry OpenScad Library (BOSL) up on github at: https://github.com/revarbat/BOSL Documentation at https://github.com/revarbat/BOSL/wiki It's a re-organization of the GDMUtils.scad tools that I wrote and used extensively in my Snappy-RepRap printable printer project. ( https://github.com/revarbat/snappy-reprap ) It has a lot of features, but here's some of the prominent ones: Readability shortcuts like: up(5) {...} zrot(30) {...} yscale(1.5) {...} xflip() {...} Duplicators like: xflip_copy() {...} zrot_copies([30, 45, 60]) {...} zring(n=6, r=20) {...} xspread(n=4, spacing=10) {...} Mutators like: skew_xy(xa=15) {...} left_half() {...} chain_hull() {...} Masks like: fillet_mask_x(); chamfer_mask_y(); fillet_cylinder_mask(); Shapes like: upcube(); // Cube centered on top of XY plane (bottom of cube at Z=0) chamfcube(); rrect(); // Cube rounded just on vertical edges. rcube(); // Cube rounded on all edges. chamf_cyl(); rcylinder(); pyramid(); prism(); right_triangle(); trapezoid(); // USEFUL! teardrop(); onion(); // 3D teardrop tube(); torus(); Complex shapes like: thinning_wall() // A wall that thins in the middle to reduce filament usage. thinning_triangle() // A right triangle that thins in the middle to reduce filament usage. sparse_strut() // An open cross-braced wall optimized for bridged support-less 3D printing. corrugated_wall() // Wall optimized to (hopefully) reduce shrink warp stress. And more: Metric screws and nuts Involute gears and racks. LMxUU Linear bearing clamps Trapezoidal (ACME) threaded rods and nuts Snap-together joiners V-Groove Sliders and Rails NEMA steppers and mounts 3D paths and Beziers. Wiring bundle rendering Quaternion math - Revar -- Sent from: http://forum.openscad.org/