#!/bin/sh
exec ./implicit_surface_mesher \
    \
    -f tanglecube \
    --precision 1e-6 \
    \
    --center_x 1.5 \
    --center_y 1.5 \
    --center_z 1.5 \
    --enclosing_sphere_radius 8. \
    \
    --radius_bound 0.05 \
    --distance_bound 0.01 \
    \
    out.off \
    --number_of_initial_points 50 \
    --dump_of_initial_points dump_of_initial_points_of_tangle \
    \
    --read_initial_points dump_of_initial_points_of_tangle \
    ${1+"$@"}
# If --read_initial_points is used, --number_of_initial_points 
# and --dump_of_initial_points are useless.
