add_box
Create a 3D box in a JupyterCAD document with custom dimensions, color, position, and rotation. Modifies the design file at the provided path.
Instructions
Add a box to the document.
:param name: The name that will be used for the object in the document. :param length: The length of the box. :param width: The width of the box. :param height: The height of the box. :param color: The color of the box in hex format (e.g., "#FF5733") or RGB float list. :param position: The shape 3D position. :param rotation_axis: The 3D axis used for the rotation. :param rotation_angle: The shape rotation angle, in degrees. :return: The document itself.
Warning: This tool will update the JCAD document at the given jcad_path.
To understand the current state of the document, you MUST first use the 'get_current_cad_design' tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | #808080 | |
| width | No | ||
| height | No | ||
| length | No | ||
| position | No | ||
| jcad_path | Yes | ||
| rotation_axis | No | ||
| rotation_angle | No |