{
 "commands": [
  {
   "command": "parameters.add",
   "params": {
    "name": "gmodule",
    "expression": "2 mm",
    "comment": "module (tooth profiles are generated for m=2; changing it does not regenerate teeth)"
   }
  },
  {
   "command": "parameters.add",
   "params": {
    "name": "z1",
    "expression": "20",
    "unit": "",
    "comment": "pinion teeth (profile generated)"
   }
  },
  {
   "command": "parameters.add",
   "params": {
    "name": "z2",
    "expression": "40",
    "unit": "",
    "comment": "gear teeth (profile generated)"
   }
  },
  {
   "command": "parameters.add",
   "params": {
    "name": "a",
    "expression": "gmodule*(z1+z2)/2",
    "comment": "centre distance"
   }
  },
  {
   "command": "parameters.add",
   "params": {
    "name": "fw",
    "expression": "8 mm",
    "comment": "face width"
   }
  },
  {
   "command": "parameters.add",
   "params": {
    "name": "bore",
    "expression": "6 mm",
    "comment": "bore diameter, 3..8 mm"
   }
  },
  {
   "command": "parameters.add",
   "params": {
    "name": "kw",
    "expression": "2 mm",
    "comment": "keyway width, < bore"
   }
  },
  {
   "command": "parameters.add",
   "params": {
    "name": "kt",
    "expression": "1 mm",
    "comment": "keyway depth beyond bore"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Gear40Profile"
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      37.487698,
      0.960477
     ],
     [
      37.531536,
      0.9616
     ],
     [
      37.575374,
      0.962723
     ],
     [
      37.769965,
      0.980993
     ],
     [
      38.125051,
      1.040323
     ],
     [
      38.583875,
      1.147768
     ],
     [
      39.125798,
      1.308939
     ],
     [
      39.738446,
      1.528885
     ],
     [
      40.412954,
      1.812406
     ],
     [
      41.142232,
      2.164188
     ],
     [
      41.920136,
      2.588866
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     41.920136,
     2.588866
    ],
    "end": [
     41.809017,
     4.000762
    ],
    "through": [
     41.870528,
     3.295282
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      41.809017,
      4.000762
     ],
     [
      40.974256,
      4.29852
     ],
     [
      40.198927,
      4.531886
     ],
     [
      39.48837,
      4.706401
     ],
     [
      38.848857,
      4.8278
     ],
     [
      38.288394,
      4.902211
     ],
     [
      37.81841,
      4.936557
     ],
     [
      37.458415,
      4.939609
     ],
     [
      37.263362,
      4.927213
     ],
     [
      37.219888,
      4.921464
     ],
     [
      37.176414,
      4.915716
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     37.176414,
     4.915716
    ],
    "end": [
     36.87591,
     6.81302
    ],
    "through": [
     37.038313,
     5.866292
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      36.87591,
      6.81302
     ],
     [
      36.919033,
      6.820987
     ],
     [
      36.962155,
      6.828954
     ],
     [
      37.151493,
      6.87744
     ],
     [
      37.492926,
      6.991587
     ],
     [
      37.929293,
      7.169485
     ],
     [
      38.439331,
      7.413447
     ],
     [
      39.010029,
      7.726524
     ],
     [
      39.631881,
      8.112071
     ],
     [
      40.297149,
      8.573606
     ],
     [
      40.999041,
      9.114746
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     40.999041,
     9.114746
    ],
    "end": [
     40.668422,
     10.491877
    ],
    "through": [
     40.839537,
     9.804705
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      40.668422,
      10.491877
     ],
     [
      39.797359,
      10.655384
     ],
     [
      38.995068,
      10.764589
     ],
     [
      38.265959,
      10.825799
     ],
     [
      37.615329,
      10.845662
     ],
     [
      37.050126,
      10.831481
     ],
     [
      36.580555,
      10.791883
     ],
     [
      36.224515,
      10.738581
     ],
     [
      36.033802,
      10.695825
     ],
     [
      35.991763,
      10.683346
     ],
     [
      35.949723,
      10.670868
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     35.949723,
     10.670868
    ],
    "end": [
     35.356115,
     12.497804
    ],
    "through": [
     35.664619,
     11.588137
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      35.356115,
      12.497804
     ],
     [
      35.397461,
      12.512419
     ],
     [
      35.438806,
      12.527034
     ],
     [
      35.618228,
      12.604541
     ],
     [
      35.9376,
      12.770694
     ],
     [
      36.340766,
      13.014665
     ],
     [
      36.806361,
      13.335411
     ],
     [
      37.321056,
      13.733911
     ],
     [
      37.874939,
      14.21199
     ],
     [
      38.459817,
      14.771914
     ],
     [
      39.068415,
      15.416192
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     39.068415,
     15.416192
    ],
    "end": [
     38.526435,
     16.724647
    ],
    "through": [
     38.80294,
     16.072704
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      38.526435,
      16.724647
     ],
     [
      37.640518,
      16.749877
     ],
     [
      36.831021,
      16.732232
     ],
     [
      36.101314,
      16.67863
     ],
     [
      35.455587,
      16.596468
     ],
     [
      34.89956,
      16.494044
     ],
     [
      34.441966,
      16.381476
     ],
     [
      34.098647,
      16.273134
     ],
     [
      33.916971,
      16.20107
     ],
     [
      33.877401,
      16.182169
     ],
     [
      33.837831,
      16.163267
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     33.837831,
     16.163267
    ],
    "end": [
     32.965736,
     17.87485
    ],
    "through": [
     33.412745,
     17.024644
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      32.965736,
      17.87485
     ],
     [
      33.004286,
      17.895753
     ],
     [
      33.042836,
      17.916656
     ],
     [
      33.207924,
      18.021276
     ],
     [
      33.497372,
      18.235345
     ],
     [
      33.857409,
      18.539381
     ],
     [
      34.267095,
      18.929013
     ],
     [
      34.713115,
      19.403123
     ],
     [
      35.185391,
      19.961963
     ],
     [
      35.675476,
      20.606488
     ],
     [
      36.175794,
      21.338039
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     36.175794,
     21.338039
    ],
    "end": [
     35.435799,
     22.545601
    ],
    "through": [
     35.810887,
     21.94494
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      35.435799,
      22.545601
     ],
     [
      34.556843,
      22.431932
     ],
     [
      33.760073,
      22.287871
     ],
     [
      33.047734,
      22.120778
     ],
     [
      32.42281,
      21.938613
     ],
     [
      31.889652,
      21.750469
     ],
     [
      31.4553,
      21.567704
     ],
     [
      31.133157,
      21.406989
     ],
     [
      30.964991,
      21.307391
     ],
     [
      30.928865,
      21.282532
     ],
     [
      30.892739,
      21.257674
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     30.892739,
     21.257674
    ],
    "end": [
     29.76363,
     22.811758
    ],
    "through": [
     30.338137,
     22.041947
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      29.76363,
      22.811758
     ],
     [
      29.798436,
      22.838434
     ],
     [
      29.833241,
      22.86511
     ],
     [
      29.97993,
      22.994268
     ],
     [
      30.232328,
      23.250981
     ],
     [
      30.54037,
      23.607596
     ],
     [
      30.884061,
      24.056521
     ],
     [
      31.250422,
      24.594566
     ],
     [
      31.629461,
      25.220406
     ],
     [
      32.012687,
      25.933662
     ],
     [
      32.392405,
      26.734474
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     32.392405,
     26.734474
    ],
    "end": [
     31.472617,
     27.811408
    ],
    "through": [
     31.937051,
     27.276818
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      31.472617,
      27.811408
     ],
     [
      30.622263,
      27.561639
     ],
     [
      29.857839,
      27.294709
     ],
     [
      29.180409,
      27.01824
     ],
     [
      28.591676,
      26.740558
     ],
     [
      28.094514,
      26.471325
     ],
     [
      27.694101,
      26.222863
     ],
     [
      27.401065,
      26.013732
     ],
     [
      27.25055,
      25.889053
     ],
     [
      27.218758,
      25.858849
     ],
     [
      27.186965,
      25.828645
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     27.186965,
     25.828645
    ],
    "end": [
     25.828645,
     27.186965
    ],
    "through": [
     26.516504,
     26.516504
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      25.828645,
      27.186965
     ],
     [
      25.858849,
      27.218758
     ],
     [
      25.889053,
      27.25055
     ],
     [
      26.013732,
      27.401065
     ],
     [
      26.222863,
      27.694101
     ],
     [
      26.471325,
      28.094514
     ],
     [
      26.740558,
      28.591676
     ],
     [
      27.01824,
      29.180409
     ],
     [
      27.294709,
      29.857839
     ],
     [
      27.561639,
      30.622263
     ],
     [
      27.811408,
      31.472617
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     27.811408,
     31.472617
    ],
    "end": [
     26.734474,
     32.392405
    ],
    "through": [
     27.276818,
     31.937051
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      26.734474,
      32.392405
     ],
     [
      25.933662,
      32.012687
     ],
     [
      25.220406,
      31.629461
     ],
     [
      24.594566,
      31.250422
     ],
     [
      24.056521,
      30.884061
     ],
     [
      23.607596,
      30.54037
     ],
     [
      23.250981,
      30.232328
     ],
     [
      22.994268,
      29.97993
     ],
     [
      22.86511,
      29.833241
     ],
     [
      22.838434,
      29.798436
     ],
     [
      22.811758,
      29.76363
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     22.811758,
     29.76363
    ],
    "end": [
     21.257674,
     30.892739
    ],
    "through": [
     22.041947,
     30.338137
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      21.257674,
      30.892739
     ],
     [
      21.282532,
      30.928865
     ],
     [
      21.307391,
      30.964991
     ],
     [
      21.406989,
      31.133157
     ],
     [
      21.567704,
      31.4553
     ],
     [
      21.750469,
      31.889652
     ],
     [
      21.938613,
      32.42281
     ],
     [
      22.120778,
      33.047734
     ],
     [
      22.287871,
      33.760073
     ],
     [
      22.431932,
      34.556843
     ],
     [
      22.545601,
      35.435799
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     22.545601,
     35.435799
    ],
    "end": [
     21.338039,
     36.175794
    ],
    "through": [
     21.94494,
     35.810887
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      21.338039,
      36.175794
     ],
     [
      20.606488,
      35.675476
     ],
     [
      19.961963,
      35.185391
     ],
     [
      19.403123,
      34.713115
     ],
     [
      18.929013,
      34.267095
     ],
     [
      18.539381,
      33.857409
     ],
     [
      18.235345,
      33.497372
     ],
     [
      18.021276,
      33.207924
     ],
     [
      17.916656,
      33.042836
     ],
     [
      17.895753,
      33.004286
     ],
     [
      17.87485,
      32.965736
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     17.87485,
     32.965736
    ],
    "end": [
     16.163267,
     33.837831
    ],
    "through": [
     17.024644,
     33.412745
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      16.163267,
      33.837831
     ],
     [
      16.182169,
      33.877401
     ],
     [
      16.20107,
      33.916971
     ],
     [
      16.273134,
      34.098647
     ],
     [
      16.381476,
      34.441966
     ],
     [
      16.494044,
      34.89956
     ],
     [
      16.596468,
      35.455587
     ],
     [
      16.67863,
      36.101314
     ],
     [
      16.732232,
      36.831021
     ],
     [
      16.749877,
      37.640518
     ],
     [
      16.724647,
      38.526435
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     16.724647,
     38.526435
    ],
    "end": [
     15.416192,
     39.068415
    ],
    "through": [
     16.072704,
     38.80294
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      15.416192,
      39.068415
     ],
     [
      14.771914,
      38.459817
     ],
     [
      14.21199,
      37.874939
     ],
     [
      13.733911,
      37.321056
     ],
     [
      13.335411,
      36.806361
     ],
     [
      13.014665,
      36.340766
     ],
     [
      12.770694,
      35.9376
     ],
     [
      12.604541,
      35.618228
     ],
     [
      12.527034,
      35.438806
     ],
     [
      12.512419,
      35.397461
     ],
     [
      12.497804,
      35.356115
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     12.497804,
     35.356115
    ],
    "end": [
     10.670868,
     35.949723
    ],
    "through": [
     11.588137,
     35.664619
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      10.670868,
      35.949723
     ],
     [
      10.683346,
      35.991763
     ],
     [
      10.695825,
      36.033802
     ],
     [
      10.738581,
      36.224515
     ],
     [
      10.791883,
      36.580555
     ],
     [
      10.831481,
      37.050126
     ],
     [
      10.845662,
      37.615329
     ],
     [
      10.825799,
      38.265959
     ],
     [
      10.764589,
      38.995068
     ],
     [
      10.655384,
      39.797359
     ],
     [
      10.491877,
      40.668422
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     10.491877,
     40.668422
    ],
    "end": [
     9.114746,
     40.999041
    ],
    "through": [
     9.804705,
     40.839537
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      9.114746,
      40.999041
     ],
     [
      8.573606,
      40.297149
     ],
     [
      8.112071,
      39.631881
     ],
     [
      7.726524,
      39.010029
     ],
     [
      7.413447,
      38.439331
     ],
     [
      7.169485,
      37.929293
     ],
     [
      6.991587,
      37.492926
     ],
     [
      6.87744,
      37.151493
     ],
     [
      6.828954,
      36.962155
     ],
     [
      6.820987,
      36.919033
     ],
     [
      6.81302,
      36.87591
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     6.81302,
     36.87591
    ],
    "end": [
     4.915716,
     37.176414
    ],
    "through": [
     5.866292,
     37.038313
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      4.915716,
      37.176414
     ],
     [
      4.921464,
      37.219888
     ],
     [
      4.927213,
      37.263362
     ],
     [
      4.939609,
      37.458415
     ],
     [
      4.936557,
      37.81841
     ],
     [
      4.902211,
      38.288394
     ],
     [
      4.8278,
      38.848857
     ],
     [
      4.706401,
      39.48837
     ],
     [
      4.531886,
      40.198927
     ],
     [
      4.29852,
      40.974256
     ],
     [
      4.000762,
      41.809017
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     4.000762,
     41.809017
    ],
    "end": [
     2.588866,
     41.920136
    ],
    "through": [
     3.295282,
     41.870528
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      2.588866,
      41.920136
     ],
     [
      2.164188,
      41.142232
     ],
     [
      1.812406,
      40.412954
     ],
     [
      1.528885,
      39.738446
     ],
     [
      1.308939,
      39.125798
     ],
     [
      1.147768,
      38.583875
     ],
     [
      1.040323,
      38.125051
     ],
     [
      0.980993,
      37.769965
     ],
     [
      0.962723,
      37.575374
     ],
     [
      0.9616,
      37.531536
     ],
     [
      0.960477,
      37.487698
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     0.960477,
     37.487698
    ],
    "end": [
     -0.960477,
     37.487698
    ],
    "through": [
     0.0,
     37.5
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -0.960477,
      37.487698
     ],
     [
      -0.9616,
      37.531536
     ],
     [
      -0.962723,
      37.575374
     ],
     [
      -0.980993,
      37.769965
     ],
     [
      -1.040323,
      38.125051
     ],
     [
      -1.147768,
      38.583875
     ],
     [
      -1.308939,
      39.125798
     ],
     [
      -1.528885,
      39.738446
     ],
     [
      -1.812406,
      40.412954
     ],
     [
      -2.164188,
      41.142232
     ],
     [
      -2.588866,
      41.920136
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -2.588866,
     41.920136
    ],
    "end": [
     -4.000762,
     41.809017
    ],
    "through": [
     -3.295282,
     41.870528
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -4.000762,
      41.809017
     ],
     [
      -4.29852,
      40.974256
     ],
     [
      -4.531886,
      40.198927
     ],
     [
      -4.706401,
      39.48837
     ],
     [
      -4.8278,
      38.848857
     ],
     [
      -4.902211,
      38.288394
     ],
     [
      -4.936557,
      37.81841
     ],
     [
      -4.939609,
      37.458415
     ],
     [
      -4.927213,
      37.263362
     ],
     [
      -4.921464,
      37.219888
     ],
     [
      -4.915716,
      37.176414
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -4.915716,
     37.176414
    ],
    "end": [
     -6.81302,
     36.87591
    ],
    "through": [
     -5.866292,
     37.038313
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -6.81302,
      36.87591
     ],
     [
      -6.820987,
      36.919033
     ],
     [
      -6.828954,
      36.962155
     ],
     [
      -6.87744,
      37.151493
     ],
     [
      -6.991587,
      37.492926
     ],
     [
      -7.169485,
      37.929293
     ],
     [
      -7.413447,
      38.439331
     ],
     [
      -7.726524,
      39.010029
     ],
     [
      -8.112071,
      39.631881
     ],
     [
      -8.573606,
      40.297149
     ],
     [
      -9.114746,
      40.999041
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -9.114746,
     40.999041
    ],
    "end": [
     -10.491877,
     40.668422
    ],
    "through": [
     -9.804705,
     40.839537
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -10.491877,
      40.668422
     ],
     [
      -10.655384,
      39.797359
     ],
     [
      -10.764589,
      38.995068
     ],
     [
      -10.825799,
      38.265959
     ],
     [
      -10.845662,
      37.615329
     ],
     [
      -10.831481,
      37.050126
     ],
     [
      -10.791883,
      36.580555
     ],
     [
      -10.738581,
      36.224515
     ],
     [
      -10.695825,
      36.033802
     ],
     [
      -10.683346,
      35.991763
     ],
     [
      -10.670868,
      35.949723
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -10.670868,
     35.949723
    ],
    "end": [
     -12.497804,
     35.356115
    ],
    "through": [
     -11.588137,
     35.664619
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -12.497804,
      35.356115
     ],
     [
      -12.512419,
      35.397461
     ],
     [
      -12.527034,
      35.438806
     ],
     [
      -12.604541,
      35.618228
     ],
     [
      -12.770694,
      35.9376
     ],
     [
      -13.014665,
      36.340766
     ],
     [
      -13.335411,
      36.806361
     ],
     [
      -13.733911,
      37.321056
     ],
     [
      -14.21199,
      37.874939
     ],
     [
      -14.771914,
      38.459817
     ],
     [
      -15.416192,
      39.068415
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -15.416192,
     39.068415
    ],
    "end": [
     -16.724647,
     38.526435
    ],
    "through": [
     -16.072704,
     38.80294
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -16.724647,
      38.526435
     ],
     [
      -16.749877,
      37.640518
     ],
     [
      -16.732232,
      36.831021
     ],
     [
      -16.67863,
      36.101314
     ],
     [
      -16.596468,
      35.455587
     ],
     [
      -16.494044,
      34.89956
     ],
     [
      -16.381476,
      34.441966
     ],
     [
      -16.273134,
      34.098647
     ],
     [
      -16.20107,
      33.916971
     ],
     [
      -16.182169,
      33.877401
     ],
     [
      -16.163267,
      33.837831
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -16.163267,
     33.837831
    ],
    "end": [
     -17.87485,
     32.965736
    ],
    "through": [
     -17.024644,
     33.412745
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -17.87485,
      32.965736
     ],
     [
      -17.895753,
      33.004286
     ],
     [
      -17.916656,
      33.042836
     ],
     [
      -18.021276,
      33.207924
     ],
     [
      -18.235345,
      33.497372
     ],
     [
      -18.539381,
      33.857409
     ],
     [
      -18.929013,
      34.267095
     ],
     [
      -19.403123,
      34.713115
     ],
     [
      -19.961963,
      35.185391
     ],
     [
      -20.606488,
      35.675476
     ],
     [
      -21.338039,
      36.175794
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -21.338039,
     36.175794
    ],
    "end": [
     -22.545601,
     35.435799
    ],
    "through": [
     -21.94494,
     35.810887
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -22.545601,
      35.435799
     ],
     [
      -22.431932,
      34.556843
     ],
     [
      -22.287871,
      33.760073
     ],
     [
      -22.120778,
      33.047734
     ],
     [
      -21.938613,
      32.42281
     ],
     [
      -21.750469,
      31.889652
     ],
     [
      -21.567704,
      31.4553
     ],
     [
      -21.406989,
      31.133157
     ],
     [
      -21.307391,
      30.964991
     ],
     [
      -21.282532,
      30.928865
     ],
     [
      -21.257674,
      30.892739
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -21.257674,
     30.892739
    ],
    "end": [
     -22.811758,
     29.76363
    ],
    "through": [
     -22.041947,
     30.338137
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -22.811758,
      29.76363
     ],
     [
      -22.838434,
      29.798436
     ],
     [
      -22.86511,
      29.833241
     ],
     [
      -22.994268,
      29.97993
     ],
     [
      -23.250981,
      30.232328
     ],
     [
      -23.607596,
      30.54037
     ],
     [
      -24.056521,
      30.884061
     ],
     [
      -24.594566,
      31.250422
     ],
     [
      -25.220406,
      31.629461
     ],
     [
      -25.933662,
      32.012687
     ],
     [
      -26.734474,
      32.392405
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -26.734474,
     32.392405
    ],
    "end": [
     -27.811408,
     31.472617
    ],
    "through": [
     -27.276818,
     31.937051
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -27.811408,
      31.472617
     ],
     [
      -27.561639,
      30.622263
     ],
     [
      -27.294709,
      29.857839
     ],
     [
      -27.01824,
      29.180409
     ],
     [
      -26.740558,
      28.591676
     ],
     [
      -26.471325,
      28.094514
     ],
     [
      -26.222863,
      27.694101
     ],
     [
      -26.013732,
      27.401065
     ],
     [
      -25.889053,
      27.25055
     ],
     [
      -25.858849,
      27.218758
     ],
     [
      -25.828645,
      27.186965
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -25.828645,
     27.186965
    ],
    "end": [
     -27.186965,
     25.828645
    ],
    "through": [
     -26.516504,
     26.516504
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -27.186965,
      25.828645
     ],
     [
      -27.218758,
      25.858849
     ],
     [
      -27.25055,
      25.889053
     ],
     [
      -27.401065,
      26.013732
     ],
     [
      -27.694101,
      26.222863
     ],
     [
      -28.094514,
      26.471325
     ],
     [
      -28.591676,
      26.740558
     ],
     [
      -29.180409,
      27.01824
     ],
     [
      -29.857839,
      27.294709
     ],
     [
      -30.622263,
      27.561639
     ],
     [
      -31.472617,
      27.811408
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -31.472617,
     27.811408
    ],
    "end": [
     -32.392405,
     26.734474
    ],
    "through": [
     -31.937051,
     27.276818
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -32.392405,
      26.734474
     ],
     [
      -32.012687,
      25.933662
     ],
     [
      -31.629461,
      25.220406
     ],
     [
      -31.250422,
      24.594566
     ],
     [
      -30.884061,
      24.056521
     ],
     [
      -30.54037,
      23.607596
     ],
     [
      -30.232328,
      23.250981
     ],
     [
      -29.97993,
      22.994268
     ],
     [
      -29.833241,
      22.86511
     ],
     [
      -29.798436,
      22.838434
     ],
     [
      -29.76363,
      22.811758
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -29.76363,
     22.811758
    ],
    "end": [
     -30.892739,
     21.257674
    ],
    "through": [
     -30.338137,
     22.041947
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -30.892739,
      21.257674
     ],
     [
      -30.928865,
      21.282532
     ],
     [
      -30.964991,
      21.307391
     ],
     [
      -31.133157,
      21.406989
     ],
     [
      -31.4553,
      21.567704
     ],
     [
      -31.889652,
      21.750469
     ],
     [
      -32.42281,
      21.938613
     ],
     [
      -33.047734,
      22.120778
     ],
     [
      -33.760073,
      22.287871
     ],
     [
      -34.556843,
      22.431932
     ],
     [
      -35.435799,
      22.545601
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -35.435799,
     22.545601
    ],
    "end": [
     -36.175794,
     21.338039
    ],
    "through": [
     -35.810887,
     21.94494
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -36.175794,
      21.338039
     ],
     [
      -35.675476,
      20.606488
     ],
     [
      -35.185391,
      19.961963
     ],
     [
      -34.713115,
      19.403123
     ],
     [
      -34.267095,
      18.929013
     ],
     [
      -33.857409,
      18.539381
     ],
     [
      -33.497372,
      18.235345
     ],
     [
      -33.207924,
      18.021276
     ],
     [
      -33.042836,
      17.916656
     ],
     [
      -33.004286,
      17.895753
     ],
     [
      -32.965736,
      17.87485
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -32.965736,
     17.87485
    ],
    "end": [
     -33.837831,
     16.163267
    ],
    "through": [
     -33.412745,
     17.024644
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -33.837831,
      16.163267
     ],
     [
      -33.877401,
      16.182169
     ],
     [
      -33.916971,
      16.20107
     ],
     [
      -34.098647,
      16.273134
     ],
     [
      -34.441966,
      16.381476
     ],
     [
      -34.89956,
      16.494044
     ],
     [
      -35.455587,
      16.596468
     ],
     [
      -36.101314,
      16.67863
     ],
     [
      -36.831021,
      16.732232
     ],
     [
      -37.640518,
      16.749877
     ],
     [
      -38.526435,
      16.724647
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -38.526435,
     16.724647
    ],
    "end": [
     -39.068415,
     15.416192
    ],
    "through": [
     -38.80294,
     16.072704
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -39.068415,
      15.416192
     ],
     [
      -38.459817,
      14.771914
     ],
     [
      -37.874939,
      14.21199
     ],
     [
      -37.321056,
      13.733911
     ],
     [
      -36.806361,
      13.335411
     ],
     [
      -36.340766,
      13.014665
     ],
     [
      -35.9376,
      12.770694
     ],
     [
      -35.618228,
      12.604541
     ],
     [
      -35.438806,
      12.527034
     ],
     [
      -35.397461,
      12.512419
     ],
     [
      -35.356115,
      12.497804
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -35.356115,
     12.497804
    ],
    "end": [
     -35.949723,
     10.670868
    ],
    "through": [
     -35.664619,
     11.588137
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -35.949723,
      10.670868
     ],
     [
      -35.991763,
      10.683346
     ],
     [
      -36.033802,
      10.695825
     ],
     [
      -36.224515,
      10.738581
     ],
     [
      -36.580555,
      10.791883
     ],
     [
      -37.050126,
      10.831481
     ],
     [
      -37.615329,
      10.845662
     ],
     [
      -38.265959,
      10.825799
     ],
     [
      -38.995068,
      10.764589
     ],
     [
      -39.797359,
      10.655384
     ],
     [
      -40.668422,
      10.491877
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -40.668422,
     10.491877
    ],
    "end": [
     -40.999041,
     9.114746
    ],
    "through": [
     -40.839537,
     9.804705
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -40.999041,
      9.114746
     ],
     [
      -40.297149,
      8.573606
     ],
     [
      -39.631881,
      8.112071
     ],
     [
      -39.010029,
      7.726524
     ],
     [
      -38.439331,
      7.413447
     ],
     [
      -37.929293,
      7.169485
     ],
     [
      -37.492926,
      6.991587
     ],
     [
      -37.151493,
      6.87744
     ],
     [
      -36.962155,
      6.828954
     ],
     [
      -36.919033,
      6.820987
     ],
     [
      -36.87591,
      6.81302
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -36.87591,
     6.81302
    ],
    "end": [
     -37.176414,
     4.915716
    ],
    "through": [
     -37.038313,
     5.866292
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -37.176414,
      4.915716
     ],
     [
      -37.219888,
      4.921464
     ],
     [
      -37.263362,
      4.927213
     ],
     [
      -37.458415,
      4.939609
     ],
     [
      -37.81841,
      4.936557
     ],
     [
      -38.288394,
      4.902211
     ],
     [
      -38.848857,
      4.8278
     ],
     [
      -39.48837,
      4.706401
     ],
     [
      -40.198927,
      4.531886
     ],
     [
      -40.974256,
      4.29852
     ],
     [
      -41.809017,
      4.000762
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -41.809017,
     4.000762
    ],
    "end": [
     -41.920136,
     2.588866
    ],
    "through": [
     -41.870528,
     3.295282
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -41.920136,
      2.588866
     ],
     [
      -41.142232,
      2.164188
     ],
     [
      -40.412954,
      1.812406
     ],
     [
      -39.738446,
      1.528885
     ],
     [
      -39.125798,
      1.308939
     ],
     [
      -38.583875,
      1.147768
     ],
     [
      -38.125051,
      1.040323
     ],
     [
      -37.769965,
      0.980993
     ],
     [
      -37.575374,
      0.962723
     ],
     [
      -37.531536,
      0.9616
     ],
     [
      -37.487698,
      0.960477
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -37.487698,
     0.960477
    ],
    "end": [
     -37.487698,
     -0.960477
    ],
    "through": [
     -37.5,
     0.0
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -37.487698,
      -0.960477
     ],
     [
      -37.531536,
      -0.9616
     ],
     [
      -37.575374,
      -0.962723
     ],
     [
      -37.769965,
      -0.980993
     ],
     [
      -38.125051,
      -1.040323
     ],
     [
      -38.583875,
      -1.147768
     ],
     [
      -39.125798,
      -1.308939
     ],
     [
      -39.738446,
      -1.528885
     ],
     [
      -40.412954,
      -1.812406
     ],
     [
      -41.142232,
      -2.164188
     ],
     [
      -41.920136,
      -2.588866
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -41.920136,
     -2.588866
    ],
    "end": [
     -41.809017,
     -4.000762
    ],
    "through": [
     -41.870528,
     -3.295282
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -41.809017,
      -4.000762
     ],
     [
      -40.974256,
      -4.29852
     ],
     [
      -40.198927,
      -4.531886
     ],
     [
      -39.48837,
      -4.706401
     ],
     [
      -38.848857,
      -4.8278
     ],
     [
      -38.288394,
      -4.902211
     ],
     [
      -37.81841,
      -4.936557
     ],
     [
      -37.458415,
      -4.939609
     ],
     [
      -37.263362,
      -4.927213
     ],
     [
      -37.219888,
      -4.921464
     ],
     [
      -37.176414,
      -4.915716
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -37.176414,
     -4.915716
    ],
    "end": [
     -36.87591,
     -6.81302
    ],
    "through": [
     -37.038313,
     -5.866292
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -36.87591,
      -6.81302
     ],
     [
      -36.919033,
      -6.820987
     ],
     [
      -36.962155,
      -6.828954
     ],
     [
      -37.151493,
      -6.87744
     ],
     [
      -37.492926,
      -6.991587
     ],
     [
      -37.929293,
      -7.169485
     ],
     [
      -38.439331,
      -7.413447
     ],
     [
      -39.010029,
      -7.726524
     ],
     [
      -39.631881,
      -8.112071
     ],
     [
      -40.297149,
      -8.573606
     ],
     [
      -40.999041,
      -9.114746
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -40.999041,
     -9.114746
    ],
    "end": [
     -40.668422,
     -10.491877
    ],
    "through": [
     -40.839537,
     -9.804705
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -40.668422,
      -10.491877
     ],
     [
      -39.797359,
      -10.655384
     ],
     [
      -38.995068,
      -10.764589
     ],
     [
      -38.265959,
      -10.825799
     ],
     [
      -37.615329,
      -10.845662
     ],
     [
      -37.050126,
      -10.831481
     ],
     [
      -36.580555,
      -10.791883
     ],
     [
      -36.224515,
      -10.738581
     ],
     [
      -36.033802,
      -10.695825
     ],
     [
      -35.991763,
      -10.683346
     ],
     [
      -35.949723,
      -10.670868
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -35.949723,
     -10.670868
    ],
    "end": [
     -35.356115,
     -12.497804
    ],
    "through": [
     -35.664619,
     -11.588137
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -35.356115,
      -12.497804
     ],
     [
      -35.397461,
      -12.512419
     ],
     [
      -35.438806,
      -12.527034
     ],
     [
      -35.618228,
      -12.604541
     ],
     [
      -35.9376,
      -12.770694
     ],
     [
      -36.340766,
      -13.014665
     ],
     [
      -36.806361,
      -13.335411
     ],
     [
      -37.321056,
      -13.733911
     ],
     [
      -37.874939,
      -14.21199
     ],
     [
      -38.459817,
      -14.771914
     ],
     [
      -39.068415,
      -15.416192
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -39.068415,
     -15.416192
    ],
    "end": [
     -38.526435,
     -16.724647
    ],
    "through": [
     -38.80294,
     -16.072704
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -38.526435,
      -16.724647
     ],
     [
      -37.640518,
      -16.749877
     ],
     [
      -36.831021,
      -16.732232
     ],
     [
      -36.101314,
      -16.67863
     ],
     [
      -35.455587,
      -16.596468
     ],
     [
      -34.89956,
      -16.494044
     ],
     [
      -34.441966,
      -16.381476
     ],
     [
      -34.098647,
      -16.273134
     ],
     [
      -33.916971,
      -16.20107
     ],
     [
      -33.877401,
      -16.182169
     ],
     [
      -33.837831,
      -16.163267
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -33.837831,
     -16.163267
    ],
    "end": [
     -32.965736,
     -17.87485
    ],
    "through": [
     -33.412745,
     -17.024644
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -32.965736,
      -17.87485
     ],
     [
      -33.004286,
      -17.895753
     ],
     [
      -33.042836,
      -17.916656
     ],
     [
      -33.207924,
      -18.021276
     ],
     [
      -33.497372,
      -18.235345
     ],
     [
      -33.857409,
      -18.539381
     ],
     [
      -34.267095,
      -18.929013
     ],
     [
      -34.713115,
      -19.403123
     ],
     [
      -35.185391,
      -19.961963
     ],
     [
      -35.675476,
      -20.606488
     ],
     [
      -36.175794,
      -21.338039
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -36.175794,
     -21.338039
    ],
    "end": [
     -35.435799,
     -22.545601
    ],
    "through": [
     -35.810887,
     -21.94494
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -35.435799,
      -22.545601
     ],
     [
      -34.556843,
      -22.431932
     ],
     [
      -33.760073,
      -22.287871
     ],
     [
      -33.047734,
      -22.120778
     ],
     [
      -32.42281,
      -21.938613
     ],
     [
      -31.889652,
      -21.750469
     ],
     [
      -31.4553,
      -21.567704
     ],
     [
      -31.133157,
      -21.406989
     ],
     [
      -30.964991,
      -21.307391
     ],
     [
      -30.928865,
      -21.282532
     ],
     [
      -30.892739,
      -21.257674
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -30.892739,
     -21.257674
    ],
    "end": [
     -29.76363,
     -22.811758
    ],
    "through": [
     -30.338137,
     -22.041947
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -29.76363,
      -22.811758
     ],
     [
      -29.798436,
      -22.838434
     ],
     [
      -29.833241,
      -22.86511
     ],
     [
      -29.97993,
      -22.994268
     ],
     [
      -30.232328,
      -23.250981
     ],
     [
      -30.54037,
      -23.607596
     ],
     [
      -30.884061,
      -24.056521
     ],
     [
      -31.250422,
      -24.594566
     ],
     [
      -31.629461,
      -25.220406
     ],
     [
      -32.012687,
      -25.933662
     ],
     [
      -32.392405,
      -26.734474
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -32.392405,
     -26.734474
    ],
    "end": [
     -31.472617,
     -27.811408
    ],
    "through": [
     -31.937051,
     -27.276818
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -31.472617,
      -27.811408
     ],
     [
      -30.622263,
      -27.561639
     ],
     [
      -29.857839,
      -27.294709
     ],
     [
      -29.180409,
      -27.01824
     ],
     [
      -28.591676,
      -26.740558
     ],
     [
      -28.094514,
      -26.471325
     ],
     [
      -27.694101,
      -26.222863
     ],
     [
      -27.401065,
      -26.013732
     ],
     [
      -27.25055,
      -25.889053
     ],
     [
      -27.218758,
      -25.858849
     ],
     [
      -27.186965,
      -25.828645
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -27.186965,
     -25.828645
    ],
    "end": [
     -25.828645,
     -27.186965
    ],
    "through": [
     -26.516504,
     -26.516504
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -25.828645,
      -27.186965
     ],
     [
      -25.858849,
      -27.218758
     ],
     [
      -25.889053,
      -27.25055
     ],
     [
      -26.013732,
      -27.401065
     ],
     [
      -26.222863,
      -27.694101
     ],
     [
      -26.471325,
      -28.094514
     ],
     [
      -26.740558,
      -28.591676
     ],
     [
      -27.01824,
      -29.180409
     ],
     [
      -27.294709,
      -29.857839
     ],
     [
      -27.561639,
      -30.622263
     ],
     [
      -27.811408,
      -31.472617
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -27.811408,
     -31.472617
    ],
    "end": [
     -26.734474,
     -32.392405
    ],
    "through": [
     -27.276818,
     -31.937051
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -26.734474,
      -32.392405
     ],
     [
      -25.933662,
      -32.012687
     ],
     [
      -25.220406,
      -31.629461
     ],
     [
      -24.594566,
      -31.250422
     ],
     [
      -24.056521,
      -30.884061
     ],
     [
      -23.607596,
      -30.54037
     ],
     [
      -23.250981,
      -30.232328
     ],
     [
      -22.994268,
      -29.97993
     ],
     [
      -22.86511,
      -29.833241
     ],
     [
      -22.838434,
      -29.798436
     ],
     [
      -22.811758,
      -29.76363
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -22.811758,
     -29.76363
    ],
    "end": [
     -21.257674,
     -30.892739
    ],
    "through": [
     -22.041947,
     -30.338137
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -21.257674,
      -30.892739
     ],
     [
      -21.282532,
      -30.928865
     ],
     [
      -21.307391,
      -30.964991
     ],
     [
      -21.406989,
      -31.133157
     ],
     [
      -21.567704,
      -31.4553
     ],
     [
      -21.750469,
      -31.889652
     ],
     [
      -21.938613,
      -32.42281
     ],
     [
      -22.120778,
      -33.047734
     ],
     [
      -22.287871,
      -33.760073
     ],
     [
      -22.431932,
      -34.556843
     ],
     [
      -22.545601,
      -35.435799
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -22.545601,
     -35.435799
    ],
    "end": [
     -21.338039,
     -36.175794
    ],
    "through": [
     -21.94494,
     -35.810887
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -21.338039,
      -36.175794
     ],
     [
      -20.606488,
      -35.675476
     ],
     [
      -19.961963,
      -35.185391
     ],
     [
      -19.403123,
      -34.713115
     ],
     [
      -18.929013,
      -34.267095
     ],
     [
      -18.539381,
      -33.857409
     ],
     [
      -18.235345,
      -33.497372
     ],
     [
      -18.021276,
      -33.207924
     ],
     [
      -17.916656,
      -33.042836
     ],
     [
      -17.895753,
      -33.004286
     ],
     [
      -17.87485,
      -32.965736
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -17.87485,
     -32.965736
    ],
    "end": [
     -16.163267,
     -33.837831
    ],
    "through": [
     -17.024644,
     -33.412745
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -16.163267,
      -33.837831
     ],
     [
      -16.182169,
      -33.877401
     ],
     [
      -16.20107,
      -33.916971
     ],
     [
      -16.273134,
      -34.098647
     ],
     [
      -16.381476,
      -34.441966
     ],
     [
      -16.494044,
      -34.89956
     ],
     [
      -16.596468,
      -35.455587
     ],
     [
      -16.67863,
      -36.101314
     ],
     [
      -16.732232,
      -36.831021
     ],
     [
      -16.749877,
      -37.640518
     ],
     [
      -16.724647,
      -38.526435
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -16.724647,
     -38.526435
    ],
    "end": [
     -15.416192,
     -39.068415
    ],
    "through": [
     -16.072704,
     -38.80294
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -15.416192,
      -39.068415
     ],
     [
      -14.771914,
      -38.459817
     ],
     [
      -14.21199,
      -37.874939
     ],
     [
      -13.733911,
      -37.321056
     ],
     [
      -13.335411,
      -36.806361
     ],
     [
      -13.014665,
      -36.340766
     ],
     [
      -12.770694,
      -35.9376
     ],
     [
      -12.604541,
      -35.618228
     ],
     [
      -12.527034,
      -35.438806
     ],
     [
      -12.512419,
      -35.397461
     ],
     [
      -12.497804,
      -35.356115
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -12.497804,
     -35.356115
    ],
    "end": [
     -10.670868,
     -35.949723
    ],
    "through": [
     -11.588137,
     -35.664619
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -10.670868,
      -35.949723
     ],
     [
      -10.683346,
      -35.991763
     ],
     [
      -10.695825,
      -36.033802
     ],
     [
      -10.738581,
      -36.224515
     ],
     [
      -10.791883,
      -36.580555
     ],
     [
      -10.831481,
      -37.050126
     ],
     [
      -10.845662,
      -37.615329
     ],
     [
      -10.825799,
      -38.265959
     ],
     [
      -10.764589,
      -38.995068
     ],
     [
      -10.655384,
      -39.797359
     ],
     [
      -10.491877,
      -40.668422
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -10.491877,
     -40.668422
    ],
    "end": [
     -9.114746,
     -40.999041
    ],
    "through": [
     -9.804705,
     -40.839537
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -9.114746,
      -40.999041
     ],
     [
      -8.573606,
      -40.297149
     ],
     [
      -8.112071,
      -39.631881
     ],
     [
      -7.726524,
      -39.010029
     ],
     [
      -7.413447,
      -38.439331
     ],
     [
      -7.169485,
      -37.929293
     ],
     [
      -6.991587,
      -37.492926
     ],
     [
      -6.87744,
      -37.151493
     ],
     [
      -6.828954,
      -36.962155
     ],
     [
      -6.820987,
      -36.919033
     ],
     [
      -6.81302,
      -36.87591
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -6.81302,
     -36.87591
    ],
    "end": [
     -4.915716,
     -37.176414
    ],
    "through": [
     -5.866292,
     -37.038313
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -4.915716,
      -37.176414
     ],
     [
      -4.921464,
      -37.219888
     ],
     [
      -4.927213,
      -37.263362
     ],
     [
      -4.939609,
      -37.458415
     ],
     [
      -4.936557,
      -37.81841
     ],
     [
      -4.902211,
      -38.288394
     ],
     [
      -4.8278,
      -38.848857
     ],
     [
      -4.706401,
      -39.48837
     ],
     [
      -4.531886,
      -40.198927
     ],
     [
      -4.29852,
      -40.974256
     ],
     [
      -4.000762,
      -41.809017
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -4.000762,
     -41.809017
    ],
    "end": [
     -2.588866,
     -41.920136
    ],
    "through": [
     -3.295282,
     -41.870528
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -2.588866,
      -41.920136
     ],
     [
      -2.164188,
      -41.142232
     ],
     [
      -1.812406,
      -40.412954
     ],
     [
      -1.528885,
      -39.738446
     ],
     [
      -1.308939,
      -39.125798
     ],
     [
      -1.147768,
      -38.583875
     ],
     [
      -1.040323,
      -38.125051
     ],
     [
      -0.980993,
      -37.769965
     ],
     [
      -0.962723,
      -37.575374
     ],
     [
      -0.9616,
      -37.531536
     ],
     [
      -0.960477,
      -37.487698
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -0.960477,
     -37.487698
    ],
    "end": [
     0.960477,
     -37.487698
    ],
    "through": [
     -0.0,
     -37.5
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      0.960477,
      -37.487698
     ],
     [
      0.9616,
      -37.531536
     ],
     [
      0.962723,
      -37.575374
     ],
     [
      0.980993,
      -37.769965
     ],
     [
      1.040323,
      -38.125051
     ],
     [
      1.147768,
      -38.583875
     ],
     [
      1.308939,
      -39.125798
     ],
     [
      1.528885,
      -39.738446
     ],
     [
      1.812406,
      -40.412954
     ],
     [
      2.164188,
      -41.142232
     ],
     [
      2.588866,
      -41.920136
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     2.588866,
     -41.920136
    ],
    "end": [
     4.000762,
     -41.809017
    ],
    "through": [
     3.295282,
     -41.870528
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      4.000762,
      -41.809017
     ],
     [
      4.29852,
      -40.974256
     ],
     [
      4.531886,
      -40.198927
     ],
     [
      4.706401,
      -39.48837
     ],
     [
      4.8278,
      -38.848857
     ],
     [
      4.902211,
      -38.288394
     ],
     [
      4.936557,
      -37.81841
     ],
     [
      4.939609,
      -37.458415
     ],
     [
      4.927213,
      -37.263362
     ],
     [
      4.921464,
      -37.219888
     ],
     [
      4.915716,
      -37.176414
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     4.915716,
     -37.176414
    ],
    "end": [
     6.81302,
     -36.87591
    ],
    "through": [
     5.866292,
     -37.038313
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      6.81302,
      -36.87591
     ],
     [
      6.820987,
      -36.919033
     ],
     [
      6.828954,
      -36.962155
     ],
     [
      6.87744,
      -37.151493
     ],
     [
      6.991587,
      -37.492926
     ],
     [
      7.169485,
      -37.929293
     ],
     [
      7.413447,
      -38.439331
     ],
     [
      7.726524,
      -39.010029
     ],
     [
      8.112071,
      -39.631881
     ],
     [
      8.573606,
      -40.297149
     ],
     [
      9.114746,
      -40.999041
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     9.114746,
     -40.999041
    ],
    "end": [
     10.491877,
     -40.668422
    ],
    "through": [
     9.804705,
     -40.839537
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      10.491877,
      -40.668422
     ],
     [
      10.655384,
      -39.797359
     ],
     [
      10.764589,
      -38.995068
     ],
     [
      10.825799,
      -38.265959
     ],
     [
      10.845662,
      -37.615329
     ],
     [
      10.831481,
      -37.050126
     ],
     [
      10.791883,
      -36.580555
     ],
     [
      10.738581,
      -36.224515
     ],
     [
      10.695825,
      -36.033802
     ],
     [
      10.683346,
      -35.991763
     ],
     [
      10.670868,
      -35.949723
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     10.670868,
     -35.949723
    ],
    "end": [
     12.497804,
     -35.356115
    ],
    "through": [
     11.588137,
     -35.664619
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      12.497804,
      -35.356115
     ],
     [
      12.512419,
      -35.397461
     ],
     [
      12.527034,
      -35.438806
     ],
     [
      12.604541,
      -35.618228
     ],
     [
      12.770694,
      -35.9376
     ],
     [
      13.014665,
      -36.340766
     ],
     [
      13.335411,
      -36.806361
     ],
     [
      13.733911,
      -37.321056
     ],
     [
      14.21199,
      -37.874939
     ],
     [
      14.771914,
      -38.459817
     ],
     [
      15.416192,
      -39.068415
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     15.416192,
     -39.068415
    ],
    "end": [
     16.724647,
     -38.526435
    ],
    "through": [
     16.072704,
     -38.80294
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      16.724647,
      -38.526435
     ],
     [
      16.749877,
      -37.640518
     ],
     [
      16.732232,
      -36.831021
     ],
     [
      16.67863,
      -36.101314
     ],
     [
      16.596468,
      -35.455587
     ],
     [
      16.494044,
      -34.89956
     ],
     [
      16.381476,
      -34.441966
     ],
     [
      16.273134,
      -34.098647
     ],
     [
      16.20107,
      -33.916971
     ],
     [
      16.182169,
      -33.877401
     ],
     [
      16.163267,
      -33.837831
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     16.163267,
     -33.837831
    ],
    "end": [
     17.87485,
     -32.965736
    ],
    "through": [
     17.024644,
     -33.412745
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      17.87485,
      -32.965736
     ],
     [
      17.895753,
      -33.004286
     ],
     [
      17.916656,
      -33.042836
     ],
     [
      18.021276,
      -33.207924
     ],
     [
      18.235345,
      -33.497372
     ],
     [
      18.539381,
      -33.857409
     ],
     [
      18.929013,
      -34.267095
     ],
     [
      19.403123,
      -34.713115
     ],
     [
      19.961963,
      -35.185391
     ],
     [
      20.606488,
      -35.675476
     ],
     [
      21.338039,
      -36.175794
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     21.338039,
     -36.175794
    ],
    "end": [
     22.545601,
     -35.435799
    ],
    "through": [
     21.94494,
     -35.810887
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      22.545601,
      -35.435799
     ],
     [
      22.431932,
      -34.556843
     ],
     [
      22.287871,
      -33.760073
     ],
     [
      22.120778,
      -33.047734
     ],
     [
      21.938613,
      -32.42281
     ],
     [
      21.750469,
      -31.889652
     ],
     [
      21.567704,
      -31.4553
     ],
     [
      21.406989,
      -31.133157
     ],
     [
      21.307391,
      -30.964991
     ],
     [
      21.282532,
      -30.928865
     ],
     [
      21.257674,
      -30.892739
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     21.257674,
     -30.892739
    ],
    "end": [
     22.811758,
     -29.76363
    ],
    "through": [
     22.041947,
     -30.338137
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      22.811758,
      -29.76363
     ],
     [
      22.838434,
      -29.798436
     ],
     [
      22.86511,
      -29.833241
     ],
     [
      22.994268,
      -29.97993
     ],
     [
      23.250981,
      -30.232328
     ],
     [
      23.607596,
      -30.54037
     ],
     [
      24.056521,
      -30.884061
     ],
     [
      24.594566,
      -31.250422
     ],
     [
      25.220406,
      -31.629461
     ],
     [
      25.933662,
      -32.012687
     ],
     [
      26.734474,
      -32.392405
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     26.734474,
     -32.392405
    ],
    "end": [
     27.811408,
     -31.472617
    ],
    "through": [
     27.276818,
     -31.937051
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      27.811408,
      -31.472617
     ],
     [
      27.561639,
      -30.622263
     ],
     [
      27.294709,
      -29.857839
     ],
     [
      27.01824,
      -29.180409
     ],
     [
      26.740558,
      -28.591676
     ],
     [
      26.471325,
      -28.094514
     ],
     [
      26.222863,
      -27.694101
     ],
     [
      26.013732,
      -27.401065
     ],
     [
      25.889053,
      -27.25055
     ],
     [
      25.858849,
      -27.218758
     ],
     [
      25.828645,
      -27.186965
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     25.828645,
     -27.186965
    ],
    "end": [
     27.186965,
     -25.828645
    ],
    "through": [
     26.516504,
     -26.516504
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      27.186965,
      -25.828645
     ],
     [
      27.218758,
      -25.858849
     ],
     [
      27.25055,
      -25.889053
     ],
     [
      27.401065,
      -26.013732
     ],
     [
      27.694101,
      -26.222863
     ],
     [
      28.094514,
      -26.471325
     ],
     [
      28.591676,
      -26.740558
     ],
     [
      29.180409,
      -27.01824
     ],
     [
      29.857839,
      -27.294709
     ],
     [
      30.622263,
      -27.561639
     ],
     [
      31.472617,
      -27.811408
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     31.472617,
     -27.811408
    ],
    "end": [
     32.392405,
     -26.734474
    ],
    "through": [
     31.937051,
     -27.276818
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      32.392405,
      -26.734474
     ],
     [
      32.012687,
      -25.933662
     ],
     [
      31.629461,
      -25.220406
     ],
     [
      31.250422,
      -24.594566
     ],
     [
      30.884061,
      -24.056521
     ],
     [
      30.54037,
      -23.607596
     ],
     [
      30.232328,
      -23.250981
     ],
     [
      29.97993,
      -22.994268
     ],
     [
      29.833241,
      -22.86511
     ],
     [
      29.798436,
      -22.838434
     ],
     [
      29.76363,
      -22.811758
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     29.76363,
     -22.811758
    ],
    "end": [
     30.892739,
     -21.257674
    ],
    "through": [
     30.338137,
     -22.041947
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      30.892739,
      -21.257674
     ],
     [
      30.928865,
      -21.282532
     ],
     [
      30.964991,
      -21.307391
     ],
     [
      31.133157,
      -21.406989
     ],
     [
      31.4553,
      -21.567704
     ],
     [
      31.889652,
      -21.750469
     ],
     [
      32.42281,
      -21.938613
     ],
     [
      33.047734,
      -22.120778
     ],
     [
      33.760073,
      -22.287871
     ],
     [
      34.556843,
      -22.431932
     ],
     [
      35.435799,
      -22.545601
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     35.435799,
     -22.545601
    ],
    "end": [
     36.175794,
     -21.338039
    ],
    "through": [
     35.810887,
     -21.94494
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      36.175794,
      -21.338039
     ],
     [
      35.675476,
      -20.606488
     ],
     [
      35.185391,
      -19.961963
     ],
     [
      34.713115,
      -19.403123
     ],
     [
      34.267095,
      -18.929013
     ],
     [
      33.857409,
      -18.539381
     ],
     [
      33.497372,
      -18.235345
     ],
     [
      33.207924,
      -18.021276
     ],
     [
      33.042836,
      -17.916656
     ],
     [
      33.004286,
      -17.895753
     ],
     [
      32.965736,
      -17.87485
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     32.965736,
     -17.87485
    ],
    "end": [
     33.837831,
     -16.163267
    ],
    "through": [
     33.412745,
     -17.024644
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      33.837831,
      -16.163267
     ],
     [
      33.877401,
      -16.182169
     ],
     [
      33.916971,
      -16.20107
     ],
     [
      34.098647,
      -16.273134
     ],
     [
      34.441966,
      -16.381476
     ],
     [
      34.89956,
      -16.494044
     ],
     [
      35.455587,
      -16.596468
     ],
     [
      36.101314,
      -16.67863
     ],
     [
      36.831021,
      -16.732232
     ],
     [
      37.640518,
      -16.749877
     ],
     [
      38.526435,
      -16.724647
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     38.526435,
     -16.724647
    ],
    "end": [
     39.068415,
     -15.416192
    ],
    "through": [
     38.80294,
     -16.072704
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      39.068415,
      -15.416192
     ],
     [
      38.459817,
      -14.771914
     ],
     [
      37.874939,
      -14.21199
     ],
     [
      37.321056,
      -13.733911
     ],
     [
      36.806361,
      -13.335411
     ],
     [
      36.340766,
      -13.014665
     ],
     [
      35.9376,
      -12.770694
     ],
     [
      35.618228,
      -12.604541
     ],
     [
      35.438806,
      -12.527034
     ],
     [
      35.397461,
      -12.512419
     ],
     [
      35.356115,
      -12.497804
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     35.356115,
     -12.497804
    ],
    "end": [
     35.949723,
     -10.670868
    ],
    "through": [
     35.664619,
     -11.588137
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      35.949723,
      -10.670868
     ],
     [
      35.991763,
      -10.683346
     ],
     [
      36.033802,
      -10.695825
     ],
     [
      36.224515,
      -10.738581
     ],
     [
      36.580555,
      -10.791883
     ],
     [
      37.050126,
      -10.831481
     ],
     [
      37.615329,
      -10.845662
     ],
     [
      38.265959,
      -10.825799
     ],
     [
      38.995068,
      -10.764589
     ],
     [
      39.797359,
      -10.655384
     ],
     [
      40.668422,
      -10.491877
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     40.668422,
     -10.491877
    ],
    "end": [
     40.999041,
     -9.114746
    ],
    "through": [
     40.839537,
     -9.804705
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      40.999041,
      -9.114746
     ],
     [
      40.297149,
      -8.573606
     ],
     [
      39.631881,
      -8.112071
     ],
     [
      39.010029,
      -7.726524
     ],
     [
      38.439331,
      -7.413447
     ],
     [
      37.929293,
      -7.169485
     ],
     [
      37.492926,
      -6.991587
     ],
     [
      37.151493,
      -6.87744
     ],
     [
      36.962155,
      -6.828954
     ],
     [
      36.919033,
      -6.820987
     ],
     [
      36.87591,
      -6.81302
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     36.87591,
     -6.81302
    ],
    "end": [
     37.176414,
     -4.915716
    ],
    "through": [
     37.038313,
     -5.866292
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      37.176414,
      -4.915716
     ],
     [
      37.219888,
      -4.921464
     ],
     [
      37.263362,
      -4.927213
     ],
     [
      37.458415,
      -4.939609
     ],
     [
      37.81841,
      -4.936557
     ],
     [
      38.288394,
      -4.902211
     ],
     [
      38.848857,
      -4.8278
     ],
     [
      39.48837,
      -4.706401
     ],
     [
      40.198927,
      -4.531886
     ],
     [
      40.974256,
      -4.29852
     ],
     [
      41.809017,
      -4.000762
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     41.809017,
     -4.000762
    ],
    "end": [
     41.920136,
     -2.588866
    ],
    "through": [
     41.870528,
     -3.295282
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      41.920136,
      -2.588866
     ],
     [
      41.142232,
      -2.164188
     ],
     [
      40.412954,
      -1.812406
     ],
     [
      39.738446,
      -1.528885
     ],
     [
      39.125798,
      -1.308939
     ],
     [
      38.583875,
      -1.147768
     ],
     [
      38.125051,
      -1.040323
     ],
     [
      37.769965,
      -0.980993
     ],
     [
      37.575374,
      -0.962723
     ],
     [
      37.531536,
      -0.9616
     ],
     [
      37.487698,
      -0.960477
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     37.487698,
     -0.960477
    ],
    "end": [
     37.487698,
     0.960477
    ],
    "through": [
     37.5,
     -0.0
    ]
   }
  },
  {
   "command": "sketch.constraint.fix",
   "params": {
    "entities": [
     "s1",
     "s2",
     "s3",
     "s4",
     "s5",
     "s6",
     "s7",
     "s8",
     "s9",
     "s10",
     "s11",
     "s12",
     "s13",
     "s14",
     "s15",
     "s16",
     "s17",
     "s18",
     "s19",
     "s20",
     "s21",
     "s22",
     "s23",
     "s24",
     "s25",
     "s26",
     "s27",
     "s28",
     "s29",
     "s30",
     "s31",
     "s32",
     "s33",
     "s34",
     "s35",
     "s36",
     "s37",
     "s38",
     "s39",
     "s40",
     "s41",
     "s42",
     "s43",
     "s44",
     "s45",
     "s46",
     "s47",
     "s48",
     "s49",
     "s50",
     "s51",
     "s52",
     "s53",
     "s54",
     "s55",
     "s56",
     "s57",
     "s58",
     "s59",
     "s60",
     "s61",
     "s62",
     "s63",
     "s64",
     "s65",
     "s66",
     "s67",
     "s68",
     "s69",
     "s70",
     "s71",
     "s72",
     "s73",
     "s74",
     "s75",
     "s76",
     "s77",
     "s78",
     "s79",
     "s80",
     "a1",
     "a2",
     "a3",
     "a4",
     "a5",
     "a6",
     "a7",
     "a8",
     "a9",
     "a10",
     "a11",
     "a12",
     "a13",
     "a14",
     "a15",
     "a16",
     "a17",
     "a18",
     "a19",
     "a20",
     "a21",
     "a22",
     "a23",
     "a24",
     "a25",
     "a26",
     "a27",
     "a28",
     "a29",
     "a30",
     "a31",
     "a32",
     "a33",
     "a34",
     "a35",
     "a36",
     "a37",
     "a38",
     "a39",
     "a40",
     "a41",
     "a42",
     "a43",
     "a44",
     "a45",
     "a46",
     "a47",
     "a48",
     "a49",
     "a50",
     "a51",
     "a52",
     "a53",
     "a54",
     "a55",
     "a56",
     "a57",
     "a58",
     "a59",
     "a60",
     "a61",
     "a62",
     "a63",
     "a64",
     "a65",
     "a66",
     "a67",
     "a68",
     "a69",
     "a70",
     "a71",
     "a72",
     "a73",
     "a74",
     "a75",
     "a76",
     "a77",
     "a78",
     "a79",
     "a80"
    ],
    "fixed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "distance": "fw",
    "operation": "new",
    "body_name": "Gear40",
    "name": "Gear40Blank"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Gear40BoreSketch"
   }
  },
  {
   "command": "sketch.circle.center",
   "params": {
    "center": [
     0,
     0
    ],
    "diameter": 6
   }
  },
  {
   "command": "sketch.dimension",
   "params": {
    "entities": [
     "c1"
    ],
    "type": "diameter",
    "value": "bore"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      "-kw/2",
      "0 mm"
     ],
     [
      "kw/2",
      "0 mm"
     ],
     [
      "kw/2",
      "bore/2 + kt"
     ],
     [
      "-kw/2",
      "bore/2 + kt"
     ]
    ],
    "closed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "distance": "2*fw + 2 mm",
    "direction": "symmetric",
    "operation": "cut",
    "targets": [
     "Gear40"
    ],
    "name": "Gear40Bore"
   }
  },
  {
   "command": "solid.move",
   "params": {
    "bodies": [
     "Gear40"
    ],
    "translate": [
     "a",
     "0 mm",
     "0 mm"
    ],
    "name": "Gear40Place"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Gear20Profile"
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      17.42768,
      -1.589331
     ],
     [
      18.071933,
      -1.648084
     ],
     [
      18.716185,
      -1.706837
     ],
     [
      18.858347,
      -1.708105
     ],
     [
      19.120286,
      -1.687637
     ],
     [
      19.461643,
      -1.633915
     ],
     [
      19.867825,
      -1.539703
     ],
     [
      20.32996,
      -1.398847
     ],
     [
      20.841465,
      -1.205608
     ],
     [
      21.396769,
      -0.954421
     ],
     [
      21.990695,
      -0.63979
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     21.990695,
     -0.63979
    ],
    "end": [
     21.990695,
     0.63979
    ],
    "through": [
     22.0,
     0.0
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      21.990695,
      0.63979
     ],
     [
      21.396769,
      0.954421
     ],
     [
      20.841465,
      1.205608
     ],
     [
      20.32996,
      1.398847
     ],
     [
      19.867825,
      1.539703
     ],
     [
      19.461643,
      1.633915
     ],
     [
      19.120286,
      1.687637
     ],
     [
      18.858347,
      1.708105
     ],
     [
      18.716185,
      1.706837
     ],
     [
      18.071933,
      1.648084
     ],
     [
      17.42768,
      1.589331
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     17.42768,
     1.589331
    ],
    "end": [
     17.065839,
     3.873906
    ],
    "through": [
     17.284546,
     2.737603
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      17.065839,
      3.873906
     ],
     [
      17.696715,
      4.017114
     ],
     [
      18.327592,
      4.160321
     ],
     [
      18.463188,
      4.203045
     ],
     [
      18.705982,
      4.303455
     ],
     [
      19.01403,
      4.460033
     ],
     [
      19.371219,
      4.67515
     ],
     [
      19.767209,
      4.951921
     ],
     [
      20.193965,
      5.293765
     ],
     [
      20.644468,
      5.704257
     ],
     [
      21.1121,
      6.187022
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     21.1121,
     6.187022
    ],
    "end": [
     20.716688,
     7.403975
    ],
    "through": [
     20.923243,
     6.798374
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      20.716688,
      7.403975
     ],
     [
      20.054604,
      7.519673
     ],
     [
      19.448858,
      7.586969
     ],
     [
      18.902674,
      7.612686
     ],
     [
      18.41963,
      7.60384
     ],
     [
      18.004215,
      7.567924
     ],
     [
      17.662964,
      7.513532
     ],
     [
      17.40752,
      7.452055
     ],
     [
      17.272709,
      7.406918
     ],
     [
      16.678143,
      7.151955
     ],
     [
      16.083578,
      6.896992
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     16.083578,
     6.896992
    ],
    "end": [
     15.033474,
     8.957938
    ],
    "through": [
     15.592614,
     7.944834
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      15.033474,
      8.957938
     ],
     [
      15.58922,
      9.289088
     ],
     [
      16.144966,
      9.620238
     ],
     [
      16.260723,
      9.702772
     ],
     [
      16.460605,
      9.873295
     ],
     [
      16.705191,
      10.117402
     ],
     [
      16.978423,
      10.432368
     ],
     [
      17.269505,
      10.81796
     ],
     [
      17.569738,
      11.274948
     ],
     [
      17.871344,
      11.804562
     ],
     [
      18.166905,
      12.408205
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     18.166905,
     12.408205
    ],
    "end": [
     17.414787,
     13.443407
    ],
    "through": [
     17.798374,
     12.931276
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      17.414787,
      13.443407
     ],
     [
      16.749355,
      13.348848
     ],
     [
      16.152461,
      13.225664
     ],
     [
      15.625062,
      13.081342
     ],
     [
      15.168393,
      12.923661
     ],
     [
      14.784409,
      12.761132
     ],
     [
      14.476668,
      12.603949
     ],
     [
      14.252724,
      12.466545
     ],
     [
      14.138459,
      12.381958
     ],
     [
      13.651781,
      11.955743
     ],
     [
      13.165104,
      11.529529
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     13.165104,
     11.529529
    ],
    "end": [
     11.529529,
     13.165104
    ],
    "through": [
     12.374369,
     12.374369
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      11.529529,
      13.165104
     ],
     [
      11.955743,
      13.651781
     ],
     [
      12.381958,
      14.138459
     ],
     [
      12.466545,
      14.252724
     ],
     [
      12.603949,
      14.476668
     ],
     [
      12.761132,
      14.784409
     ],
     [
      12.923661,
      15.168393
     ],
     [
      13.081342,
      15.625062
     ],
     [
      13.225664,
      16.152461
     ],
     [
      13.348848,
      16.749355
     ],
     [
      13.443407,
      17.414787
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     13.443407,
     17.414787
    ],
    "end": [
     12.408205,
     18.166905
    ],
    "through": [
     12.931276,
     17.798374
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      12.408205,
      18.166905
     ],
     [
      11.804562,
      17.871344
     ],
     [
      11.274948,
      17.569738
     ],
     [
      10.81796,
      17.269505
     ],
     [
      10.432368,
      16.978423
     ],
     [
      10.117402,
      16.705191
     ],
     [
      9.873295,
      16.460605
     ],
     [
      9.702772,
      16.260723
     ],
     [
      9.620238,
      16.144966
     ],
     [
      9.289088,
      15.58922
     ],
     [
      8.957938,
      15.033474
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     8.957938,
     15.033474
    ],
    "end": [
     6.896992,
     16.083578
    ],
    "through": [
     7.944834,
     15.592614
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      6.896992,
      16.083578
     ],
     [
      7.151955,
      16.678143
     ],
     [
      7.406918,
      17.272709
     ],
     [
      7.452055,
      17.40752
     ],
     [
      7.513532,
      17.662964
     ],
     [
      7.567924,
      18.004215
     ],
     [
      7.60384,
      18.41963
     ],
     [
      7.612686,
      18.902674
     ],
     [
      7.586969,
      19.448858
     ],
     [
      7.519673,
      20.054604
     ],
     [
      7.403975,
      20.716688
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     7.403975,
     20.716688
    ],
    "end": [
     6.187022,
     21.1121
    ],
    "through": [
     6.798374,
     20.923243
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      6.187022,
      21.1121
     ],
     [
      5.704257,
      20.644468
     ],
     [
      5.293765,
      20.193965
     ],
     [
      4.951921,
      19.767209
     ],
     [
      4.67515,
      19.371219
     ],
     [
      4.460033,
      19.01403
     ],
     [
      4.303455,
      18.705982
     ],
     [
      4.203045,
      18.463188
     ],
     [
      4.160321,
      18.327592
     ],
     [
      4.017114,
      17.696715
     ],
     [
      3.873906,
      17.065839
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     3.873906,
     17.065839
    ],
    "end": [
     1.589331,
     17.42768
    ],
    "through": [
     2.737603,
     17.284546
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      1.589331,
      17.42768
     ],
     [
      1.648084,
      18.071933
     ],
     [
      1.706837,
      18.716185
     ],
     [
      1.708105,
      18.858347
     ],
     [
      1.687637,
      19.120286
     ],
     [
      1.633915,
      19.461643
     ],
     [
      1.539703,
      19.867825
     ],
     [
      1.398847,
      20.32996
     ],
     [
      1.205608,
      20.841465
     ],
     [
      0.954421,
      21.396769
     ],
     [
      0.63979,
      21.990695
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     0.63979,
     21.990695
    ],
    "end": [
     -0.63979,
     21.990695
    ],
    "through": [
     0.0,
     22.0
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -0.63979,
      21.990695
     ],
     [
      -0.954421,
      21.396769
     ],
     [
      -1.205608,
      20.841465
     ],
     [
      -1.398847,
      20.32996
     ],
     [
      -1.539703,
      19.867825
     ],
     [
      -1.633915,
      19.461643
     ],
     [
      -1.687637,
      19.120286
     ],
     [
      -1.708105,
      18.858347
     ],
     [
      -1.706837,
      18.716185
     ],
     [
      -1.648084,
      18.071933
     ],
     [
      -1.589331,
      17.42768
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -1.589331,
     17.42768
    ],
    "end": [
     -3.873906,
     17.065839
    ],
    "through": [
     -2.737603,
     17.284546
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -3.873906,
      17.065839
     ],
     [
      -4.017114,
      17.696715
     ],
     [
      -4.160321,
      18.327592
     ],
     [
      -4.203045,
      18.463188
     ],
     [
      -4.303455,
      18.705982
     ],
     [
      -4.460033,
      19.01403
     ],
     [
      -4.67515,
      19.371219
     ],
     [
      -4.951921,
      19.767209
     ],
     [
      -5.293765,
      20.193965
     ],
     [
      -5.704257,
      20.644468
     ],
     [
      -6.187022,
      21.1121
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -6.187022,
     21.1121
    ],
    "end": [
     -7.403975,
     20.716688
    ],
    "through": [
     -6.798374,
     20.923243
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -7.403975,
      20.716688
     ],
     [
      -7.519673,
      20.054604
     ],
     [
      -7.586969,
      19.448858
     ],
     [
      -7.612686,
      18.902674
     ],
     [
      -7.60384,
      18.41963
     ],
     [
      -7.567924,
      18.004215
     ],
     [
      -7.513532,
      17.662964
     ],
     [
      -7.452055,
      17.40752
     ],
     [
      -7.406918,
      17.272709
     ],
     [
      -7.151955,
      16.678143
     ],
     [
      -6.896992,
      16.083578
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -6.896992,
     16.083578
    ],
    "end": [
     -8.957938,
     15.033474
    ],
    "through": [
     -7.944834,
     15.592614
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -8.957938,
      15.033474
     ],
     [
      -9.289088,
      15.58922
     ],
     [
      -9.620238,
      16.144966
     ],
     [
      -9.702772,
      16.260723
     ],
     [
      -9.873295,
      16.460605
     ],
     [
      -10.117402,
      16.705191
     ],
     [
      -10.432368,
      16.978423
     ],
     [
      -10.81796,
      17.269505
     ],
     [
      -11.274948,
      17.569738
     ],
     [
      -11.804562,
      17.871344
     ],
     [
      -12.408205,
      18.166905
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -12.408205,
     18.166905
    ],
    "end": [
     -13.443407,
     17.414787
    ],
    "through": [
     -12.931276,
     17.798374
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -13.443407,
      17.414787
     ],
     [
      -13.348848,
      16.749355
     ],
     [
      -13.225664,
      16.152461
     ],
     [
      -13.081342,
      15.625062
     ],
     [
      -12.923661,
      15.168393
     ],
     [
      -12.761132,
      14.784409
     ],
     [
      -12.603949,
      14.476668
     ],
     [
      -12.466545,
      14.252724
     ],
     [
      -12.381958,
      14.138459
     ],
     [
      -11.955743,
      13.651781
     ],
     [
      -11.529529,
      13.165104
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -11.529529,
     13.165104
    ],
    "end": [
     -13.165104,
     11.529529
    ],
    "through": [
     -12.374369,
     12.374369
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -13.165104,
      11.529529
     ],
     [
      -13.651781,
      11.955743
     ],
     [
      -14.138459,
      12.381958
     ],
     [
      -14.252724,
      12.466545
     ],
     [
      -14.476668,
      12.603949
     ],
     [
      -14.784409,
      12.761132
     ],
     [
      -15.168393,
      12.923661
     ],
     [
      -15.625062,
      13.081342
     ],
     [
      -16.152461,
      13.225664
     ],
     [
      -16.749355,
      13.348848
     ],
     [
      -17.414787,
      13.443407
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -17.414787,
     13.443407
    ],
    "end": [
     -18.166905,
     12.408205
    ],
    "through": [
     -17.798374,
     12.931276
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -18.166905,
      12.408205
     ],
     [
      -17.871344,
      11.804562
     ],
     [
      -17.569738,
      11.274948
     ],
     [
      -17.269505,
      10.81796
     ],
     [
      -16.978423,
      10.432368
     ],
     [
      -16.705191,
      10.117402
     ],
     [
      -16.460605,
      9.873295
     ],
     [
      -16.260723,
      9.702772
     ],
     [
      -16.144966,
      9.620238
     ],
     [
      -15.58922,
      9.289088
     ],
     [
      -15.033474,
      8.957938
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -15.033474,
     8.957938
    ],
    "end": [
     -16.083578,
     6.896992
    ],
    "through": [
     -15.592614,
     7.944834
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -16.083578,
      6.896992
     ],
     [
      -16.678143,
      7.151955
     ],
     [
      -17.272709,
      7.406918
     ],
     [
      -17.40752,
      7.452055
     ],
     [
      -17.662964,
      7.513532
     ],
     [
      -18.004215,
      7.567924
     ],
     [
      -18.41963,
      7.60384
     ],
     [
      -18.902674,
      7.612686
     ],
     [
      -19.448858,
      7.586969
     ],
     [
      -20.054604,
      7.519673
     ],
     [
      -20.716688,
      7.403975
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -20.716688,
     7.403975
    ],
    "end": [
     -21.1121,
     6.187022
    ],
    "through": [
     -20.923243,
     6.798374
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -21.1121,
      6.187022
     ],
     [
      -20.644468,
      5.704257
     ],
     [
      -20.193965,
      5.293765
     ],
     [
      -19.767209,
      4.951921
     ],
     [
      -19.371219,
      4.67515
     ],
     [
      -19.01403,
      4.460033
     ],
     [
      -18.705982,
      4.303455
     ],
     [
      -18.463188,
      4.203045
     ],
     [
      -18.327592,
      4.160321
     ],
     [
      -17.696715,
      4.017114
     ],
     [
      -17.065839,
      3.873906
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -17.065839,
     3.873906
    ],
    "end": [
     -17.42768,
     1.589331
    ],
    "through": [
     -17.284546,
     2.737603
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -17.42768,
      1.589331
     ],
     [
      -18.071933,
      1.648084
     ],
     [
      -18.716185,
      1.706837
     ],
     [
      -18.858347,
      1.708105
     ],
     [
      -19.120286,
      1.687637
     ],
     [
      -19.461643,
      1.633915
     ],
     [
      -19.867825,
      1.539703
     ],
     [
      -20.32996,
      1.398847
     ],
     [
      -20.841465,
      1.205608
     ],
     [
      -21.396769,
      0.954421
     ],
     [
      -21.990695,
      0.63979
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -21.990695,
     0.63979
    ],
    "end": [
     -21.990695,
     -0.63979
    ],
    "through": [
     -22.0,
     0.0
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -21.990695,
      -0.63979
     ],
     [
      -21.396769,
      -0.954421
     ],
     [
      -20.841465,
      -1.205608
     ],
     [
      -20.32996,
      -1.398847
     ],
     [
      -19.867825,
      -1.539703
     ],
     [
      -19.461643,
      -1.633915
     ],
     [
      -19.120286,
      -1.687637
     ],
     [
      -18.858347,
      -1.708105
     ],
     [
      -18.716185,
      -1.706837
     ],
     [
      -18.071933,
      -1.648084
     ],
     [
      -17.42768,
      -1.589331
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -17.42768,
     -1.589331
    ],
    "end": [
     -17.065839,
     -3.873906
    ],
    "through": [
     -17.284546,
     -2.737603
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -17.065839,
      -3.873906
     ],
     [
      -17.696715,
      -4.017114
     ],
     [
      -18.327592,
      -4.160321
     ],
     [
      -18.463188,
      -4.203045
     ],
     [
      -18.705982,
      -4.303455
     ],
     [
      -19.01403,
      -4.460033
     ],
     [
      -19.371219,
      -4.67515
     ],
     [
      -19.767209,
      -4.951921
     ],
     [
      -20.193965,
      -5.293765
     ],
     [
      -20.644468,
      -5.704257
     ],
     [
      -21.1121,
      -6.187022
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -21.1121,
     -6.187022
    ],
    "end": [
     -20.716688,
     -7.403975
    ],
    "through": [
     -20.923243,
     -6.798374
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -20.716688,
      -7.403975
     ],
     [
      -20.054604,
      -7.519673
     ],
     [
      -19.448858,
      -7.586969
     ],
     [
      -18.902674,
      -7.612686
     ],
     [
      -18.41963,
      -7.60384
     ],
     [
      -18.004215,
      -7.567924
     ],
     [
      -17.662964,
      -7.513532
     ],
     [
      -17.40752,
      -7.452055
     ],
     [
      -17.272709,
      -7.406918
     ],
     [
      -16.678143,
      -7.151955
     ],
     [
      -16.083578,
      -6.896992
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -16.083578,
     -6.896992
    ],
    "end": [
     -15.033474,
     -8.957938
    ],
    "through": [
     -15.592614,
     -7.944834
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -15.033474,
      -8.957938
     ],
     [
      -15.58922,
      -9.289088
     ],
     [
      -16.144966,
      -9.620238
     ],
     [
      -16.260723,
      -9.702772
     ],
     [
      -16.460605,
      -9.873295
     ],
     [
      -16.705191,
      -10.117402
     ],
     [
      -16.978423,
      -10.432368
     ],
     [
      -17.269505,
      -10.81796
     ],
     [
      -17.569738,
      -11.274948
     ],
     [
      -17.871344,
      -11.804562
     ],
     [
      -18.166905,
      -12.408205
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -18.166905,
     -12.408205
    ],
    "end": [
     -17.414787,
     -13.443407
    ],
    "through": [
     -17.798374,
     -12.931276
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -17.414787,
      -13.443407
     ],
     [
      -16.749355,
      -13.348848
     ],
     [
      -16.152461,
      -13.225664
     ],
     [
      -15.625062,
      -13.081342
     ],
     [
      -15.168393,
      -12.923661
     ],
     [
      -14.784409,
      -12.761132
     ],
     [
      -14.476668,
      -12.603949
     ],
     [
      -14.252724,
      -12.466545
     ],
     [
      -14.138459,
      -12.381958
     ],
     [
      -13.651781,
      -11.955743
     ],
     [
      -13.165104,
      -11.529529
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -13.165104,
     -11.529529
    ],
    "end": [
     -11.529529,
     -13.165104
    ],
    "through": [
     -12.374369,
     -12.374369
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -11.529529,
      -13.165104
     ],
     [
      -11.955743,
      -13.651781
     ],
     [
      -12.381958,
      -14.138459
     ],
     [
      -12.466545,
      -14.252724
     ],
     [
      -12.603949,
      -14.476668
     ],
     [
      -12.761132,
      -14.784409
     ],
     [
      -12.923661,
      -15.168393
     ],
     [
      -13.081342,
      -15.625062
     ],
     [
      -13.225664,
      -16.152461
     ],
     [
      -13.348848,
      -16.749355
     ],
     [
      -13.443407,
      -17.414787
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -13.443407,
     -17.414787
    ],
    "end": [
     -12.408205,
     -18.166905
    ],
    "through": [
     -12.931276,
     -17.798374
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -12.408205,
      -18.166905
     ],
     [
      -11.804562,
      -17.871344
     ],
     [
      -11.274948,
      -17.569738
     ],
     [
      -10.81796,
      -17.269505
     ],
     [
      -10.432368,
      -16.978423
     ],
     [
      -10.117402,
      -16.705191
     ],
     [
      -9.873295,
      -16.460605
     ],
     [
      -9.702772,
      -16.260723
     ],
     [
      -9.620238,
      -16.144966
     ],
     [
      -9.289088,
      -15.58922
     ],
     [
      -8.957938,
      -15.033474
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -8.957938,
     -15.033474
    ],
    "end": [
     -6.896992,
     -16.083578
    ],
    "through": [
     -7.944834,
     -15.592614
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -6.896992,
      -16.083578
     ],
     [
      -7.151955,
      -16.678143
     ],
     [
      -7.406918,
      -17.272709
     ],
     [
      -7.452055,
      -17.40752
     ],
     [
      -7.513532,
      -17.662964
     ],
     [
      -7.567924,
      -18.004215
     ],
     [
      -7.60384,
      -18.41963
     ],
     [
      -7.612686,
      -18.902674
     ],
     [
      -7.586969,
      -19.448858
     ],
     [
      -7.519673,
      -20.054604
     ],
     [
      -7.403975,
      -20.716688
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -7.403975,
     -20.716688
    ],
    "end": [
     -6.187022,
     -21.1121
    ],
    "through": [
     -6.798374,
     -20.923243
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -6.187022,
      -21.1121
     ],
     [
      -5.704257,
      -20.644468
     ],
     [
      -5.293765,
      -20.193965
     ],
     [
      -4.951921,
      -19.767209
     ],
     [
      -4.67515,
      -19.371219
     ],
     [
      -4.460033,
      -19.01403
     ],
     [
      -4.303455,
      -18.705982
     ],
     [
      -4.203045,
      -18.463188
     ],
     [
      -4.160321,
      -18.327592
     ],
     [
      -4.017114,
      -17.696715
     ],
     [
      -3.873906,
      -17.065839
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -3.873906,
     -17.065839
    ],
    "end": [
     -1.589331,
     -17.42768
    ],
    "through": [
     -2.737603,
     -17.284546
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      -1.589331,
      -17.42768
     ],
     [
      -1.648084,
      -18.071933
     ],
     [
      -1.706837,
      -18.716185
     ],
     [
      -1.708105,
      -18.858347
     ],
     [
      -1.687637,
      -19.120286
     ],
     [
      -1.633915,
      -19.461643
     ],
     [
      -1.539703,
      -19.867825
     ],
     [
      -1.398847,
      -20.32996
     ],
     [
      -1.205608,
      -20.841465
     ],
     [
      -0.954421,
      -21.396769
     ],
     [
      -0.63979,
      -21.990695
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     -0.63979,
     -21.990695
    ],
    "end": [
     0.63979,
     -21.990695
    ],
    "through": [
     -0.0,
     -22.0
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      0.63979,
      -21.990695
     ],
     [
      0.954421,
      -21.396769
     ],
     [
      1.205608,
      -20.841465
     ],
     [
      1.398847,
      -20.32996
     ],
     [
      1.539703,
      -19.867825
     ],
     [
      1.633915,
      -19.461643
     ],
     [
      1.687637,
      -19.120286
     ],
     [
      1.708105,
      -18.858347
     ],
     [
      1.706837,
      -18.716185
     ],
     [
      1.648084,
      -18.071933
     ],
     [
      1.589331,
      -17.42768
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     1.589331,
     -17.42768
    ],
    "end": [
     3.873906,
     -17.065839
    ],
    "through": [
     2.737603,
     -17.284546
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      3.873906,
      -17.065839
     ],
     [
      4.017114,
      -17.696715
     ],
     [
      4.160321,
      -18.327592
     ],
     [
      4.203045,
      -18.463188
     ],
     [
      4.303455,
      -18.705982
     ],
     [
      4.460033,
      -19.01403
     ],
     [
      4.67515,
      -19.371219
     ],
     [
      4.951921,
      -19.767209
     ],
     [
      5.293765,
      -20.193965
     ],
     [
      5.704257,
      -20.644468
     ],
     [
      6.187022,
      -21.1121
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     6.187022,
     -21.1121
    ],
    "end": [
     7.403975,
     -20.716688
    ],
    "through": [
     6.798374,
     -20.923243
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      7.403975,
      -20.716688
     ],
     [
      7.519673,
      -20.054604
     ],
     [
      7.586969,
      -19.448858
     ],
     [
      7.612686,
      -18.902674
     ],
     [
      7.60384,
      -18.41963
     ],
     [
      7.567924,
      -18.004215
     ],
     [
      7.513532,
      -17.662964
     ],
     [
      7.452055,
      -17.40752
     ],
     [
      7.406918,
      -17.272709
     ],
     [
      7.151955,
      -16.678143
     ],
     [
      6.896992,
      -16.083578
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     6.896992,
     -16.083578
    ],
    "end": [
     8.957938,
     -15.033474
    ],
    "through": [
     7.944834,
     -15.592614
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      8.957938,
      -15.033474
     ],
     [
      9.289088,
      -15.58922
     ],
     [
      9.620238,
      -16.144966
     ],
     [
      9.702772,
      -16.260723
     ],
     [
      9.873295,
      -16.460605
     ],
     [
      10.117402,
      -16.705191
     ],
     [
      10.432368,
      -16.978423
     ],
     [
      10.81796,
      -17.269505
     ],
     [
      11.274948,
      -17.569738
     ],
     [
      11.804562,
      -17.871344
     ],
     [
      12.408205,
      -18.166905
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     12.408205,
     -18.166905
    ],
    "end": [
     13.443407,
     -17.414787
    ],
    "through": [
     12.931276,
     -17.798374
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      13.443407,
      -17.414787
     ],
     [
      13.348848,
      -16.749355
     ],
     [
      13.225664,
      -16.152461
     ],
     [
      13.081342,
      -15.625062
     ],
     [
      12.923661,
      -15.168393
     ],
     [
      12.761132,
      -14.784409
     ],
     [
      12.603949,
      -14.476668
     ],
     [
      12.466545,
      -14.252724
     ],
     [
      12.381958,
      -14.138459
     ],
     [
      11.955743,
      -13.651781
     ],
     [
      11.529529,
      -13.165104
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     11.529529,
     -13.165104
    ],
    "end": [
     13.165104,
     -11.529529
    ],
    "through": [
     12.374369,
     -12.374369
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      13.165104,
      -11.529529
     ],
     [
      13.651781,
      -11.955743
     ],
     [
      14.138459,
      -12.381958
     ],
     [
      14.252724,
      -12.466545
     ],
     [
      14.476668,
      -12.603949
     ],
     [
      14.784409,
      -12.761132
     ],
     [
      15.168393,
      -12.923661
     ],
     [
      15.625062,
      -13.081342
     ],
     [
      16.152461,
      -13.225664
     ],
     [
      16.749355,
      -13.348848
     ],
     [
      17.414787,
      -13.443407
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     17.414787,
     -13.443407
    ],
    "end": [
     18.166905,
     -12.408205
    ],
    "through": [
     17.798374,
     -12.931276
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      18.166905,
      -12.408205
     ],
     [
      17.871344,
      -11.804562
     ],
     [
      17.569738,
      -11.274948
     ],
     [
      17.269505,
      -10.81796
     ],
     [
      16.978423,
      -10.432368
     ],
     [
      16.705191,
      -10.117402
     ],
     [
      16.460605,
      -9.873295
     ],
     [
      16.260723,
      -9.702772
     ],
     [
      16.144966,
      -9.620238
     ],
     [
      15.58922,
      -9.289088
     ],
     [
      15.033474,
      -8.957938
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     15.033474,
     -8.957938
    ],
    "end": [
     16.083578,
     -6.896992
    ],
    "through": [
     15.592614,
     -7.944834
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      16.083578,
      -6.896992
     ],
     [
      16.678143,
      -7.151955
     ],
     [
      17.272709,
      -7.406918
     ],
     [
      17.40752,
      -7.452055
     ],
     [
      17.662964,
      -7.513532
     ],
     [
      18.004215,
      -7.567924
     ],
     [
      18.41963,
      -7.60384
     ],
     [
      18.902674,
      -7.612686
     ],
     [
      19.448858,
      -7.586969
     ],
     [
      20.054604,
      -7.519673
     ],
     [
      20.716688,
      -7.403975
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     20.716688,
     -7.403975
    ],
    "end": [
     21.1121,
     -6.187022
    ],
    "through": [
     20.923243,
     -6.798374
    ]
   }
  },
  {
   "command": "sketch.spline.fit_point",
   "params": {
    "points": [
     [
      21.1121,
      -6.187022
     ],
     [
      20.644468,
      -5.704257
     ],
     [
      20.193965,
      -5.293765
     ],
     [
      19.767209,
      -4.951921
     ],
     [
      19.371219,
      -4.67515
     ],
     [
      19.01403,
      -4.460033
     ],
     [
      18.705982,
      -4.303455
     ],
     [
      18.463188,
      -4.203045
     ],
     [
      18.327592,
      -4.160321
     ],
     [
      17.696715,
      -4.017114
     ],
     [
      17.065839,
      -3.873906
     ]
    ]
   }
  },
  {
   "command": "sketch.arc.three_point",
   "params": {
    "start": [
     17.065839,
     -3.873906
    ],
    "end": [
     17.42768,
     -1.589331
    ],
    "through": [
     17.284546,
     -2.737603
    ]
   }
  },
  {
   "command": "sketch.constraint.fix",
   "params": {
    "entities": [
     "s1",
     "s2",
     "s3",
     "s4",
     "s5",
     "s6",
     "s7",
     "s8",
     "s9",
     "s10",
     "s11",
     "s12",
     "s13",
     "s14",
     "s15",
     "s16",
     "s17",
     "s18",
     "s19",
     "s20",
     "s21",
     "s22",
     "s23",
     "s24",
     "s25",
     "s26",
     "s27",
     "s28",
     "s29",
     "s30",
     "s31",
     "s32",
     "s33",
     "s34",
     "s35",
     "s36",
     "s37",
     "s38",
     "s39",
     "s40",
     "a1",
     "a2",
     "a3",
     "a4",
     "a5",
     "a6",
     "a7",
     "a8",
     "a9",
     "a10",
     "a11",
     "a12",
     "a13",
     "a14",
     "a15",
     "a16",
     "a17",
     "a18",
     "a19",
     "a20",
     "a21",
     "a22",
     "a23",
     "a24",
     "a25",
     "a26",
     "a27",
     "a28",
     "a29",
     "a30",
     "a31",
     "a32",
     "a33",
     "a34",
     "a35",
     "a36",
     "a37",
     "a38",
     "a39",
     "a40"
    ],
    "fixed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "distance": "fw",
    "operation": "new",
    "body_name": "Gear20",
    "name": "Gear20Blank"
   }
  },
  {
   "command": "sketch.create",
   "params": {
    "plane": "XY",
    "name": "Gear20BoreSketch"
   }
  },
  {
   "command": "sketch.circle.center",
   "params": {
    "center": [
     0,
     0
    ],
    "diameter": 6
   }
  },
  {
   "command": "sketch.dimension",
   "params": {
    "entities": [
     "c1"
    ],
    "type": "diameter",
    "value": "bore"
   }
  },
  {
   "command": "sketch.line",
   "params": {
    "points": [
     [
      "-kw/2",
      "0 mm"
     ],
     [
      "kw/2",
      "0 mm"
     ],
     [
      "kw/2",
      "bore/2 + kt"
     ],
     [
      "-kw/2",
      "bore/2 + kt"
     ]
    ],
    "closed": true
   }
  },
  {
   "command": "sketch.finish",
   "params": {}
  },
  {
   "command": "solid.extrude",
   "params": {
    "distance": "2*fw + 2 mm",
    "direction": "symmetric",
    "operation": "cut",
    "targets": [
     "Gear20"
    ],
    "name": "Gear20Bore"
   }
  },
  {
   "command": "appearance.assign",
   "params": {
    "bodies": [
     "Gear20"
    ],
    "color": "#d0342c"
   }
  },
  {
   "command": "appearance.assign",
   "params": {
    "bodies": [
     "Gear40"
    ],
    "color": "#2c6bd0"
   }
  }
 ]
}