GHS Port Reference Center
Information for maritime designers, engineers and builders
Maintained by Creative Systems, Inc., Creators of GHS
Click here for information about GHS and other fine marine software.
Go to Main page

Crane Distribution Options in GHS

Download Example files: BoomDist.zip
Boom Distribution Report File: BOOMDIST.PDF


    proj BoomDist    `project matches run file name enabling F5->Enter to restart run file 
    read box.gf
    title Crane Distribution Options in GHS
    
    dr 4
    vcg 5
    so we, lcg
    lbp = 50
    variable wtperlength
    set wtperlength = {displ} div {wplen}     `using system variables to create a
    we {wtperlength}@0, {wtperlength}@50, 0 5    `uniform weight distribution for vessel
    
    macro lsrpt
     so
     st
     ls /plot:linear
    /
    
    report                          `run file name used if filename missing
    \{+B}Point Weight\|\            `bold, underlined, & centered note with a blank line after
    add "WT" 200, 60, 0, 10
    .lsrpt
    
    delete "wt"
    page 97%                        `page break if less than 97% of current page is empty
    \{+B}Linear distribution\|\
    `params - Wt, L, T, V, BoomLength, Azimuth, Elevation
    boom "LEN" 200, 40, 0, 10, 20, 0, 0 /len: 35,45 
    .lsrpt
    
    delete "LEN"
    page 97%
    \{+B}Uniform linear distribution with couple moment\|\
    boom "PLEN" 200, 40, 0, 10, 20, 0, 0 /plen: 35,45 
    .lsrpt
    
    delete "PLEN"
    page 97%
    \{+B}Uniform linear distribution with pure moment (no shear effects)\|\
    boom "PED" 200, 40, 0, 10, 20, 0, 0 /ped: 40,10 
    .lsrpt
    
    print preview
    report off
    

Add a free link to your site
Copyright © , Creative Systems, Inc.