29.3. Special thickness algorithm available in geomsearch.cfg

May be for some customers it is interesting to add the topological attribute "Sheet thickness" into the standard. Only disadvantage: Longer search times.[144]

Enhance configuration file

In order to enhance the standard, please perform the following changes in the configuration file under $CADENAS_SETUP/geomsearch.cfg:

  • Block ALGOS

    To AvailableSystemAlgoList and CreationSystemAlgoList, add "THO"

    [ALGOS]
    AvailableSystemAlgoList=...,...,THO
    CreationSystemAlgoList=...,...,THO

  • Block AlgoTypes

    Add the following key and value:

    [AlgoTypes]
    THO=TOPO

  • Block Category_size

    To the key properties add "sheetthickness"

    [Category_size]
    properties=...,...,sheetthickness

  • Block TOPOINDEXES

    To the keys AvailableIndexes and CreationIndexes add "sheetthickness"

    [TOPOINDEXES]
    AvailableIndexes=...,...,sheetthickness
    CreationIndexes=...,...,sheetthickness

  • Add the following blocks:

    [Property_sheetthickness]
    name=sheetthickness
    displayName=Blechdicke
    op_displayName=Blechdicke
    description=Blechdicke
    algoname=THO
    algopropname=ABSTHICKNESS
    type=DOUBLE(0, 0, 1000000000, 3)
    measure=LENGTH
    argCount=0
    operators=EQ,NEQ,LEQ,GEQ,LT,GT,RANGE
    multiple=
    icon=$CADENAS_SETUP/bitmaps/topology/thickness.png
    compactDisplayName=
    visibleInGUI=1
    defaultoperator=
    visualizationInfoProp=
    measureType=
    searchResultTooltipTemplate=
    searchResultTooltipProp=
    searchResultDisplayTemplate=%loop1%<span style="%style%">%each0l%</span>%endloop%
    searchResultDisplayProp=
    showAlways=0
    defaultStyle=
    matchStyle=background-color: #ff9900
    TopoIndexName=sheetthickness
    
    [Index_sheetthickness]
    KeyType=DOUBLE(0, 0, 1000000000, 3)
    FilterCount=1
    Filter1_objectName=THO
    Filter1_attributeName=Thickness
    Filter1_ScanLevels=
    ContainerLevels=line,prj
    

Geometrical search index create anew

[Note]Note

After changes in the configuration file geomsearch.cfg the Geometrical search index has to be created anew. Please use the 64bit version of PARTadmin for short generation time.

  1. Call up PARTadmin.

  2. At the desired catalog, call up the context menu command Geometrical search index -> Manage fingerprints.

  3. For the desired parts, create fingerprints with algorithm THO.

Use of the topological attribute "Sheet thickness" in PARTdataManager

  1. On the tabbed page Search results, open the dialog box Properties by right-clicking in the column header.

  2. Open the tree and under Topology values -> Size, select the checkbox at " Sheet thickness" ("Blechdicke").

Now, when performing a search, in the column Size the sheet thickness is displayed in addition.

Furthermore, in the Part comparison dialog, the topological attribute Sheet thickness is displayed.




[144] #45903