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

Hull and Outfitting

SORT

  • Last UpdatedJan 05, 2024
  • 2 minute read

Purpose

  • Sort current points.

  • Reorganize patch generation order.

Syntax

SORT ( /AROUND ) ( CLINE $W )
  ( /CURSOR  )
--------------------
( /MANUAL  )
( /NEAREST )
( /X  )
( /Y  )
( /Z  )
      ------------------
      PATCH ( START         )

             ( /NAME $W   )

             ( END < /FIT > )

Description

This command allows the user to either

  • re-order the points using one of the methods described below, or

  • reorganize patch generation order

Command Qualifiers for point sorting

/AROUND

This functions similar to the /NEAREST option but in addition to the start point the user is required to specify a dividing line across which the sorted curve should not cross. This dividing line may be an existing Knuckled CLINE ( see CREATE CLINE ) or created interactively using the cursor. If using the cursor the user is required to specify a series of points which are joined by straight lines to form the dividing line. To end the creation of the dividing line the CANCEL CURSOR box must be selected. This option is particularly useful when sorting closed curves.

/MANUAL

Sort any group of points using the cursor by selecting them one at a time in the order they are required. End this command by selecting the CANCEL CURSOR box.

/NEAREST

Sort by the calculating the distance to the next nearest point. The user is required to select the first point using the cursor.

/X or /Y or /Z

Sort the data points into ascending order using X, Y, or Z component of the coordinate.

Command Qualifiers for patch organization

START

Enter patch organization mode

/NAME

The named patch will be the next patch in generation order

END

Exit from patch organization mode

/FIT

Generate (refit) patches when exiting patch organization mode

Examples

SORT /X
SORT /AROUND
SORT /NEAR
SORT /MANUAL

SORT PATCH START
SORT PATCH /NAME FOB1
SORT PATCH /NAME FOB2
...
SORT PATCH /NAME FWD23
SORT PATCH /NAME FWD24
SORT PATCH END /FIT

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