New paradigm first hydrostatics approach

This commit is contained in:
Jose Luis Cercós pita 2012-06-15 09:05:20 +02:00
parent ceae465c6c
commit c524a0268a
3 changed files with 216 additions and 765 deletions

View File

@ -109,6 +109,7 @@ class Plot(object):
Output.write(" #################################################################\n")
# Print data
for i in range(0,len(drafts)):
FreeCAD.Console.PrintMessage("%d / %d" % (i+1, len(drafts)))
draft = drafts[i]
point = Tools.Point(ship,draft,trim)
string = "%f %f %f %f %f %f %f %f %f %f %f\n" % (point.disp, point.draft, point.wet, point.mom, point.xcb, point.farea, point.KBt, point.BMt, point.Cb, point.Cf, point.Cm)

View File

@ -7,9 +7,15 @@
<x>0</x>
<y>0</y>
<width>260</width>
<height>256</height>
<height>260</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>260</height>
</size>
</property>
<property name="windowTitle">
<string>Create new ship</string>
</property>

File diff suppressed because it is too large Load Diff