// // tgtdefs-Ulm-BW-300m.txt - target definition file, Abbildung der BDMP-Scheibe Nr. 5 customized for MSzu Ulm // // $Author: dmc $ $Revision: 837 $ $Date: 2015-09-28 07:41:02 -0300 (Mon, 28 Sep 2015) $ // $Id: tgtdefs-Ulm-BW-300m.txt 837 2015-09-28 10:41:02Z dmc $ var YARDSTOMETRES = 3/3.28; var INCHESTOMM = 25.4; var MM_PER_MOA_PER_100M = 1.047*25.4*39.37/36 / 100; // multiply this by the distance in metres var MM_PER_MOA_PER_1Y = 1.047*25.4/100 ; // multiply this by the distance in yards var MM_PER_MOA_PER_1M = 1.047*25.4/100*39.37/36 ; // multiply this by the distance in metres var ulm_300_targetboard = { width: 1020, height: 1020, colour:"white", bordercolour:"black", borderwidth:10 }; var ulm_options = { // options used by v2.1 code: //shot_format: '{1}-{2}X', // e.g. "99-8X" speed_unit_name: 'm/s', // units to report speed; default = 'fps' speed_unit_mpier: 1, // speeds will be round()'ed groupsize_unit_mpier: 1, // show group size in mm groupsize_unit_name: 'mm', // groupsize_unit_ndigs: 0, // XXXmm }; var ulm_options_x = { // targets with an "X" // options used by v2.1 code: shot_format: '{1}-{2}X', // e.g. "99-8X" speed_unit_name: 'm/s', // units to report speed; default = 'fps' speed_unit_mpier: 1, // speeds will be round()'ed groupsize_unit_mpier: 1, // show group size in mm groupsize_unit_name: 'mm', // groupsize_unit_ndigs: 0, // XXXmm }; module.exports = { 'BW Scheibe 300m': { distance:300, centrecoords: {x:0, y:0}, targetboard: ulm_300_targetboard, grid: { disabled:1, // set in order to turn off grid }, bullet_dia: 8.0, // 8mm gauging for ISSF rules options : ulm_options, scoringzones: [ // draw this in reverse order // search for a hit in forward order // default values: {x:0, y:0} { name:"10", score:10, colour:"transparent", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:100 } }, { name:"9", score:9, colour:"white", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:200 } }, { name:"8", score:8, colour:"black", bordercolour:"white", borderwidth:3, type: {name:"ring", dia:300 } }, { name:"7", score:7, colour:"transparent", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:400 } }, { name:"6", score:6, colour:"transparent", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:500 } }, { name:"5", score:5, colour:"transparent", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:600 } }, { name:"4", score:4, colour:"transparent", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:700 } }, { name:"3", score:3, colour:"transparent", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:800 } }, { name:"2", score:2, colour:"transparent", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:900 } }, { name:"1", score:1, colour:"transparent", bordercolour:"black", borderwidth:3, type: {name:"ring", dia:1000 } }, { name:"0", score:0, colour:"transparent", type: {name:"rect", width: 1300, height: 1220} }, { name:"miss", score:0, colour:"transparent", type: {name:"rect", width: 1500, height: 1500} }, ], }, }