Process Help |
Process Name |
Menu Path |
Link to Command Table |
MODTRI |
Access using command line only |
Introduction
Convert the visible faces of a sub-cell block model to wireframe surfaces.
This process is much faster
than the BLKTRI process and will work better on larger models.
The block model will be interpreted as a solid model.
When using the @PTTOL parameter to detect duplicate wireframe output points the process will be slower
The @ORIGIN parameter can be used with more complex sub celled models to help resolve producing unverifiable wireframes.
If the block model is a standard rotated block model then the additional fields X0, Y0, Z0, ANGLE1, ANGLE2, ANGLE3, ROTAXIS1, ROTAXIS2, and ROTAXIS3 will be used to calculate the wireframe position.
The standard wireframe GROUP, SURFACE, adjacency and orientation data is output to the wireframe files. Normals for void surfaces will face inwards and can be used in Studio 3 evaluation processes to automatically exclude the evaluation of the void volume.
Files, Fields and Parameters
Input Files
Name |
Description |
I/O Status |
Required |
Type |
IN |
Input model file. Must contain fields XC, YC, ZC, XINC, YINC, ZINC, XMORIG, YMORIG, ZMORIG, NX, NY, NZ, and IJK. If it is a Rotated Model then it must also include the fields X0, Y0, Z0, ANGLE1, ANGLE2, ANGLE3, ROTAXIS1, ROTAXIS2, and ROTAXIS3. |
Input |
Yes |
Block Model |
Output Files
Name |
I/O Status |
Required |
Type |
Description |
WIRETR |
Output wireframe triangle file. |
Output |
Yes |
Wireframe Triangle |
WIREPT |
Output wireframe point file. |
Output |
Yes |
Wireframe Points |
Parameters
Name |
Description |
Required |
Default |
Range |
Values |
ORIGIN |
Origin coordinates. Values are: 0 - retain original coordinates. 1 - use coordinates relative to the model origin. 2 - use the central coordinates of model cells as the new origin |
No |
0 |
0,2 |
0,1,2 |
PTTOL |
Check for duplicates in output wireframe coordinates |
No |
0 |
0,1 |
0,1 |
Examples
Example 1
Wireframe a model from
MODENV,
wireframing internal voids to
represent pillars. Only the minimum envelope
is to be produced.
!PICREC
&IN(MODEL),&OUT(TEMP)
ENVELOPE matches MIN* END
!MODTRI &IN(MODEL),&WIREPT(WIREPT),&WIRETR(WIRETR)
Example 2
Wireframe a single zone from a grade sub-cell model.
!GENTRA &IN(MODEL),&OUT(TEMP)
SETC ZONE 0
GTC CU 1; SETC ZONE 1
GTC CU 3; SETC ZONE 3
GTC CU 5; SETC ZONE 5
END
OK
!MODTRI &IN(TEMP),&WIREPT(WIREPT),&WIRETR(WIRETR),ZONE=
3