powered by CADENAS

Manual

Manual

2.1.5.6.3. Import preview images

There are two opportunities to make preview images available which are both controlled via the GENERATEMISSING key:

  • Generate missing preview images automatically (default)

    [PREVIEWIMPORT]
    GENERATEMISSING=1

    The following settings options are available:

    • Color scheme for preview images

      [PREVIEWIMPORT]
      COLORSCHEME=blank

      Possible values: All block names in $CADENAS_USER/colorschemes.cfg (8.1, 9.0, Purist, Metal, Wood, CAD: Catia V5, CAD: SolidEdge, CAD: SolidWorks, CAD: Unigraphics, CAD: OneSpace Designer, CAD: Pro/ENGINEER, CAD: Inventor, blank, 2D)

      Default: blank

    • Display for preview images

      [PREVIEWIMPORT]
      SCENEVIEW=ISOMETRIC

      Values: FRONT, BACK, LEFT, RIGHT, TOP, BOTTOM, ISOMETRIC, DIMETRIC, TRIMETRIC

      Default: ISOMETRIC

    • Size of preview images

      • width

        Width of image to be created (only used if "convert" or "generateMissing" are equal to '1')

        Default: 150

        If "convert" equals '0', then the available preview images are used in the original size (independent of the set value).

      • height

        Height of image to be created. This specification only works if "convert" or "generateMissing" are equal to '1'.

        Default: 150

        If "convert" equals '0', the available preview images are used in the original size (independent of the set value).

    [Caution] Caution

    For the generation, OpenGL must be available, which is usually the case! If the Classimporter is carried out as "planned task", this may not be the case.

  • Import existing preview images

    [PREVIEWIMPORT]
    GENERATEMISSING=0

    [Note] Note

    Even if GENERATE_MISSING is turned on, existing images may still be used in case the name in the filelist.txt is available, or the name of the convention (cp. Name assignment and/or name convention under Section 2.1.5.6.1, “General settings”) suffices!

    Preview images correspond to classes. The only possible setting is "OnClass=1". "OnVariant" must be set to '0'.

    [STLIMPORT]
    OnClass=1

    Preview images are displayed in the PARTdataManager in th directory tree and under Symbols/Details.

    [Note] Note

    In this case the columns CLASSNAME and PREVIEWFILE are standard and must be filled out; the field MATNR must remain empty.

    [Note] Note

    Make the preview images available in the format 150 x 150 pixel.