Model Files

Note: The following specification is subject to change. Scripts that work directly with .bow files should therefore expect incompatibilities with new releases of VirtualBow.

FieldTypeUnitDescription
versionString--VirtualBow version number
commentString--User comments
settings {
     n_limb_elementsInteger--Number of limb elements
     n_string_elementsInteger--Number of string elements
     n_draw_stepsInteger--Number of draw steps
     arrow_clamp_forceDouble--Arrow clamp force
     time_span_factorDouble--Time span factor
     time_step_factorDouble--Time step factor
     sampling_rateDouble--Sampling rate
}
dimensions {
     brace_heightDoublemBrace height
     draw_lengthDoublemDraw length
     handle_lengthDoublemHandle length
     handle_setbackDoublemHandle setback
     handle_angleDoublemHandle angle
}
materials [
     {
          nameStringName
          colorStringColor
          rhoDoublekg/m³Density
          EDoublePaElastic modulus
     }
     {
          ...
     }
]
layers [
     {
          nameStringName
          materialIntegerMaterial index
          heightDouble[][]-- , mTable of relative length and height
     }
     {
          ...
     }
]
profile [
     {
          type: "line"StringLine segment
          parameters {
               lengthDoublemLength
          }
     }
     {
          type: "arc"StringArc segment
          parameters {
               lengthDoublemLength
               radiusDoublemRadius
          }
     }
     {
          type: "spiral"StringSpiral segment
          parameters {
               lengthDoublemLength
               r_startDoublemStart radius
               r_endDoublemEnd radius
          }
     }
     {
          type: "spline"StringSpline segment
          parameters {
               pointsDouble[][]m , mList of (x, y) points
          }
     }
     {
          ...
     }
]
widthDouble[][]-- , mTable of relative length and width
string {
     strand_stiffnessDoubleNStiffness of the string material
     strand_densityDoublekg/mDensity of the string material
     n_strandsInteger--Number of strands
}
masses {
     arrowDoublekgMass of the arrow
     string_centerDoublekgAdditional mass at string center
     string_tipDoublekgAdditional mass at string tips
     limb_tipDoublekgAdditional mass at limb tips
}
damping {
     damping_ratio_limbsDouble--Damping ratio of the limbs
     damping_ratio_stringDouble--Damping ratio of the string
}