Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Defaults Element

  • Last UpdatedDec 04, 2023
  • 1 minute read

The Defaults element corresponds to the "defaults" that you may set in the interactive curved hull. You may select a default surface and a default limit box. The surface and box will be used when not set specifically for a curved hull object (curves and seams for instance).

The limit box is defined with six attributes: XMin, XMax, YMin, YMax, ZMin and ZMax. Naturally, they define the minimum and maximum value along the x-, y- and z-axes. If an attribute is omitted this is interpreted as an "unlimited" value. Thus, an empty Defaults element, "<Defaults/>", will be interpreted as a box, unlimited in all directions. The element "<Defaults YMin="0"/>" sets a minimum value along y-axis, but in all other directions the box is unlimited.

The Defaults element may appear any number of times in the file. A Defaults element is modal, that means, it is valid until the next occurrence of a Defaults element. A new instance of the Defaults element overrides the previous one completely.

Example:

<Defaults Surface="SPHULL" YMin="0" XMin="FR40" XMax="FR100"/>

<Seam ObjId="SPS900">

<ByPrincipalPlane Z="2000"/>

</Seam>

<Seam ObjId="SPS901">

<ByPrincipalPlane Z="4000"/>

</Seam>

<Defaults ZMax="12000"/>

<Seam ObjId="SPS902">

<ByPrincipalPlane Z="FR50" Surface="SPHULL"/>

</Seam>

The first Defaults element sets a restriction along the y-axis and x-axis. This box is valid when the seams "SPS900" and "SPS901" are generated.

The second Defaults element sets a restriction along the z-axis (maximum value). Since this Defaults element completely overrides the previous one, the box is now unlimited along the x- and y-axes. Also, there is no default surface selected.

Related Links
TitleResults for “How to create a CRG?”Also Available in