Personal tools
You are here: Home User Section SALOME Tutorials OCC Exercise 2

Example of Bracket

Example of bracket

This sample is known to work on the latest SALOME release.
The compatibility with previous versions of SALOME is not guaranteed, though the sample can work on old versions also.

Objective

This exercise illustrates the use of Geometry and SMESH SALOME functionalities for building and meshing the bracket shape. Shape is built using Primitives, Transformations and Boolean operations. Note that for simplicity of example fillets are not applied.

Geometry functionalities used in exercise:
  • Basic – Create Point, Vector, Plane
  • Primitives – Box, Cylinder
  • Build – Compound
  • Transformation – Rotation, Multi-Translation, Multi-Rotation, Mirror
  • Boolean –Cut, Fuse
  • Import step
  • Mesh functionalities used in exercise:
  • 3D algorithm – Netgen1D-2D-3D, Hypothesis: Netgen 3D parameters

Geometry

The sequence of actions is as follows:
  • Launch SALOME.
  • Create a new study.
  • Launch GEOM module.
  • Creation of reference points: (menu New Entity/Basic/Point).
    1st Point Constructor: -62.5; -40; -15
    1st Point Constructor: 62.5; 40; 0
    1st Point Constructor: -52.5; -20; -20
    1st Point Constructor: 52.5; 20; -5
    1st Point Constructor: -6; -6; -15
    1st Point Constructor: 6; 6; 25
    1st Point Constructor: 0 ; 0 ; 0
    1st Point Constructor: 50 ; 30 ; -25
    1st Point Constructor: 0 ; 0 ; 5
    1st Point Constructor: 0 ; 0 ; 40
    1st Point Constructor: 21.213; 21.213; 35
    Validation => Vertex_1, Vertex_2, Vertex_3, Vertex_4, Vertex_5, Vertex_6, Vertex_7, Vertex_8, Vertex_9, Vertex_10, Vertex_11
  • Creation of reference vectors: (menu New Entity/Basic/Vector).
    2nd Vector Constructor: 1 ; 0 ; 0.
    2nd Vector Constructor: 0 ; 1 ; 0
    2nd Vector Constructor: 0 ; 0 ; 1.
    Validation => Vector_1, Vector_2, Vector_3
  • Creation of boxes: (menu New Entity/Primitives/Box).
    1st Box constructor Select Vertex_1, Vertex_2 => Box_1
    1st Box constructor Select Vertex_3, Vertex_4 => Box_2
    1st Box constructor Select Vertex_5, Vertex_6 => Box_3

  • Rotate Box: (menu Operations/Transformation/Rotation – 1st constructor).
    Main Object: Box_3.
    Axis: Vector_3.
    Angle: 45
    Uncheck “Create a copy” check-box
    Validation

  • Creation of cylinders: (menu New Entity/Primitives/Cylinder).
    2nd Cylinder constructor Radius 22, height 50
    Validation => Cylinder_1
    1st Cylinder constructor Select Vertex_9, Vector_3, Radius 15, height 80
    1st Cylinder constructor Select Vertex_10, Vector_3, Radius 37.5, height 10
    1st Cylinder constructor Select Vertex_8, Vector_3, Radius 5, height 40
    1st Cylinder constructor Select Vertex_11, Vector_3, Radius 3.5, height 20
    Validation = Cylinder_2, Cylinder_3, Cylinder_4, Cylinder_5

  • Creation of a multi-translation : (menu Operations/Transformation/Multi-Translation - 2nd constructor).
    Main Object: Cylinder_4.
    Vector U: Vector_1.
    Vector V: Vector_2.
    Step U -100
    Nb. Times U: 2
    Step V -60
    Nb. Times V: 2
    Validation => Multi-Translation_1.

  • Creation of a multi-rotation : (menu Operations/Transformation/ Multi-Rotation – 1st constructor).
    Main Object: Cylinder_5.
    Vector: Vector_3.
    Nb. Times: 4
    Validation => Multi-Rotation_1.

  • Boolean Operation: (menu Operation/Boolean/Fuse)
    Object 1: Cylinder_1
    Object 2: Cylinder_3
    Validation => Fuse_1

  • Boolean Operation: (menu Operation/Boolean/Cut)
    Main Object: Box_1
    Tool Object: Box_2
    Validation => Cut_1
    Main Object: Fuse_1
    Tool Object: Cylinder_2
    Validation => Cut_2
    Main Object: Cut_2
    Tool Object: Multi-Rotation_1
    Validation => Cut_3
    Main Object: Cut_1
    Tool Object: Multi-Translation_1
    Validation => Cut_4

  • Boolean Operation: (menu Operation/Boolean/Fuse)
    Object 1: Cut_3
    Object 2: Cut_4
    Validation => Fuse_2

  • Boolean Operation: (menu Operation/Boolean/Cut)
    Main Object: Fuse_2
    Tool Object: Box_3
    Validation => Cut_5

  • Import a geometry: (menu File/Import).
    Select Files of type *.step
    Download and load file Extrusion.step
    Validation => Extrusion.step_1

  • Create Plane: (menu New Entity/Basic/ Plane)
    1st Plane constructor Point: Vertex_7
    Vector: Vector_1
    Size: 80
    Validation => Plane_1

  • Creation of Mirror image (menu Operations/Transformation/Mirror image)
    3rd Constructor: Mirror by Plane
    Main Object: Extrusion.step_1
    Plane mirror: Plane_1
    Check “Create a copy” check-box.
    Validation => Mirror_1

  • Create Group of solids: (menu New Entity/Build/Compound)
    Objects: Mirror_1 and Extrusion.step_1
    Validation => Compound_1.

  • Boolean Operation: (menu Operation/Boolean/Fuse)
    Object 1: Cut_5
    Object 2: Compound_1
    Validation => Fuse_3

Construction of the mesh

Launch SMESH module.
  • Creation of Mesh_1: (menu Mesh/Create Mesh)
    Geometry: Fuse_3
    3D algorithm: Netgen1D-2D-3D
    3D hypothesis: Netgen 3D parameters
    Max size =3
    Fineness Fine
    Uncheck “Second order” and “Optimize” check boxes
    Validate => Mesh_1
    Compute Mesh_1

Document Actions