Creating Sample Points
- Last UpdatedNov 28, 2024
- 1 minute read
The tool is invoked by executing the program sj708 from a command prompt and then supplying the following information:
-
Full path and filename for the output file
-
Path to the folder containing the surface files, dml or dms. ( Not prompted if a project is selected with SB_NAVARCH set or for projects using a NAPA surface)
-
Name of the surface
-
Limits for the sections and waterlines, AFT, FWD, lower and upper
-
Distance between cuts
The fitting of bi-arcs are using the default tolerance for surface intersections, normally set to 0.5 mm.
The sample file below shows an example of a file created by the tool:
SPHULL Surface name
0.500 Intersection tolerance
1 Plane x=1, y=2, z=3
-3997.767 Plane coordinate
1 Number of contours resulting from cut
23 Number of sample points in contour
-3997.767 0.404 9156.768 List of the sample points.
-3997.767 0.404 9156.768
-3997.767 464.703 9156.658
-3997.767 929.001 9156.630
-3997.767 1590.540 9156.431
-3997.767 2252.079 9156.343
-3997.767 2252.079 9156.343
-3997.767 2644.825 9161.745
-3997.767 3036.728 9186.652
-3997.767 3469.494 9243.603
-3997.767 3895.013 9339.537
-3997.767 4338.791 9494.317
-3997.767 4760.698 9701.479
-3997.767 5121.943 9931.359
-3997.767 5462.478 10191.395
-3997.767 5691.602 10387.466
-3997.767 5913.806 10591.396
-3997.767 6293.704 10963.010
-3997.767 6661.336 11346.797
-3997.767 6962.589 11679.026
-3997.767 7255.592 12018.557
-3997.767 7508.713 12325.050
-3997.767 7756.785 12635.654