Creating 3D Primitives

You can recognize basic shapes in clouds of points or meshes.


Before you begin: If you have imported a large digitization file, extract a subset of this file to work with.
  1. From the Surface Reconstruction section of the action bar, click 3D Primitive Recognition .
  2. Select the mesh or cloud of points that represents the part to reconstruct.

    Tips:
    • If Mechanical Shape Wizard is open and has already selected a mesh, the mesh is automatically selected as support mesh in 3D Primitive Recognition.
    • To help further selection, the pointer displays the type of the primitive when the expected selection is a mesh or a cloud of points, or the type of constraint you are expected to define.

  3. Specify the type of primitives to recognize (Plane, cylinder, sphere, or cone).
  4. Specify a maximum deviation in mm.
  5. Optional: Under Advanced Options, enter the value of Extend ratio.

    Often, you need to extend the generated primitive, either

    • Using the handles, on each generated primitive.
    • Or using Extend ratio, which automatically extends all the generated primitives by the specified length ratio, in both directions, without any further manipulation. Extend ratio is modal. The default value is 20%.
      Note: Extend ratio applies to the length of planes, cylinders, and cones, not to their diameter. It is not proposed for spheres.

  6. Optional: To verify the length of the primitive within the mesh, specify the Transparency level of the mesh.

    • This option is available only for meshes.
    • By default, the slider is set to 0 (no transparency), or to the transparency level previously set outside 3D Primitive Recognition.
    • The transparency level is reset when you exit 3D Primitive Recognition.

  7. Optional: Select the Hide primitive points check box.
    The points or triangles already use to recognize a primitive are hidden and de-activated.
  8. Optional: Specify constraints compatible with the type of primitive to recognize.

    Constraint Defined by Available for
    Parallelism Direction (DX, DY, DZ), or axis, or cylinder Plane, cylinder, cone
    Perpendicularity Plane Plane, cylinder, cone
    Imposed diameter Value Cylinder, sphere
    Imposed axis Axis or cylinder Cylinder

    1. Select the relevant type of constraint.
    2. Enter required values.
    Constraints are listed.
    Note: To avoid errors, the list is reset when you specify another type of primitive to recognize.
  9. To create a primitive:
    • Either pick a point or a triangle. The primitive is recognized by propagation to the neighbors points or triangles.
      Note: You cannot recognize a cone from a point picked in a cloud of points.
      Tip: To recognize a primitive from several separate areas, pick a point or a triangle on the first area. With Ctrl key pressed, pick a second point or triangle on the second area, then a third point or triangle on the third area, and so on.
    • Or select a subset of points or triangles. 3D Primitive Recognition creates a primitive of the expected type that respect the constraints.
    • The primitive is displayed.
    • The generated primitive for cylinder and cone is a closed surface (including the basis), if you have selected Volume as the Reconstruction Approach in the Preferences.
    • The geometric properties of the primitive are displayed.
  10. To confirm the quality of the primitive, activate the display of the deviation between the cloud of points or mesh and the primitive.
    1. Select Ignore worst points, and specify the percentage with the slider.
      • The corresponding worst points are displayed in white in the deviation view.
      • When you click Apply, the primitive is recomputed with the remaining points or triangles. The slider reverts to zero, since all remaining points have been used.
      • Undo restores the definition of the primitive before the last Apply.

    Tip: Use the icon on the same line as Hide/Show Deviation to swap between Top, Right or Left predefined views for the current primitive.