Search the documentation
Enter at least 2 characters
Enter at least 2 characters
![]() |
CAE Fidesys 9.0 Documentation |
Defines a body object that mostly parallels CAE Fidesys Body class.
PyObservable
Entity
GeomEntity
Body
| [ float ] | get_mass_props | Get the mass properties of the Body, specifically the center of gravity. |
| int | point_containment | Get whether a point is in, on, or outside the Body. |
| float | volume | Get the volume of the Body. |
| Bool | is_sheet_body | Get whether the Body is a sheet body or not. |
Get the mass properties of the Body, specifically the center of gravity.
props = body.get_mass_props()
A vector (or list) of numerical data corresponding to the center of gravity of the body with indices as follows: 0 - x coordinate 1 - y coordinate 2 - z coordinate
Get whether a point is in, on, or outside the Body.
on_out_in = body.point_containment([0,0,0])
| loc_in |
Whether a point is unknown (-1), outside (0), in (1), or on (2) the Body
Get the volume of the Body.
vol = body.volume()
The volume of the Body
Get whether the Body is a sheet body or not.
is_sheet = body.is_sheet_body()
Whether the Body is a sheet body or not