5.1. Model Files

Note
The following specification is subject to change. Even though the goal is to keep compatibility with older model files as much as possible, scripts working with .bow files should always expect incompatibilities with newer versions of VirtualBow.
Field Type Unit Description

version

String

 — 

VirtualBow version number

comment

String

 — 

User comments

settings {

     n_limb_elements

Integer

 — 

Number of limb elements

     n_string_elements

Integer

 — 

Number of string elements

     n_draw_steps

Integer

 — 

Number of draw steps

     arrow_clamp_force

Double

 — 

Arrow clamp force

     time_span_factor

Double

 — 

Time span factor

     time_step_factor

Double

 — 

Time step factor

     sampling_rate

Double

 — 

Sampling rate

}

dimensions {

     brace_height

Double

m

Brace height

     draw_length

Double

m

Draw length

     handle_length

Double

m

Handle length

     handle_setback

Double

m

Handle setback

     handle_angle

Double

m

Handle angle

}

profile

Double[][]

m, 1/m

Table with arc length and curvature

width

Double[][]

 — , m

Table with position and width

layers [

     {

          name

String

Layer name

          height

Double[][]

 — , m

Table with position and height

          rho

Double

kg/m³

Density of the material

          E

Double

Pa

Elastic modulus of the material

     }

     {

          …​

     }

]

string {

     strand_stiffness

Double

N

Stiffness of the string material

     strand_density

Double

kg/m

Density of the string material

     n_strands

Integer

 — 

Number of strands

}

masses {

     arrow

Double

kg

Mass of the arrow

     string_center

Double

kg

Additional mass at string center

     string_tip

Double

kg

Additional mass at string tips

     limb_tip

Double

kg

Additional mass at limb tips

}

damping {

     damping_ratio_limbs

Double

 — 

Damping ratio of the limbs

     damping_ratio_string

Double

 — 

Damping ratio of the string

}