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 | None, parent_component: ansys.geometry.core.designer.component.Component, name: str = None, is_deleted: bool = False, is_reversed: bool = False, is_rigid: bool = False, material: ansys.geometry.core.materials.material.Material = None, cross_section: BeamCrossSectionInfo = None, properties: BeamProperties = None, shape: ansys.geometry.core.shapes.curves.trimmed_curve.TrimmedCurve = None, beam_type: BeamType = None)#
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.