main
Drew Owens 0.11.0 source 1b7115e 5d ago
{
 "id": "cswa-07-tool-block-step3",
 "extends": "cswa-05-tool-block-step1",
 "title": "Official Tool Block, Step 3 (Q5): A 86, B 58, C 44, then remove material",
 "variables": {
  "A": 86,
  "B": 58,
  "C": 44
 },
 "expected": {
  "massG": 628.18,
  "tolerancePct": 1.0
 },
 "keyBasis": "the official key (628.18 g). The R41 slot's centre is not dimensioned: on the right edge's extension, through the flank point 36 below the top (SOURCES.md, Part 3; reproduces the key to 0.000 %)",
 "derivedAppend": [
  [
   "Fy",
   "yRT - 36"
  ],
  [
   "Fx",
   "xRL + (xR - xRL)*(Fy - yV)/(yRE - yV)"
  ],
  [
   "scy",
   "Fy + sqrt(41^2 - (xR - Fx)^2)"
  ],
  [
   "xstep",
   "A - 52 - 14"
  ],
  [
   "h11x",
   "xR - 14"
  ],
  [
   "h11y",
   "yRT - 14"
  ]
 ],
 "scriptAppend": [
  {
   "op": "sketch",
   "plane": {
    "offsetFrom": {
     "face": {
      "atPointMm": [
       -10,
       0,
       0
      ]
     }
    },
    "offsetMm": -12
   },
   "entities": [
    {
     "circle": {
      "centerMm": [
       "=xR",
       "=scy"
      ],
      "radiusMm": 41
     }
    }
   ]
  },
  {
   "op": "cut",
   "depthMm": 24
  },
  {
   "op": "sketch",
   "face": {
    "atPointMm": [
     -10,
     0,
     "=C"
    ]
   },
   "entities": [
    {
     "rect": {
      "xMm": -20,
      "yMm": -40,
      "widthMm": "=A + 20",
      "heightMm": 26
     }
    }
   ]
  },
  {
   "op": "cut",
   "depthMm": 19
  },
  {
   "op": "sketch",
   "face": {
    "atPointMm": [
     -10,
     0,
     "=C"
    ]
   },
   "entities": [
    {
     "rect": {
      "xMm": -20,
      "yMm": -40,
      "widthMm": "=xstep + 20",
      "heightMm": 80
     }
    }
   ]
  },
  {
   "op": "cut",
   "depthMm": 19
  },
  {
   "op": "hole",
   "atMm": [
    "=h11x",
    "=h11y",
    "=C"
   ],
   "diameterMm": 11,
   "throughAll": true
  }
 ]
}