DEFINE HULLSURF
- Last UpdatedFeb 01, 2023
- 2 minute read
Purpose
This command allows the user to define parameters used in the generation of patch data for the HULLSURF system.
Syntax
|
DEFINE ( HULLSURF ) < /TYPE > ( /CURVE_TYPE= ) ( /AUTO ) ... |
Description
The parameters will be assigned to be the DEFAULT values unless the PATCH keyword is specified in which case the changes to the parameters will only apply to the specified patches.
When a patch is defined using the GENERATE command it is automatically assigned the current curve type that means, Section, Waterline, Buttock or Deck, this means that any curve that is SWITCHed ON, is of the given type and crosses the patch should be used when OUTPUTting the patch. Using the ADD command the user may be more selective about which curves are used. The internal curves are not restricted to orthogonal curves but can be any of the curve types shown in the ADD command syntax. However, the curves that are added must all be consistent in their definition that means, they should all intersect the same two boundaries of the patch.
Command Qualifiers
|
/CURVE_TYPE |
Selects the type of curves that are to be used in the generation of patch data points. This must be either SECTION, WATERLINE, BUTTOCK or DECK. |
|
If the /AUTO option is used then the type of the defining curves is automatically selected by the system. |
|
|
/MESH_SIZE=$N |
This defines the size of the mesh that is used when displaying fitted patches using the DISPLAY PATCH $W /STORED command. The default value is 10. |
|
/PATCH_SIZE=$N |
This is an integer between 4 and 30 and defines the amount of data in a patch. The higher the number, the more accurate the patch will be, although this will slow down patch fitting and analysing. |
|
/PATCH_TOL=$N |
This defines the tolerance used when OUTPUTting a Patch and indicates the maximum deviation allowed between intersecting curves. The default value is set at 0.001 units. |
|
/PATCH_CHECK_TOL =$N |
This is used during automatic checking of patches. If the maximum error of any patch exceeds the Patch Check Tolerance during fitting, then an error is issued and the patch is highlighted in the tabular feedback in the Output Window. |
|
/SHOW |
Show the current settings of the HULLSURF parameters. |
Examples
|
DEFINE HULLSURF /TYPE REGULAR /CURVE_TYPE= BUTTOCK |