Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
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:

1 commandList = [('VisuPoutreGenerale', {'Group_Maille': 'Edge_1'}),
2  ('VisuBarreCercle', {'R': 30, 'Group_Maille': 'Edge_1', 'EP': 15}),
3  ]
4 
5 structElemManager = StructuralElementManager()
6 elem = structElemManager.createElement(commandList)
7 elem.display()
8 salome.sg.updateObjBrowser(True)