Beam
#
- class ansys.geometry.core.designer.beam.Beam(id: str, start: ansys.geometry.core.math.point.Point3D, end: ansys.geometry.core.math.point.Point3D, profile: BeamProfile, parent_component: ansys.geometry.core.designer.component.Component)#
Represents a simplified solid body with an assigned 2D cross-section.
This body synchronizes to a design within a supporting Geometry service instance.
- Parameters:
- id
str
Server-defined ID for the body.
- name
str
User-defined label for the body.
- start
Point3D
Start of the beam line segment.
- end
Point3D
End of the beam line segment.
- profile
BeamProfile
Beam profile to use to create the beam.
- parent_component
Component
Parent component to nest the new beam under within the design assembly.
- id
Overview#
Represent the beam as a string. |
Import detail#
from ansys.geometry.core.designer.beam import Beam
Property detail#
- property Beam.start: ansys.geometry.core.math.point.Point3D#
Start of the beam line segment.
- property Beam.end: ansys.geometry.core.math.point.Point3D#
End of the beam line segment.
- property Beam.profile: BeamProfile#
Beam profile of the beam line segment.
- property Beam.parent_component: ansys.geometry.core.designer.component.Component#
Component node that the beam is under.