feat: integrate SimpleCADAPI 2.0.2 CAD workflows
This commit is contained in:
@@ -3,7 +3,22 @@
|
||||
## API Definition
|
||||
|
||||
```python
|
||||
def make_cone_rsolid(bottom_radius: ScalarLike, height: ScalarLike, top_radius: ScalarLike = 0.0, bottom_face_center: Tuple[float, float, float] = (0, 0, 0), axis: Tuple[float, float, float] = (0, 0, 1)) -> Solid
|
||||
def make_cone_rsolid(
|
||||
bottom_radius: ScalarLike,
|
||||
height: ScalarLike,
|
||||
top_radius: ScalarLike = 0.0,
|
||||
bottom_face_center: Tuple[float, float, float] = (0, 0, 0),
|
||||
axis: Tuple[float, float, float] = (0, 0, 1),
|
||||
*,
|
||||
tag_prefix: Optional[str] = None,
|
||||
result_tag: Optional[str] = None,
|
||||
start_face_tag: Optional[str] = None,
|
||||
end_face_tag: Optional[str] = None,
|
||||
side_face_tag: Optional[str] = None,
|
||||
start_edge_tag: Optional[str] = None,
|
||||
end_edge_tag: Optional[str] = None,
|
||||
seam_edge_tag: Optional[str] = None,
|
||||
) -> Solid
|
||||
```
|
||||
|
||||
*Source: operations.py*
|
||||
@@ -14,4 +29,12 @@ def make_cone_rsolid(bottom_radius: ScalarLike, height: ScalarLike, top_radius:
|
||||
|
||||
## Description
|
||||
|
||||
Create a cone or truncated cone solid.
|
||||
Create a native cone or frustum with direct kernel-backed `cone.start`,
|
||||
`cone.end`, and `cone.side` Face roles and `cone.start_boundary`,
|
||||
`cone.end_boundary`, and `cone.seam` Edge roles.
|
||||
|
||||
A pointed cone (`top_radius=0`) has no `cone.end` Face, so requesting that role
|
||||
fails. Its `cone.end_boundary` is the kernel's degenerate apex Edge. A frustum
|
||||
has all six roles. `tag_prefix="adapter"` creates corresponding
|
||||
`adapter.face.*` and `adapter.edge.*` topology-identity tags; use the role tag
|
||||
arguments for role assignments.
|
||||
|
||||
Reference in New Issue
Block a user