Creating an circular face

Asked by Felipe

Hello everybody,

I would like to know If is it possible to create a circular face instead of rectangular face?

I have found any ways to create a rectangular face as i am showing below.

-> upBox = box( center=(0,260,0), extents=(35,1,35) ,fixed=True,wire=False,material='peso'

-> p1=O.bodies.append(utils.geom.facetBox((0,50,0),(50,25,50),wallMask=8))

-> plan1 = O.bodies.append(geom.facetBox(center=(0,50,0), extents=(50,0.5,50) , orientation=Quaternion((1,0,0),0), wallMask=63, wire=False, material='peso'))

So, is there any way to create a circular face?

Thanks for any comments.

Felipe

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
Last query:
Last reply:
Revision history for this message
Best Jérôme Duriez (jduriez) said :
#1

Hi,

I do not know any circular body shape in YADE, and according to [*], it seems there is indeed none.

However, you may still define a set of adjacent box (or Wall or Facet) that would in the end approximate a circle.

Jerome

Revision history for this message
Jérôme Duriez (jduriez) said :
#2

I forgot the link [*], sorry...
 [*] https://yade-dem.org/doc/yade.wrapper.html#shape

Revision history for this message
Felipe (felipetthadeu) said :
#3

Thanks Jérôme Duriez, that solved my question.