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

Hull and Outfitting

DESIGN

  • Last UpdatedJan 05, 2024
  • 2 minute read

Purpose

To read an HFD, SFOLDS or BRITFAIR design file.

To write an HFD, BRITFAIR.

Syntax

DESIGN ( /READ ) ( /BRITFAIR ) /FILE=$F
  ( /HFD  )
  ( /SFOLDS  )
-------------------------------------------------
( /WRITE ) ( /BRITFAIR /SHIP= $W /TOL= $N ...
... < /MAX_POINTS= $N > ) ...
... ( BUTTOCK  ) < /FILE= > ( $F )
( DIAGONAL $W  )
( FOB  )
( FOS  )
( KNUCKLE $W  )
( PLINE $W  )
( SECTION  )
( STEM /PROFILE  )
(  " /RADII  )
(  " /TANGENT  )
(  " /ECCENTRICITY )
(  " /HALFSIDING  )
( STERN /PROFILE  )
(  " /RADII  )
(  " /TANGENT  )
(  " /ECCENTRICITY )
(  " /HALFSIDING  )
                    (PMB /AFT        )
                    (PMB /FORWARD        )
( TANGENT $W  )
( WATERLINE  )
  ------------------------------------
  ( /HFD ) < /FILE= > ( $F )

Description

DESIGN /READ...

A design file contains Section offsets used when GETting or FITting Sections. When data is read in from the design file the offsets are stored in the DESIGN directory. The position of the stored design data Sections can be listed by using the DIRECTORY DESIGN command. The design data for a particular Section can be extracted by using the commands:-

USE DESIGN

GET SECTION $N or FIT SECTION $N

When a new set of design data is read in, any existing data is overwritten.

The format of the different design files is described in Section 5. In the case of data in HFD or SFOLDS format, a check is made that the General Particulars are consistent with the current LINES general particulars. If not, an error message is displayed and the data is not read.

DESIGN /WRITE...

Data can be output in HFD or BRITFAIR file format. See for a description of the file formats.

In the case of an HFD file, only section data at user specified drafts is output. In the case of a BRITFAIR file, data describing any curve can be output.

Command Qualifiers

/SHIP= $W

An alphanumeric identifier of up to six characters.

/TOL= $N

The tolerance used for comparing the curve defined by a B-spline fit with a bi-arc fit. The smaller the value the 'closer' the fit.

/FILE= $F

Name of the input/output file.

/MAX_POINTS=$N

Sets the maximum number of points that should be generated for the selected curves. If the maximum number is reached then the tolerance is increased until the number of points is less than or equal to the maximum number. Default number of points is 80.

Examples

DESIGN /READ /HFD /FILE=fname
DESIGN /WRITE /BRITFAIR /SHIP=tanker /TOL=0.001 FOB /FILE=fname

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