Sailboat hull by AlanCooper 3d model
3dmdb logo
Thingiverse
Sailboat hull by AlanCooper

Sailboat hull by AlanCooper

by Thingiverse
Last crawled date: 3 years ago
Used a scad macro to read a DXF file (i.e. "test.dxf") that has a series of cross-sections (i.e. frames/bulkheads) through a sailboat hull. The macro "wireframes" the sections to make the hull. The macro needs more work but it is worth a look.
The original DXF file was exported from Carlson Design Corp's Hulls program (http://www.carlsondesign.com/hulls.zip; highly recommended).
Each DXF section has its own layer (e.g. "Hull0","Hull1",...,"Keel0","Keel1",...).
For the stem (i.e. bow) and the stern, a longitudinal section is used (i.e. the sail boat is a double ender).
As the hull is concave (i.e. the keel), the hull is built up in layers.
The parameters are at the beginning of the macro, the units are inches!
Version 2
=======
Gave up on importing DXF sections.
This scad file is stand alone.
It uses a "table of offsets" and planks the hull.
The units are now millimetres.
This method will allow me to implement a simple spline to smooth the hull between bulkheads (next step).
Version 3
=======
Added a spline so I can interpolate frames to smooth the hull.
Add frames to the hull.
If you run the scad file you will need to zoom right out as this hull is full size.
OpenSCAD is a "dog" to code.
I will have to look for something else.
Any suggestions?
Regards Alan

Tags