mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-03-14 11:49:45 +01:00
add includes
This commit is contained in:
parent
1b40aa41fb
commit
ee07b4f87a
@ -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…
x
Reference in New Issue
Block a user