Test Running a Cutout Macro
- Last UpdatedFeb 01, 2023
- 1 minute read
Due to the fact that a stand-alone macro cannot handle parameters of all types (for example, VECTOR_2D, CONTOUR_2D, a cutout definition macro cannot be run as a stand-alone macro. If a user wishes to test such a macro before it is used in for example, Hull Modelling this is achieved by calling it from another "test" macro. An example of such a test macro by name 'cutout_1.gml' should be included in a normal AVEVA Marine Hull delivery. If such a macro is run using the command geomac, a present statement will print the coordinates of each curve segment building up the contours. However, if the macro is run from an interactive application the contours will be presented in the graphical window.
The figures in Resulting Clips from Appendix 1 Macro are the result of such tests.
The delivered test macro can be used for test of any customer written macro when slightly modified. In addition to the actual cutout the macro shows also the section of the specified profile.
The cutouts in Resulting Clips from Appendix 1 Macro have been generated with the following answers to prompts from the test macro (values for appendix 3 within parenthesis).
|
Angle Web-Flange: |
90 |
(110) |
|
|
Angle Web-Contour: |
90 |
(110) |
|
|
Flange Factor: |
0 |
(1.2) |
|
|
Web Factor: |
1 |
(1.2) |
|
|
Thickness of Intersected Plate/Profile: |
10 |
(10) |
|
|
Profile Type: |
31 |
(31) |
|
|
Profile Parameter 1 |
(a) |
200 |
(200) |
|
Profile Parameter 2 |
(b) |
75 |
(75) |
|
Profile Parameter 3 |
(s) |
15 |
(15) |
|
Profile Parameter 4 |
(t) |
10 |
(10) |