cad
Execute one 3D modeling operation as the unified mutation entry point for creating, editing, deleting, boolean, fillet, and batch steps, with rollback support.
Instructions
Run one CAD modeling operation; the unified mutation entry point.
obj_name is the BASE object, except for loft/sketch/variables/datum_plane/hull (the NEW object); params go in obj_properties. Committed mutations are rollback-able session steps.
Args:
obj_type: Object type for create_object, e.g. "Part::Box".
ops: Operation dicts for batch.
stop_on_error: Stop a batch at the first failure.
description: One-line purpose of the step; the Steps panel's row label.
Reference: operation_help("<operation>").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | No | ||
| doc_name | Yes | ||
| obj_name | No | ||
| obj_type | No | ||
| operation | Yes | ||
| description | No | ||
| stop_on_error | No | ||
| obj_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |