1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-24 21:41:33 +02:00
Files
dotSCAD/docs/lib-box_extrude.md
Justin Lin 832607d468 updated doc
2017-04-26 13:50:23 +08:00

28 lines
806 B
Markdown

# box_extrude
Creates a box (container) from a 2D object.
## Parameters
- `height` : The box height.
- `shell_thickness` : The thickness between the exterior and interior.
- `offset_mode` : `"delta"` (default) or `"r"`. See [offset](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#offset) for details.
- `chamfer` : Default `false`. See [offset](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#offset) for details.
## Examples
include <box_extrude.scad>;
box_extrude(height = 30, shell_thickness = 2)
circle(r = 30);
![box_extrude](images/lib-box_extrude-1.JPG)
include <box_extrude.scad>;
box_extrude(height = 30, shell_thickness = 2)
text("XD", size = 40, font = "Cooper Black");
![box_extrude](images/lib-box_extrude-2.JPG)