There was an error while loading. Please reload this page.
import gdf_class
A class for manipulating the gdf file.
The main use is to obtain the hydrostatics properties to export a model in new loading conditions.
It is also possible to scale the original mesh to obtain a vessel with new dimensions.
ship = gdf_class.GDF('ship.gdf')
The command above loads a gdf file and creates
ship.props(T=[], KGn=[])
Optional Inputs:
T
KGn
ship.gdf_scale(Lf, Bf, Df, T=[], KGn=[])
Necessary inputs:
Lf
Bf
Df
Optional inputs: