feat: integrate SimpleCADAPI 2.0.2 CAD workflows
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
## API Definition
|
||||
|
||||
```python
|
||||
def cut_rsolid(*solids: Union[Solid, Sequence[Solid]], skip_non_intersecting: bool = True) -> Solid
|
||||
def cut_rsolid(
|
||||
*solids: Union[Solid, Sequence[Solid]],
|
||||
skip_non_intersecting: bool = True,
|
||||
tracking_policy: TrackingPolicy | str = TrackingPolicy.FULL,
|
||||
) -> Solid
|
||||
```
|
||||
|
||||
*Source: operations.py*
|
||||
@@ -29,6 +33,10 @@ sequences, and returns a single `Solid`.
|
||||
|
||||
- **Description**: When True, tools with no meaningful intersection are ignored for interactive convenience. Graph replay records this flag and should use False for strict diagnostic workflows.
|
||||
|
||||
### tracking_policy
|
||||
|
||||
- **Description**: `TrackingPolicy.FULL` computes topology history and lineage. `TrackingPolicy.GRAPH` preserves the canonical cut node, parameters, inputs, result topology references, and replay while omitting `TopoDelta` and history-derived topology lineage. Intersection validation and `skip_non_intersecting` behavior are unchanged.
|
||||
|
||||
## Returns
|
||||
|
||||
Solid: The cut result solid.
|
||||
|
||||
Reference in New Issue
Block a user