Generating a Wrapping

Wrapping functionality:

  • Lets you select a part or an assembly and wrap it through an additional tessellation in order to generate a light external envelope of the part. The resulting envelope is a unique volume. 
  • Provides a selectable tessellation (Grain parameter) which lets you manage the file size against precision of the wrapped representation
  • Through this functionality, you can:
  • reduce drastically the size of your assembly 
  • roughly reserve room for a component not completely designed yet
  • protect your data confidentiality when sending information to partners by hiding confidential details of your product. For more detailed information, refer to More About Wrapping.
This task will show you how to simplify a representation using the Wrapping functionality.
Open the Mobile_Phone.CATProduct from the samples folder.
  1. (Optional)
    You can manage automatically your 'Wrapping result' as an alternate shape of the initial component. In this case, the wrapping result will be automatically reinserted and will replace the initial component (provided the Activate check box is selected, it is by default)

    Note: If your are not working in alternate shape mode, it is strongly recommended to use the Reference Product option to avoid positioning problems when reinserting products. Read About Reference Product

    Alternate Shape:
    1. Select Tools > Options from the menu bar.
      The Options dialog box is displayed.
    2. Expand the Digital Mockup category from the upper-left tree
    3. Select DMU Optimizer item to display the corresponding tab.
      The Alternate Shapes Management is available
    4. Select the Wrapping check box: the wrapping is automatically treated as an alternate shape
  2. (Optional)
    You can customize your wrapping result color easily selecting the Tools->Options...

    1. Expand the Digital Mockup category from the upper-left tree.
    2. Select DMU Optimizer item to display the corresponding tab.
    3. Change the default color as shown below:
    About selection: you can select any node within the specification tree (terminal/non terminal) and even multi-select them provided that you are not working in alternate shape mode.
  3. Select the product to you want to wrap (i.e. Battery.1) in the specification tree or in the geometry area.

  4. Click Wrapping I_WrapP2.gif (275 bytes) from the DMU Optimizer toolbar.
    The Wrapping dialog box is displayed.

    • The number of triangles representing the selected product is displayed in the number of triangles field.
    • The Alternate shapes management field appears.
    Note: Neither the Input Products dialog box nor the Preview check box are available when working in alternate shape mode.
  5. Set the grain by entering a value, 4mm for example.

    ainfo.gif (980 bytes)
    Setting the Grain

    The grain determines the precision of the wrapping representation. The grain parameter determines the size of the triangles used to represent the wrapping. A lower setting results in slower computation time, but a more precise calculation of the wrapping.

    For more detailed information, refer to More About Wrapping-Step 1.

    ainfo.gif (980 bytes)
    Setting the Offset Ratio

    The Ratio enables to inflate the wrapping representation. A lower ratio value results in a  less enveloping representation.
    If you check the cubic option, you will obtain a coarse wrapping representation (voxel) but enveloping the product entirely.   

    Refer to More About Wrapping-Step 2.

  6. Set the ratio:

    1. Move the slider to the right to set the ratio to desired value (0.40, for example).
      or if you need a wrapping enveloping entirely the geometry:
    2. Select the Cubic check box to obtain a voxel representation of the envelope (the Offset ratio option is grayed out).

  7. Click Preview to obtain a preview.
    The progress bar is displayed letting you monitor and, if necessary, interrupt  (Cancel option) the calculation.

    The preview window lets you see the resulting wrapping:
    This is what you obtain with 0.40 as offset ratio value This is what you obtain if you checked the cubic option :
    About wrapping color customization
    Let's see the result you obtain if you customized the wrapping volume color before launching the calculation
    Default option:
    The option is turned off, the check box is cleared.
    The option is turned off, the check box is cleared but you change the default color using the drop-down list:
    You selected the 'Use part when possible, otherwise...' check box: in this case, there are three colors in the original model (light grey, blue and dark gray). The color chosen is the default one (see picture opposite)
    You selected the  'Use part when possible, otherwise...' check box and selected a color of your choice:
  8. Check the number of triangles representing the wrapping result.
    It is displayed in the Number of triangles field as shown below:

  9. You can simplify your wrapping result. For more detailed information, read Using Simplification Command and More About Simplification 

    We assume you performed step.6 1.
    Select the Accuracy check box in the simplification field.

    Enter a new value if needed. In our example, keep the default value

  10. Click Preview

  11. Click Save. The Save As dialog box is displayed. You can identify a specific path/ directory to save your resulting shape using Tools > Options...  Read Path For Save section

    1. Set the Type to .cgr
    2. Identify the folder in which you want to save the file
    3. Enter a file name
  12. Click Close to exit the wrapping command.

    The wrapping result is automatically inserted 
  13. Right-click Battery.1 in the specification tree and select Manage > Representations to check your wrapping is treated as alternate shape

ainfo.gif (980 bytes) Remember you can customize wrapping settings at any time using Tools > Options...