Interpolating stations in PartMaker

Of of the most remarkable features of GHS is the ability of Part Maker to fit shapes together, and to interpolate between stations. Often the naval architect relyes on these techniques in order to shape the tanks to even the most complex geometries, which can be a substantial time saver in the modeling process. Like all software, even GHS has limits (albeit few) and here we will uncover one of them.

It is quite common to define a tank by means of two locus commands, and let PartMaker create the rest, by means of interpolation. This is a very effective way of modeling geometry, but has some limits.

In order to model a trapezoidal tank, the following commands can be given to PartMaker:

create tank\trapez.c

loc @ -30 = 0,0, 30,0, 30,10, 0,10

loc @ -70 = 0,0, 12,0, 12,10, 0,10

spacing 5

/

 The results of this is quite obvious to the human eye, but due to the great difference between the transverse offsets, PartMaker gets it wrong, as is illustrated below.

 

The solution is straightforward:

 -Simply give PartMaker some more information to work with.:

create tank\trapez.c

loc @ -30 = 0,0, 30,0, 30,10, 0,10

loc @ -50 = 0,0, 21,0, 21,10, 0,10 `This is the new line.

loc @ -70 = 0,0, 12,0, 12,10, 0,10

spacing 5

/

The result is obvious:

 Previous document Back