1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/docs/lib-box_extrude.md

28 lines
806 B
Markdown
Raw Normal View History

2017-03-26 16:51:41 +08:00
# box_extrude
2017-03-30 14:22:48 +08:00
Creates a box (container) from a 2D object.
2017-03-26 16:51:41 +08:00
## Parameters
- `height` : The box height.
2017-04-26 13:48:43 +08:00
- `shell_thickness` : The thickness between the exterior and interior.
2017-04-26 13:50:23 +08:00
- `offset_mode` : `"delta"` (default) or `"r"`. See [offset](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#offset) for details.
2017-04-26 13:48:43 +08:00
- `chamfer` : Default `false`. See [offset](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Transformations#offset) for details.
2017-03-26 16:51:41 +08:00
## Examples
2017-03-30 14:22:48 +08:00
include <box_extrude.scad>;
2017-03-26 16:51:41 +08:00
box_extrude(height = 30, shell_thickness = 2)
circle(r = 30);
![box_extrude](images/lib-box_extrude-1.JPG)
2017-03-30 14:22:48 +08:00
include <box_extrude.scad>;
2017-03-26 16:54:06 +08:00
box_extrude(height = 30, shell_thickness = 2)
text("XD", size = 40, font = "Cooper Black");
2017-03-26 16:51:41 +08:00
![box_extrude](images/lib-box_extrude-2.JPG)