mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
add includes
This commit is contained in:
parent
1b40aa41fb
commit
ee07b4f87a
1 changed files with 3 additions and 0 deletions
|
@ -394,6 +394,7 @@ children to the parent in different locations, each child needs a different anch
|
||||||
be achieved using the `$align` variable:
|
be achieved using the `$align` variable:
|
||||||
|
|
||||||
```openscad-3D
|
```openscad-3D
|
||||||
|
include<BOSL2/std.scad>
|
||||||
cuboid([50,40,15])
|
cuboid([50,40,15])
|
||||||
position([RIGHT+TOP,LEFT+TOP])
|
position([RIGHT+TOP,LEFT+TOP])
|
||||||
color("lightblue")prismoid([10,5],[7,4],height=4, anchor=$align);
|
color("lightblue")prismoid([10,5],[7,4],height=4, anchor=$align);
|
||||||
|
@ -493,6 +494,7 @@ can be eliminated using the `$align` variable which takes into account the spin
|
||||||
that the `orient()` module applies.
|
that the `orient()` module applies.
|
||||||
|
|
||||||
```openscad-3D
|
```openscad-3D
|
||||||
|
include<BOSL2/std.scad>
|
||||||
cuboid([50,40,15])
|
cuboid([50,40,15])
|
||||||
position(RIGHT+TOP)
|
position(RIGHT+TOP)
|
||||||
orient(RIGHT)
|
orient(RIGHT)
|
||||||
|
@ -504,6 +506,7 @@ with the appropriate anchor taking the spin into account. You can use this meth
|
||||||
for children placed on the top by using orient with a TOP direction, but nonzero spin.
|
for children placed on the top by using orient with a TOP direction, but nonzero spin.
|
||||||
|
|
||||||
```openscad-3D
|
```openscad-3D
|
||||||
|
include<BOSL2/std.scad>
|
||||||
cuboid([50,40,15])
|
cuboid([50,40,15])
|
||||||
position(RIGHT+TOP)
|
position(RIGHT+TOP)
|
||||||
orient(TOP, spin=90)
|
orient(TOP, spin=90)
|
||||||
|
|
Loading…
Reference in a new issue