Tessalate feature api/ surface body support

Tessalate feature api/ surface body support

vytska4301
Contributor Contributor
204 Views
2 Replies
Message 1 of 3

Tessalate feature api/ surface body support

vytska4301
Contributor
Contributor

Trying to tessalate surface bodies with the tessalate feature gives an error, while the tessalate command succesfully tessalates the same surface body, which makes me think that the funtionality is there, but there is an exception that prevents using it through api.
Here is the error i get:
File "C:\.../Api/Python/packages\adsk\fusion.py", line 69867, in createInput

return _fusion.TessellateFeatures_createInput(self, bodies)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^

RuntimeError: 3 : Only solid bodies are supported.


zozeorswaf
0 Likes
205 Views
2 Replies
Replies (2)
Message 2 of 3

Radwan-Almsora
Enthusiast
Enthusiast

In the Autodesk Fusion API, the TessellateFeatures.createInput() method explicitly requires solid bodies and does not natively accept surface bodies. Because the interactive GUI command supports surface bodies, this discrepancy is a known API limitation.

 

To resolve your issue, you can enter here. 

 

BRepCoEdge.body Property

 

How to convert a surface body to a solid body in Autodesk Fusion

 

Cannot tessellate solid or surface body to create mesh body" when using Tessellate command in Fusion...

 

Convert a solid body to a mesh body

Message 3 of 3

Radwan-Almsora
Enthusiast
Enthusiast

Did you find this post helpful? If it gave you one or more solutions,

don't forget to click the Accept Solution button and leave a < like !

 

 

@Radwan-Almsora - this post has been edited due to Community Rules & Etiquette violation.  

 

0 Likes