hull offset .off format

water addict

Naval Architect
Joined
Jun 30, 2004
Posts
325
Reaction score
6
Location
maryland
does anyone have documentation of the format of the hull offsets file .off?
I know it is a simple text file, but have not been able to find any documentation on the format.
 
Well, if you can open a file you will be able to see how it is formatted.
What format do you mean if not?
It is a text file without comments. A bunch of numbers, without description. Do you have a document describing the format ?
 
Do you have a document describing the format ?
No, I don't have it and I don't know the .off files.
Being a "simple text file" I suppose you can give it the format you want and, later, read it by applying the format you created.
Excuse me if I'm talking nonsense and I'm wasting your time. I really don't understand why you have problems with a "simple text file".
 
No, I don't have it and I don't know the .off files.
Being a "simple text file" I suppose you can give it the format you want and, later, read it by applying the format you created.
Excuse me if I'm talking nonsense and I'm wasting your time. I really don't understand why you have problems with a "simple text file".
The offset files are the x,y,z coordinates of the hull surface. There are other complications as well, like the description of the sheer line, keel and rudder, centerboards, daggerboards, etc. Those coordinates are ordered, you cannot just willy-nilly read them, they have to be formatted so the ORC and ORR vpp can read them properly, you can't just dump the coordinates however you want in a text file and expect them to work.
 
I have not asked you "willy-nilly read" anything. Just scan the contents of the files and try to figure out what each number means.
If it is about surfaces, it is probably not about coordinates of its points but about other parameters.
What application is generating these .off files?
 
I think the .off file coordinates start with x=0 (ie zero) at the forward perpendicular, and consists of something like 20 y+z coordinates per station (depending on complexity of shape), numbered from the keel and up. As TANSL said, if you have an example file available, it should be reasonably straight forward to understand how it is structured.

F.i. if there is a non-regular step in the x-series, with obvious changes in the y-z coordinates, that might be the attachement point of a keel or a fin. I'd also expect some additional code in the beginning (not looking like an x-position) that may indicate whether it is a chine section or rounded, and some indication at the end, saying "EOF" or similar.
 
I have not asked you "willy-nilly read" anything. Just scan the contents of the files and try to figure out what each number means.
If it is about surfaces, it is probably not about coordinates of its points but about other parameters.
What application is generating these .off files?
No sh** sherlock. If I knew what every possible input parameter was, I could decipher it after days of trial and error maybe. I was trying to cut out that process and see if anyone has documentation of the file format. Why don't you bugger off if you don't know anything about it.
 
I believed, and still believe, that I could help you. I am sorry that you have decided that I am not capable of doing it. Good luck, and be patient if you're going to do it yourself.
Your offer to help consists of "Just scan the contents of the files and try to figure out what each number means."

Brilliant.
 
Forum posts represent the experience, opinion, and view of individual users. Boat Design Net does not necessarily endorse nor share the view of each individual post.
When making any potentially dangerous or financial decision, always employ and consult appropriate professionals. Your circumstances or experience may be different.

  • Back
    Top