SectionCut
Last update: 16.07.2026class compolyx.SectionCut(graph, obj, parent=None, color_table=None)
Section cut class showing the layup in the cutting plane.
Attributes
| Name | Description |
|---|---|
SectionCut.active |
Whether a section cut is computed on update or not. |
SectionCut.changed |
Status boolean. |
SectionCut.color_table |
|
SectionCut.core_scale_factor |
Get/set the core scale factor. |
SectionCut.display_data |
Section cut plots. |
SectionCut.elastic_measures |
Cross-sectional Measures of Elasticity. |
SectionCut.element_labels |
Label of elements within ex1 array. |
SectionCut.element_nodes |
Coincidence list. |
SectionCut.element_types |
Element types within ex1 array. |
SectionCut.enabled |
Indicates whether the object is enabled. |
SectionCut.extrusion_type |
Section Cut Types can be: wire_frame,surface_normal,surface_sweep_based. |
SectionCut.geometric_measures |
Cross-sectional Measures of Geometry. |
SectionCut.id |
ID of the object. |
SectionCut.in_plane_reference_direction1 |
Reference direction for cross-sectional measures. |
SectionCut.in_plane_reference_direction2 |
Reference direction for cross-sectional measures. |
SectionCut.intersection_type |
Intersection Types can be: normal_to_surface,in_plane. |
SectionCut.is_dict_item |
Indicates whether the object is an item in a dictionary. |
SectionCut.is_list_item |
Indicates whether the object is an item of a list. |
SectionCut.link_path |
Root path of the current node in the tree for links to this object. |
SectionCut.locked |
Section cut was imported and cannot be changed. |
SectionCut.mass_measures |
Cross-sectional Measures of Mass. |
SectionCut.name |
Name of the object. |
SectionCut.node_labels |
Label of nodes within nx1 array. |
SectionCut.nodes |
Returns nodes of this mesh as nx3 array. |
SectionCut.normal |
Get/set the plane normal. |
SectionCut.number_of_interpolation_points |
User-defined number of interpolation points. |
SectionCut.origin |
Get/set the plane origin. |
SectionCut.parent |
Parent object in the tree. |
SectionCut.root_path |
Root path of the current node in the tree. |
SectionCut.scale_factor |
Scale factor used for visualization of section cuts. |
SectionCut.scope_element_sets |
Element sets to which the Section Cut is scoped. |
SectionCut.scope_entire_model |
Whether the section cut is scoped to the entire model, or only selected element sets. |
SectionCut.search_radius |
User-defined search radius. |
SectionCut.section_cut_type |
Section Cut Types can be: modeling_ply_wise,production_ply_wise,analysis_ply_wise. |
SectionCut.status |
Status of the object. |
SectionCut.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes. |
SectionCut.surface_display_data |
Section cut surface plot. |
SectionCut.surface_mesh |
Section cut line surface mesh. |
SectionCut.tolerance |
Tolerance used to generate the surface section cut. |
SectionCut.uid |
UID of the object. |
SectionCut.use_default_lut_settings |
Boolean whether to use the default settings of the LookUp Table. |
SectionCut.use_default_tolerance |
Whether to use the default feature tolerance. |
SectionCut.vertex |
Raises an error if the object has been removed from the graph. |
SectionCut.vtk_element_data |
Returns mesh coincidence data in the format needed by VTK. |
SectionCut.wireframe_display_data |
Section cut wireframe plot. |
SectionCut.wireframe_mesh |
Section cut line wireframe mesh. |
Methods
| Name | Description |
|---|---|
SectionCut.compute_equivalent_beam_properties([...]) |
Compute the equivalent beam properties of the section cut. |
SectionCut.export_surface_section_cut(path) |
Exports the surface section cut to BECAS or ANSYS Mechanical APDL. |
SectionCut.find_parent(type) |
Steps up the tree and returns the first parent with given type. |
SectionCut.from_global_to_local(global_coords) |
Transforms global coordinates into the local coordinate system of the section cut. |
SectionCut.from_local_to_global(local_coords) |
Transforms local coordinates into the global coordinate system. |
SectionCut.get_sectional_stiffness_behavior(...) |
Returns the sectional stiffness values for a given matrix. |
SectionCut.get_sectype_command_from_sectional_properties(...) |
Convert the equivalent stiffness and mass matrix into an Ansys SECTYPE command. |
SectionCut.get_short_description() |
|
SectionCut.get_transformed_sectional_properties_matrix(...) |
Transform the global mass or stiffness matrix to the given point and rotate it by the given angle, for a specific format. |
SectionCut.obj_exists() |
Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
SectionCut.serialize() |
|
SectionCut.serialize_name_and_id() |
Serializes the name and ID. |
SectionCut.update() |
|
SectionCut.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node. |