The CADΒΆ

The geometry to mesh is defined by a set of independant shapes, these shapes are external referencies to the GEOM module of SALOME. The shapes of this set can be faces and/or solids. In Hexablock module you can import geometrical objects from BREP, IGES, STEP files.

The TUI script to import geometrical objects from a BREP file is:

import os
import GEOM
import SALOMEDS
import hexablock

# Example of import from STEP
# get a path of the STEP file containing the CAD
STEP_PATH = os.path.expandvars("$HEXABLOCK_ROOT_DIR/bin/salome/crank.stp")

The following images depict different CADs for the construction of models:

_images/cad_bielle.PNG

Connecting rod

(see Example: Python script for a connecting rod)

_images/bride.PNG

Bridle

_images/intersec_cyl.PNG

Intersection of cylinders

_images/tuyau_courbe.PNG

Bent (curved) pipe

Previous topic

Introduction to HEXABLOCK

Next topic

Principle: the method by blocks

This Page