Importing Files

 

task target This task shows how to import digit files describing a cloud of points (scanned or computed) or a mesh.
pre-requisites Use the MultiImport1.cgo_ascii, MultiImport2.cgo_ascii, MultiImport3.cgo_ascii from the samples directory.

  • We recommend that you import files in IGES 106 format using the dedicated Import command rather
    than the File/Open menu. 
  • Files import from ENOVIA is not yet implemented.
  • Available formats depend on the workbench you are working in:

    Digitized Shape Editor

    • Ascii free,
      Perceptron (ascii) files can be imported by selecting the Ascii free format and
      setting the Delimitors for Start scan and End scan to  LH (do not forget a blank before LH).

    • Atos (the quality of the points can be taken into account),
    • Cgo,
    • Gom-3d (as points, scans, grids or meshes, the quality of the points can be taken into account),
    • Hyscan,
    • IGES: IGES Entities 116 are processed.
      If the cloud to import is made of Entities 116 only, the result is a cloud of points.
      Otherwise, the result is made of scans.
    • Kreon,
    • Ascii RGB, with the possibility to import color information.
    • Opton,
    • Steinbichler (as points, grids or scans),
    • STL (bin or ascii, with creation of free edges and facets, if requested),
    • 3d-Xml (tessellated).

    STL Rapid Prototyping

    • STL (bin or ascii, with creation of free edges and facets, if requested) (default option),
    • Cgo,
    • Ascii free,
    • IGES: IGES Entities 116 are processed.
      If the cloud to import is made of Entities 116 only, the result is a cloud of points.
      Otherwise, the result is made of scans,
    • 3d-Xml (tessellated).

    Shape Sculptor

    • STL (bin or ascii, with creation of free edges and facets, if requested).
    • In Cgo, Ascii free and IGES formats, you can not process more than 10,000 points at each import,
      in one or several files, e.g. you can not import 4 files of 3,000 points each in one shot but you can import them separately.
    • This limitation applies to the input files (before Sampling or resizing with the bounding box).
    • If you try to import over 10,000 points in one shot, a fatal error panel is displayed:
      Too many points for this configuration
      .
      • If the Grouped option is active, no file is imported.
      • If the Grouped option is not active, files are imported as long as the sum of their points does
        not exceed 10,000 points.
    • Mesh Regeneration is not available on those files.
     
scenario
  1. Click Import I_CloudImport.gif (1693 bytes). The Cloud Import dialog box is displayed.

  2. Select the file format from the Format list.

  3. In the Selected File area, click the browse button ... to browse your directories and select a file.

  4. Select the check box Statistics to display information about the model you are importing.
    If you want to import several files in one shot, please refer to the Grouped explanations. 

  5. In the Options field:

    • Enter the Sampling percentage to apply; 
      The sampling value determines the percentage of points or scans or grids that will be read from the digit file.

    • Enter the Scale factor to apply to the model, as well as the Unit used in the file.

awarning.gif (1007 bytes)
  • If the extension of the file you have selected is consistent with the list proposed, the Format field is updated automatically.
    Otherwise, be careful to enter the correct format in that field.
  • Once you have performed an import operation, V5 proposes the last entered file path and format as default.
    If you click on ..., the last entered directory is proposed as default.
  • The File unit option is not relevant to the Steinbichler format, nor the Sampling percentage to the Stl format.
  1. For some digit file formats, you may want to enter additional data that are displayed by clicking More>>

    • For Ascii:
    • For Atos and Gom-3d:
    • For Iges:
    • For Ascii RGB:
    • For Stl:

    Direction and Delimitors apply to scans. Enter these data whenever you know them.
    Set Start scan and End scan to   LH (blank LH) to import Perceptron (ascii) files.
    Minimal Point Quality is used to clean Atos file from invalid points.
    The quality value of a point lies between 0 and 255 (low to high).
    Choose a value to ignore points below that value:

    • Minimal Point Quality value is 125:
       

    • Minimal Point Quality value is 75:

    System  applies to the operating system (Unix or Windows NT) used to generate the binary data:
    select Same if you know you are using the same operating system as the one used to generate the binary data,
    Other
    for the other way, Unknown if you have no indication.
    Free Edges is used to create or not the scans representing the free edges of a mesh:
    or
    Facets is used to create or not the facets of the imported mesh:
    or
    Keep color information is selected by default, and lets you keep the color information found in the Ascii RGB file, if any.

  2. Click Apply to display the cloud of points or mesh:

  3. Click Update to display the bounding box of the cloud of points or mesh.
    Use the green arrow to resize it in order to import only a part of the cloud of points or mesh. 

    Select the check box Replace to replace the current cloud of points or mesh by a new one.

 

 

  • The bounding box appears every time the cursor passes over a cloud of points or a mesh. 
    Its size corresponds to that of the visible points. 
  • If a local axis system is set as current, the file will be imported in this axis systems.
    If no local axis system is set as current, the file will be imported in the axis system of the current part.
  • Moreover, if a local axis system is set as current, the axis system of the dynamic box used to select
    a portion of the imported file when the Update button is pushed is parallel to the local axis system axis.
 
  1. Once you are satisfied with the preview, click Apply and OK to finish the import of the cloud of points or mesh.

  • The name of the element created in the specification tree is the name of the original file, without its extension.
  • Undo and Redo are available.
  • V5 memorizes the data of the last imported file and proposes them at the next import action.

end of task

Importing a Set of Files

scenario
  1. Click Import I_CloudImport.gif (1693 bytes). The Cloud Import dialog box is displayed.
    The operating mode is the same as for one file.

    awarning.gif (1007 bytes) The files to import must:
    • have the same format,
    • be located under the same directory.
    The Selected File field looks like this:
    • If you select the Grouped check box (this is the default status):
      All the files are imported as one single cloud of points instead of several:

      The three digit files have been imported together, resulting in one cloud of points or mesh.
      One  cloud of points Element Cloud Import.x is created in the specification tree,
      with the icon of the Import command.
    • If you do not select the Grouped check box: The files are imported separately.
      The three digit files have been imported separately, resulting in three clouds of points.
      One cloud of points element is created in the specification for each input file,
      with the icon of the Import command and the name of the input file 
      (MultiImport1.1, MultiImport2.1, MultiImport3.1)
ainfo.gif (980 bytes)
  • You can also merge several clouds of points into one whenever necessary, using the Merge Clouds command.

end of task