mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-14 06:24:07 +02:00
Removed usage of upcube()
This commit is contained in:
@@ -40,7 +40,7 @@ A lot of the features of this library are to allow shorter, easier-to-read, inte
|
||||
|
||||
[`BOSL2/shapes.scad`](https://github.com/revarbat/BOSL2/wiki/shapes.scad) Examples | Raw OpenSCAD Equivalent
|
||||
---------------------------------- | -------------------------------
|
||||
`upcube([10,20,30]);` | `translate([0,0,15]) cube([10,20,30], center=true);`
|
||||
`cube([10,20,30], anchor=BOTTOM);` | `translate([0,0,15]) cube([10,20,30], center=true);`
|
||||
`cuboid([20,20,30], fillet=5, edges=EDGES_Z_ALL);` | `minkowski() {cube([10,10,20], center=true); sphere(r=5, $fn=32);}`
|
||||
`prismoid([30,40],[20,30],h=10);` | `hull() {translate([0,0,0.005]) cube([30,40,0.01], center=true); translate([0,0,9.995]) cube([20,30,0.01],center=true);}`
|
||||
`xcyl(l=20,d=4);` | `rotate([0,90,0]) cylinder(h=20, d=4, center=true);`
|
||||
|
Reference in New Issue
Block a user