feat: integrate SimpleCADAPI 2.0.2 CAD workflows
This commit is contained in:
@@ -3,7 +3,18 @@
|
||||
## API Definition
|
||||
|
||||
```python
|
||||
def revolve_rsolid(profile: Union[Wire, Face], axis: Tuple[float, float, float] = (0, 0, 1), angle: ScalarLike = 360, origin: Tuple[float, float, float] = (0, 0, 0)) -> Solid
|
||||
def revolve_rsolid(
|
||||
profile: Union[Wire, Face],
|
||||
axis: Tuple[float, float, float] = (0, 0, 1),
|
||||
angle: ScalarLike = 360,
|
||||
origin: Tuple[float, float, float] = (0, 0, 0),
|
||||
*,
|
||||
tag_prefix: Optional[str] = None,
|
||||
result_tag: Optional[str] = None,
|
||||
start_face_tag: Optional[str] = None,
|
||||
end_face_tag: Optional[str] = None,
|
||||
side_faces_tag: Optional[str] = None,
|
||||
) -> Solid
|
||||
```
|
||||
|
||||
*Source: operations.py*
|
||||
@@ -14,4 +25,12 @@ def revolve_rsolid(profile: Union[Wire, Face], axis: Tuple[float, float, float]
|
||||
|
||||
## Description
|
||||
|
||||
Create a solid by revolving a profile around an axis.
|
||||
Create a solid by revolving a profile around an axis. Kernel history assigns
|
||||
`revolution.start`, `revolution.end`, and `revolution.side` output roles.
|
||||
|
||||
Start and end roles require exactly one proven face; side tags apply to every
|
||||
proven side face. A full 360-degree revolve normally has no separate start or end
|
||||
face, so requesting either cap tag raises a capability error rather than guessing.
|
||||
The semantic role tag arguments attach tags to the proven cap or side Faces.
|
||||
`result_tag` tags the resulting Solid. These assignments are replayable
|
||||
semantic nodes.
|
||||
|
||||
Reference in New Issue
Block a user