Delftship to GL Poseidon “export”?
› DELFTship forum › Hull modeling › Delftship to GL Poseidon “export”?
- This topic has 5 replies, 3 voices, and was last updated 13 years, 3 months ago by
internetturk.
-
AuthorPosts
-
-
June 2, 2010 at 13:44 #34149
Jonny Schouh
ParticipantHi,
is there an easy way to create an Delftship offset file that i can import in Poseidon (Germanischer Lloyd structural design program)?
The poseidon file needs points (offsets, y and z coordinates in mm) for each frame, with a syntax like that:
FUNCELE SHELL FRAMENO 65 POINTS 20
0000.0 0000.0 LINE
5043.0 0000.1 LINE
5454.9 0005.0 LINE
5826.4 0026.4 LINE
6188.2 0076.3 LINE
6809.2 0208.0 LINE
7630.0 0460.0 LINE
8205.7 0692.3 LINE
9348.8 1317.6 LINE
10020.2 1804.2 LINE
11417.9 3122.2 LINE
12097.6 3944.0 LINE
13231.4 5598.6 LINE
13739.5 6465.3 LINE
14056.2 7092.3 LINE
14587.6 8519.4 LINE
14749.8 9143.2 LINE
14839.9 9592.3 LINE
14900.0 10383.1 LINE
14900.0 21400.0 LINEWhen I create offsets in Delftship, the syntax is quite different, and although I do get the offset data i need, I’d have to write a competely new file by “copy and paste” data with like 40 points (y,z coord.) for 230 Frames … wich is a lot of work… 40*2*230=18400 times copy and paste 😉
So is there any way to create an offset file thats more easy to import in Poseidon?
-
June 2, 2010 at 23:41 #34150
Marven
KeymasterThe file format seems quite simple.
Is there any documentation available on the format? -
June 3, 2010 at 00:09 #34151
Jonny Schouh
ParticipantHi,
I already found a “little more” easy way to get format i need by reading in the delftship output with excel.
Regarding the dokumentation-
this is from the poseidon manual:
————————————–
10.4. Import of GeometryPOSEIDON can import geometry and topology description from an easy to create ASCII file. The file must have the extension “.frm”. To import the data, select a file with the extension “.frm” in the file select box from the File/Import command.
The imported data supplements the data already existing in POSEIDON. Should a conflict arise (for example, when a functional element is imported which already exists in POSEIDON), a warning is issued and the process can be aborted without overwriting the existing data.
Definition of the ASCII File Format
The general syntax of the geometry data of the .frm file is as follows:
• All key-words written in capital letters have to be used exactly as written
• # Comment until the end of the line
• Empty lines in the file will be ignored.
• : real number
• : integer
• […]: entry is optional
• {…,…}: a value has to be chosen
• Co-ordinates for the geometry are given in mm
• LINE a linear connection with the following point
• CIRCLE a circular connection with the next point. The radius can be calculated because the gradient of the tangent at the starting point is used from the previous line.
Syntax of the Frame table
LFRAMETAB RANGES FPP REFFRAMENO
ranges *
Explanation:
LFRAMETAB Keyword for the beginning of the frame table
RANGES Number of ranges in which the frame spacing is constant
FPP Offset of the forward perpendicular (in mm)
REFFRAMENO from the reference Frame No.
The following applies for all ranges (as given in RANGES) in increasing order:
Frame No: Frame No. at which the range begins
frame spacing Frame spacing (in mm) for this range
Syntax of Principal Dimensions
PRINDIM LPP LWL B H T VO CB
Explanation:
PRINDIM Keyword for the beginning of the principal dimensions
LPP length between perpendiculars (in m)
LWL length of water line at T (in m)
B breadth (in m)
H depth (in m)
T design draught (in m)
VO max. speed in calm water
CB block coefficient
Syntax for the Geometry description
FUNCELE FRAMENO POINTS [FA {F,A,H}] [SYM {P,S}]
points *
Explanation:
Designation of each frame contour:
FUNCELE Name of the functional element (max. 6 letters)
FRAMENO Frame No.
POINTS Number of the following dimension points (minimum 2)
FA {F,A,H} optional entry of area of validity in the ship longitudinal direction:
F valid forwards (Forward)
A valid rearwards (Aft)
H valid only at this position (Here)
If no area of validity is given, there is no limitation in the ship longitudinal direction.
SYM {P,S} Symmetry
P valid only for the port side
S valid only for the starboard side
If no symmetry is given, the description is valid for both sides.
Example file:
…
———————————————-… For some reason Poseidon wont accept my file though
-
June 3, 2010 at 19:20 #34152
Marven
KeymasterCan you post the corresponding example file too (see last line of your post
-
June 4, 2010 at 01:52 #34153
Jonny Schouh
ParticipantThis is the example file from the manual:
# Example file, in order to show the syntax
PRINDIM LPP 195.4 LWL 195.4
PRINDIM B 29.8 H 50.5 T 10.1
LFRAMETAB RANGES 4 FPP 190 REFFRAMENO 246-7 720
4 800
47 790
255 790FUNCELE SHELL FRAMENO 5 POINTS 17
0000.0 9461.2 LINE
1425.1 9617.6 LINE
4102.1 9970.3 LINE
6258.6 10315.8 LINE
8060.2 10679.9 LINE
9955.3 11209.4 LINE
10668.5 11465.4 LINE
11827.8 12021.6 LINE
12736.9 12631.7 LINE
13191.3 13025.3 LINE
13502.8 13336.3 LINE
14023.6 13980.9 LINE
14564.4 15011.0 LINE
14780.9 15755.6 LINE
14886.7 16555.2 LINE
14900.0 16978.8 LINE
14900.0 21400.0 LINE# This is only an example comment
FUNCELE SHELL FRAMENO 65 POINTS 200000.0 0000.0 LINE
5043.0 0000.1 LINE
5454.9 0005.0 LINE
5826.4 0026.4 LINE
6188.2 0076.3 LINE
6809.2 0208.0 LINE
7630.0 0460.0 LINE
8205.7 0692.3 LINE
9348.8 1317.6 LINE
10020.2 1804.2 LINE
11417.9 3122.2 LINE
12097.6 3944.0 LINE
13231.4 5598.6 LINE
13739.5 6465.3 LINE
14056.2 7092.3 LINE
14587.6 8519.4 LINE
14749.8 9143.2 LINE
14839.9 9592.3 LINE
14900.0 10383.1 LINE
14900.0 21400.0 LINE -
June 26, 2010 at 12:50 #34167
internetturk
ParticipantIf you have a manual for Poseidon Software of GL could you please send me?
Best Regards,
-
-
AuthorPosts
- You must be logged in to reply to this topic.
Your account
Recent Topics
-
resistance hull data not showing
by
Evergreenboats
4 hours, 33 minutes ago -
Coordinate system: Transverse reference: definition of “PS” and “SB”
by
rkg
5 days, 3 hours ago -
install problems
by
tcurdt
1 month, 3 weeks ago -
Changing Position of Aft Perpendicular
by
Marcus
2 months ago -
What counts as lateral area?
by
RobinJ
2 months ago -
Variables in report headers and footers
by
rkg
2 months, 1 week ago -
Launching curves
by
fridomero@gmail.com
2 months, 3 weeks ago -
Importing AYacht rep files and converting to separate developed plates.
by
Denis Pratt
2 months, 3 weeks ago -
Report capability
by
Tenaja
2 months, 3 weeks ago -
HOW TO IMPORT IMAGES TO DELFTSHIP?
by
TrungQuyet
3 months, 1 week ago