Print at Feb 24, 2020, 12:37:01 AM

Posted by okh at Jul 22, 2018, 1:03:17 PM
Re: Holes in the ground
Depends on whether the software will let you change the co-ordinate system (e.g. viewBox="0 0 1 1" preserveAspectRatio="none"). The path alone is not much help without knowing the overall dimensions within which your path is referenced. Even so, recalculating the values with a spreadsheet would not be straightforward with a combination of absolute and relative co-ordinates in the path. Maybe it is simpler and more accurate to enter the SVG values manually. Your hull is a relatively simple shape. You just need to measure the relative length of a few co-ordinates: Bow, start bow curve, start hull straight side, start aft curve (and mirror the same values back again + calculate/estimate the two curves). That is, recalculate your mm to values relative to overall size.

My preferred way would be to use a file that opens in a browser and/or edit with e.g. Inkscape (setting preferences SVG output, Path data, Absolute makes it easier to use Inkscape's XML editor to adjust to accurate values later). But without knowing the overall dimensions of the hull and exact curvature of bow/stern, the values are guesstimates.

<svg version="1.1" width="1975" height="400" viewBox="0 0 1 1" xmlns="" preserveAspectRatio="none">
<path d="
M 1,0.5
L 0.9584,0.7067
C 0.9084,0.9328 0.8615,0.9874 0.8152,1
H 0.318
C 0.01,1 0.01,0 0.318,0
H 0.8152
C 0.8615,0 0.9084,0.0641 0.9584,0.2933
Z " fill="silver" opacity=".6" stroke="red" stroke-width=".01"/>