Skip to main content
Version: 2026R2

SectionCut

class compolyx.SectionCut(graph, obj, parent=None, color_table=None)

Section cut class showing the layup in the cutting plane.

Attributes

NameDescription
SectionCut.activeWhether a section cut is computed on update or not
SectionCut.changedStatus boolean
SectionCut.color_table
SectionCut.core_scale_factorGet/set the core scale factor
SectionCut.display_dataSection cut plots
SectionCut.elastic_measuresCross-sectional Measures of Elasticity
SectionCut.element_labelsLabel of elements within ex1 array
SectionCut.element_nodesCoincidence list
SectionCut.element_typesElement types within ex1 array
SectionCut.enabledWhether this object is currently enabled or not
SectionCut.extrusion_typeSection Cut. Available types: wire_frame, surface_normal, surface_sweep_based
SectionCut.geometric_measuresCross-sectional Measures of Geometry
SectionCut.idID of object
SectionCut.in_plane_reference_direction1Reference direction for cross-sectional measures
SectionCut.in_plane_reference_direction2Reference direction for cross-sectional measures
SectionCut.intersection_typeIntersection Types can be: normal_to_surface,in_plane
SectionCut.is_dict_itemSpecifies whether the object is an item of a dict
SectionCut.is_list_itemSpecifies whether the object is an item of a list
SectionCut.link_pathRoot path of the current node in the tree for links to this object
SectionCut.lockedSection cut was imported and cannot be changed
SectionCut.mass_measuresCross-sectional Measures of Mass
SectionCut.nameName of object
SectionCut.node_labelsLabel of nodes within nx1 array
SectionCut.nodesReturns nodes of this mesh as nx3 array
SectionCut.normalGet/set the plane normal
SectionCut.number_of_interpolation_pointsUser-defined number of interpolation points.
SectionCut.originGet/set the plane origin
SectionCut.parentParent object in tree
SectionCut.root_pathRoot path of the current node in the tree
SectionCut.scale_factorScale factor used for visualization of section cuts
SectionCut.scope_element_setsElement Sets to which the Section Cut is scoped
SectionCut.scope_entire_modelWhether the section cut is scoped to the entire model, or only selected element sets
SectionCut.search_radiusUser-defined search radius
SectionCut.section_cut_typeSection Cut. Available options: modeling_ply_wise, production_ply_wise, analysis_ply_wise
SectionCut.statusStatus of the object
SectionCut.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
SectionCut.surface_display_dataSection cut surface plot
SectionCut.surface_meshSection cut line surface mesh
SectionCut.toleranceTolerance used to generate the surface section cut
SectionCut.uidUID of object
SectionCut.use_default_lut_settingsBoolean whether to use the dault settings of the LookUp Table
SectionCut.use_default_toleranceWhether to use the default feature tolerance
SectionCut.vertexThis will throw an error if the object has been removed from the graph
SectionCut.vtk_element_dataReturns mesh coincidence data in the format needed by VTK
SectionCut.wireframe_display_dataSection cut wireframe plot
SectionCut.wireframe_meshSection cut line wireframe mesh

Methods

NameDescription
SectionCut.compute_equivalent_beam_properties([...])Compute the equivalent beam properties of the section cut
SectionCut.export_surface_section_cut(path)Exports the suface section cut to BECAS or ANSYS Mechanical APDL
SectionCut.find_parent(type)Function 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 (i.e. has not been reset to None by self._delete) AND exists in the graph
SectionCut.serialize()
SectionCut.serialize_name_and_id()Helper function to serialize name and ID
SectionCut.update()
SectionCut.visit(visitor)Walk through the tree and let the visitor perform action on every descendant node