GHS BULLETIN
PMX Features not shared by PM

(New features not covered in the standard PM documentation)




PMX is an "experimental" version of Part Maker which includes some features that are not currently available in the standard Part Maker program. It is being supplied to GHS users who are interested in using these "Part Maker eXtensions". These features are described below.


PMX Syntax Note

The syntax rules in PMX are more stringent than in PM:

-Parameters must be separated by commas (extra spaces permitted).

-Defining commands must use the "=" between the command name and its parameters.

-A back slash ("\") must be the separator between part and component names.


EDGE statement

Shapes can be defined by Edges, which are longitudinal line segments represented by their end points:
    EDGE l1,t1,v1, l2,t2,v2
The EDGE statements should occur in order such that a section cutting across the lines would have the intersection points occuring in a counter clockwise sequence. Up to 30 edge statements can be used in one shape creation.

For example,
    create hull\arm1.c
     edge -35, 7, 0,  -53, 3, 5
     edge -35, 7, 8,  -53, 3, 8
     spacing 0.5
    /


DISPLAY PRINT options

Several parameters affect the generation and presentation of the offsets table:
    DISPLAY [(part\component)] PRINT [/FILE:name] [/MARK[:SAVE][:NEW]] [/UNITS:code]
    [/FORMAT:LINES|SECTIONS]
/FILE allows for writing the offsets table as a text file.

/MARK causes line markings (deck edge, chines, etc.) to be automatically added to the geometry. If the SAVE subparameter is present, the geometry file is updated. If the NEW subparameter is present, any existing line markings are removed before the automatic marking is done.

/UNITS sets the umits in which the offsets are to appear. This may be,

M - meters
CM - centimeters
MM - millimeters
FT - decimal feet
IN - decimal inches
FI - feet and decimal inches
FIE - feet inches and eighths
FIS - feet inches and sixteenths

/FORMAT specifies whether the offsets are to be organized as longitudinal lines or as sections.


CHOP command
    CHOP FWF|AFT, location
Removes all geometry in the model forward or aft of the given location.


RADIUS statement
    RADIUS [(n)] r
Used with rectangular-section shape definitions to radius a corner. For example,
    project MIDBODY
    enter pmx
    create hull\hull.c
     ends 0, 100
     top 10
     bot 0
     out 10
     radius 2
     spacing 2
    /
    display
    write midbody.gf
    quit pmx
The optional n indicates to which corner the radius is to be applied, going in the counter clockwise direction starting with the bottom right corner.


ROTATE statement
    ROTATE t, h, a
A shape definition made of edges or Top, Bottom, etc. can be rotated about the trim axis, the heel axis and the azimuth axis. For example,
    create hull\leg2.s
     spacing 1
     ends -5,5
     bot 0
     top 10
     in -5
     out 5
     rotate 0,0,45 `rotates 45 degrees in plan view
    /


ICE statement
  ICE side, top
Converts the component to a layer on its surface with the given thicknesses. For example,
    CREATE FOCSLICE.S
     SHAPE HULL\FOCSLE.C
     ICE 0.1, 0.2
    /
This creates a tank which would be loaded at 100% to represent the weight of the ice on the focsle.


CYLINDER statement extension

The CYLINDER statement has an additional mode, not available in PM:
    CYLINDER (n) l1, t1, v1, len, azimuth, elevation, diam1 [, diam2], LTV
Note the LTV keyword after the numerical parameter. This indicates that instead of two end points, the cylinder axis is defined by one end point, a length and two angles. The azimuth angle is zero for the cylinder going aft from its initial point, and 90 degrees going to starboard. The elevation is zero for a horizontal axis and 90 for extending vertically upward from the initial point.


If you would like to see another bulletin created regarding a specific topic, please email Creative Systems, Inc. at support@ghsport.com.

Copyright (C) 2011 Creative Systems, Inc.