cad_feature
Create new 3D geometry by sweeping or lofting profiles, rounding edges with fillets, beveling with chamfers, and duplicating entities via linear, circular, or mirror patterns.
Instructions
Sweep, loft, fillet, chamfer or pattern geometry.
聚合特征操作。按 ``action`` 派发:sweep / loft / fillet / chamfer /
pattern_linear / pattern_circular / pattern_mirror。
- ``sweep`` / ``loft``: create new solids from a profile (sweep along a
``path``) or between ``profile_ids`` (loft). OCCT-backed when the
``occ`` extra is installed, with analytic fallbacks otherwise.
- ``fillet`` / ``chamfer``: round or bevel edges — exact on the OCCT
kernel, otherwise report ``requires_occ``.
- ``pattern_linear`` / ``pattern_circular`` / ``pattern_mirror``: copy an
entity into an array (rigid transforms, available on every kernel).
When not to use: ``cad_feature`` derives new geometry from existing
entities. For editing a single object's parameters use ``cad_object``
(update/transform); for boolean combination use ``cad_object``
(action=boolean).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature | Yes | Feature action to perform, discriminated by `action`: sweep, loft, fillet, chamfer, pattern_linear, pattern_circular or pattern_mirror. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of created instances | |
| action | Yes | Feature action executed | |
| status | Yes | Operation status | |
| message | No | Status description | |
| object_id | No | Result object id | |
| object_ids | No | Result object ids |