Codes to profiles (ML052)
You can use the plug-in Codes to profiles (ML052) to recognize/classify profiled profiles and to write the cross-section dimensions and the code of the profile to the user-defined attribute of the part.
Profiled profiles are profiles that have been profiled over the entire length.
The tool is used in conjunction with the saw list Reporting (ML112). The coding created in Codes to profiles (ML052) is used in Reporting (ML112).
Background information:
Special machines are needed to apply certain profiling to a timber profile. As not all factories have these machines, the profiling of such timber profiles is often outsourced. Desirable here is to recognize the profiled profiles in a model and then pull them out.
This tool has been developed to recognize/classify (and subsequently extract) these profiled profiles
Principle:
Imagine the parts are displayed along the local X-axis and a light shines on them, projecting a shadow surface of the cross-section of the parts on a wall (the yellow area in the image below).
The parts are classified as being profiled or non-profiled based on the shape of the shadow.
In the image below, the red cross-section is rectangular. This profile is classified as non-profiled by the tool.
The other cross-sections are non-rectangular. These profiles are therefore classified as profiled.
| Rules and conditions: |
|---|
Each profile classified by the tool as profiled is assigned a Code prefix (string). 1e code = A 26e code = Z 53e code = BA |
| If the profile is classified as profiled, the Code prefix and the Code dimensions are both written in the corresponding user-defined attribute. |
| The default value for the Code prefix is <empty>, or: unprofiled. If the dimension of the shadow area is equal to the defined profile cross-section, the profile is non-profiled and thus no information is written in the user-defined attribute. |
| If the part is classified as unprofiled, but the dimensions of the shadow area are different from the defined profile cross-section, then the defined profile cross-section is written in the corresponding user-defined attribute. |
Created objects
- None
Used for
| Situation | Description |
|---|---|
|
Image
| Wall plates with rounded edges |
|
Image
| Support profiles |
|
Image
| Parts with cuts |
Before you start
Model profiled parts.
Back to topSelection order
- Use the Select objects button to select the parts to be encoded.
General tab
In the "General" tab, all parameters can be defined.
| Option | Description |
|---|---|
| Export |
Selection filter timber_partisprofiled: This selection filter ensures that only profiled parts are viewed/scanned. All rectangular profiles are therefore not viewed by the tool and this makes the tool much faster. |
| Contour plate prefix | Random plates are coded in a different way. By defining the prefix, the component knows which parts are modelled with a random plate. |
| Apply on | Specify the materials to which the export is to be applied. Options:
|
| Reset coding scheme | Indicate whether the existing codes should be reset. Options:
|
| Export path | From the export, the file CodesToProfiles.xml is created in which the coding is written. It is possible to change the location of the file here. If the file is deleted, the next time Codes to profiles (ML052) is executed, the coding is created completely anew. This will result in a complete reset of the coding. |
| Prefix assignment | It is possible to set the code prefix. Options: |
|
Image
Profiles with the same profile but a different thickness are given the same code prefix. Image
| |
|
Image
Profiles with the same profile but a different thickness are given a different code prefix Image
|
UDA tab
In the "UDA" tab you can define where the user-defined attributes (UDA's) are written.
| Option | Description |
|---|---|
| Code prefix | In UDA name, specify where the Code prefix should be written. By default it is written in the UDA CODE_PREFIX. |
| Dimensions | In UDA name, specify where the Dimensions should be written. By default it is written in the UDA CODE_DIMENSIONS. |
About tab
Information about the "build" date of the tool. This date may differ from the date in the tool you are using, but the content may nevertheless be the same. This date may be required when you contact the helpdesk.
All rights reserved. No conclusions can be associated to the representation of the pictures in relation to the operating systems under which Tekla Structures runs.
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.