Version: 9.12.0
Home
structelem - Structural elements package

Modules

 orientation
 
 parts
 

Data Structures

class  StructuralElementManager
 This class manages the structural elements in the study. More...
 
class  StructuralElement
 This class represents a structural element, i.e. More...
 

Detailed Description

This package is used to create and visualize structural elements. It contains three modules:

A structural element is a set of geometric shapes (beams, grids, etc.) that are built semi-automatically along a set of geometric primitives (edges for instance). They are visualized with the same color as their base primitives in the geom viewer.
Structural elements are generally created by the StructuralElementManager class, from a list of commands describing the element to create.

Example:

commandList = [('VisuPoutreGenerale', {'Group_Maille': 'Edge_1'}),
('VisuBarreCercle', {'R': 30, 'Group_Maille': 'Edge_1', 'EP': 15}),
]
structElemManager = StructuralElementManager()
elem = structElemManager.createElement(commandList)
elem.display()
salome.sg.updateObjBrowser()