Unite function with Surface Body #1718
-
Dear Developers, I'm trying to generate an eccentric conical shape. the only way I found is using a combination of create_surface and create_body_from_loft_profile function to obtain the 3 surfaces body that will form my solid. When assembling these 3 surfaces in SpaceClaim using the Combine button, it works well, ending up with the desired solid body. However when using the unite function from the API I got the following error: Is this normal behavior? Is there a different way to "stitch" multiple surface body into a solid body? The code:
Thanks in advance. Martin |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Hi @martin-woodplc - thanks for opening this discussion! Let's figure out some extra details from your request:
|
Beta Was this translation helpful? Give feedback.
-
Hi @RobPasMue, Thanks for the quick reply. Here are the info:
|
Beta Was this translation helpful? Give feedback.
-
Hi @skyrungit, @martin-woodplc - I think this discussion probably fell through the cracks on my side. Sorry for the late response! Starting on 24R2, it would be easy to follow this approach: https://geometry.docs.pyansys.com/version/stable/examples/03_modeling/revolving.html If you draw a trapezoidal sketch representing a vertical cut of your truncated cone, and revolve the sketch along the central axis of your cone, you should be able to get what you are looking for! =) Let me know how it goes! |
Beta Was this translation helpful? Give feedback.
@skyrungit Try the method that was just added in #2282 - combine_merge - for uniting surface bodies