* Improve snapshot testing Signed-off-by: Nick Cameron <nrc@ncameron.org> * A snapshot a day keeps the bugs away! 📷🐛 * A snapshot a day keeps the bugs away! 📷🐛 --------- Signed-off-by: Nick Cameron <nrc@ncameron.org> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
		
			
				
	
	
		
			700 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			700 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
---
 | 
						|
source: kcl-lib/src/simulation_tests.rs
 | 
						|
description: Result of parsing washer.kcl
 | 
						|
---
 | 
						|
{
 | 
						|
  "Ok": {
 | 
						|
    "body": [
 | 
						|
      {
 | 
						|
        "declaration": {
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "end": 0,
 | 
						|
            "name": "innerDiameter",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "end": 0,
 | 
						|
            "raw": "0.203",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Literal",
 | 
						|
            "type": "Literal",
 | 
						|
            "value": {
 | 
						|
              "value": 0.203,
 | 
						|
              "suffix": "None"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "declaration": {
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "end": 0,
 | 
						|
            "name": "outerDiameter",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "end": 0,
 | 
						|
            "raw": "0.438",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Literal",
 | 
						|
            "type": "Literal",
 | 
						|
            "value": {
 | 
						|
              "value": 0.438,
 | 
						|
              "suffix": "None"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "declaration": {
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "end": 0,
 | 
						|
            "name": "thicknessMax",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "end": 0,
 | 
						|
            "raw": "0.038",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Literal",
 | 
						|
            "type": "Literal",
 | 
						|
            "value": {
 | 
						|
              "value": 0.038,
 | 
						|
              "suffix": "None"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "declaration": {
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "end": 0,
 | 
						|
            "name": "thicknessMin",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "end": 0,
 | 
						|
            "raw": "0.024",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Literal",
 | 
						|
            "type": "Literal",
 | 
						|
            "value": {
 | 
						|
              "value": 0.024,
 | 
						|
              "suffix": "None"
 | 
						|
            }
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "const",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "declaration": {
 | 
						|
          "end": 0,
 | 
						|
          "id": {
 | 
						|
            "end": 0,
 | 
						|
            "name": "washer",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "init": {
 | 
						|
            "body": {
 | 
						|
              "body": [
 | 
						|
                {
 | 
						|
                  "declaration": {
 | 
						|
                    "end": 0,
 | 
						|
                    "id": {
 | 
						|
                      "end": 0,
 | 
						|
                      "name": "washerSketch",
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Identifier"
 | 
						|
                    },
 | 
						|
                    "init": {
 | 
						|
                      "body": [
 | 
						|
                        {
 | 
						|
                          "arguments": [
 | 
						|
                            {
 | 
						|
                              "end": 0,
 | 
						|
                              "name": "plane",
 | 
						|
                              "start": 0,
 | 
						|
                              "type": "Identifier",
 | 
						|
                              "type": "Identifier"
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "callee": {
 | 
						|
                            "end": 0,
 | 
						|
                            "name": "startSketchOn",
 | 
						|
                            "start": 0,
 | 
						|
                            "type": "Identifier"
 | 
						|
                          },
 | 
						|
                          "end": 0,
 | 
						|
                          "start": 0,
 | 
						|
                          "type": "CallExpression",
 | 
						|
                          "type": "CallExpression"
 | 
						|
                        },
 | 
						|
                        {
 | 
						|
                          "arguments": [
 | 
						|
                            {
 | 
						|
                              "type": "LabeledArg",
 | 
						|
                              "label": {
 | 
						|
                                "end": 0,
 | 
						|
                                "name": "center",
 | 
						|
                                "start": 0,
 | 
						|
                                "type": "Identifier"
 | 
						|
                              },
 | 
						|
                              "arg": {
 | 
						|
                                "elements": [
 | 
						|
                                  {
 | 
						|
                                    "end": 0,
 | 
						|
                                    "raw": "0",
 | 
						|
                                    "start": 0,
 | 
						|
                                    "type": "Literal",
 | 
						|
                                    "type": "Literal",
 | 
						|
                                    "value": {
 | 
						|
                                      "value": 0.0,
 | 
						|
                                      "suffix": "None"
 | 
						|
                                    }
 | 
						|
                                  },
 | 
						|
                                  {
 | 
						|
                                    "end": 0,
 | 
						|
                                    "raw": "0",
 | 
						|
                                    "start": 0,
 | 
						|
                                    "type": "Literal",
 | 
						|
                                    "type": "Literal",
 | 
						|
                                    "value": {
 | 
						|
                                      "value": 0.0,
 | 
						|
                                      "suffix": "None"
 | 
						|
                                    }
 | 
						|
                                  }
 | 
						|
                                ],
 | 
						|
                                "end": 0,
 | 
						|
                                "start": 0,
 | 
						|
                                "type": "ArrayExpression",
 | 
						|
                                "type": "ArrayExpression"
 | 
						|
                              }
 | 
						|
                            },
 | 
						|
                            {
 | 
						|
                              "type": "LabeledArg",
 | 
						|
                              "label": {
 | 
						|
                                "end": 0,
 | 
						|
                                "name": "radius",
 | 
						|
                                "start": 0,
 | 
						|
                                "type": "Identifier"
 | 
						|
                              },
 | 
						|
                              "arg": {
 | 
						|
                                "end": 0,
 | 
						|
                                "left": {
 | 
						|
                                  "end": 0,
 | 
						|
                                  "name": "outerDia",
 | 
						|
                                  "start": 0,
 | 
						|
                                  "type": "Identifier",
 | 
						|
                                  "type": "Identifier"
 | 
						|
                                },
 | 
						|
                                "operator": "/",
 | 
						|
                                "right": {
 | 
						|
                                  "end": 0,
 | 
						|
                                  "raw": "2",
 | 
						|
                                  "start": 0,
 | 
						|
                                  "type": "Literal",
 | 
						|
                                  "type": "Literal",
 | 
						|
                                  "value": {
 | 
						|
                                    "value": 2.0,
 | 
						|
                                    "suffix": "None"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                "start": 0,
 | 
						|
                                "type": "BinaryExpression",
 | 
						|
                                "type": "BinaryExpression"
 | 
						|
                              }
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "callee": {
 | 
						|
                            "end": 0,
 | 
						|
                            "name": "circle",
 | 
						|
                            "start": 0,
 | 
						|
                            "type": "Identifier"
 | 
						|
                          },
 | 
						|
                          "end": 0,
 | 
						|
                          "start": 0,
 | 
						|
                          "type": "CallExpressionKw",
 | 
						|
                          "type": "CallExpressionKw",
 | 
						|
                          "unlabeled": null
 | 
						|
                        },
 | 
						|
                        {
 | 
						|
                          "arguments": [
 | 
						|
                            {
 | 
						|
                              "arguments": [
 | 
						|
                                {
 | 
						|
                                  "type": "LabeledArg",
 | 
						|
                                  "label": {
 | 
						|
                                    "end": 0,
 | 
						|
                                    "name": "center",
 | 
						|
                                    "start": 0,
 | 
						|
                                    "type": "Identifier"
 | 
						|
                                  },
 | 
						|
                                  "arg": {
 | 
						|
                                    "elements": [
 | 
						|
                                      {
 | 
						|
                                        "end": 0,
 | 
						|
                                        "raw": "0",
 | 
						|
                                        "start": 0,
 | 
						|
                                        "type": "Literal",
 | 
						|
                                        "type": "Literal",
 | 
						|
                                        "value": {
 | 
						|
                                          "value": 0.0,
 | 
						|
                                          "suffix": "None"
 | 
						|
                                        }
 | 
						|
                                      },
 | 
						|
                                      {
 | 
						|
                                        "end": 0,
 | 
						|
                                        "raw": "0",
 | 
						|
                                        "start": 0,
 | 
						|
                                        "type": "Literal",
 | 
						|
                                        "type": "Literal",
 | 
						|
                                        "value": {
 | 
						|
                                          "value": 0.0,
 | 
						|
                                          "suffix": "None"
 | 
						|
                                        }
 | 
						|
                                      }
 | 
						|
                                    ],
 | 
						|
                                    "end": 0,
 | 
						|
                                    "start": 0,
 | 
						|
                                    "type": "ArrayExpression",
 | 
						|
                                    "type": "ArrayExpression"
 | 
						|
                                  }
 | 
						|
                                },
 | 
						|
                                {
 | 
						|
                                  "type": "LabeledArg",
 | 
						|
                                  "label": {
 | 
						|
                                    "end": 0,
 | 
						|
                                    "name": "radius",
 | 
						|
                                    "start": 0,
 | 
						|
                                    "type": "Identifier"
 | 
						|
                                  },
 | 
						|
                                  "arg": {
 | 
						|
                                    "end": 0,
 | 
						|
                                    "left": {
 | 
						|
                                      "end": 0,
 | 
						|
                                      "name": "innerDia",
 | 
						|
                                      "start": 0,
 | 
						|
                                      "type": "Identifier",
 | 
						|
                                      "type": "Identifier"
 | 
						|
                                    },
 | 
						|
                                    "operator": "/",
 | 
						|
                                    "right": {
 | 
						|
                                      "end": 0,
 | 
						|
                                      "raw": "2",
 | 
						|
                                      "start": 0,
 | 
						|
                                      "type": "Literal",
 | 
						|
                                      "type": "Literal",
 | 
						|
                                      "value": {
 | 
						|
                                        "value": 2.0,
 | 
						|
                                        "suffix": "None"
 | 
						|
                                      }
 | 
						|
                                    },
 | 
						|
                                    "start": 0,
 | 
						|
                                    "type": "BinaryExpression",
 | 
						|
                                    "type": "BinaryExpression"
 | 
						|
                                  }
 | 
						|
                                }
 | 
						|
                              ],
 | 
						|
                              "callee": {
 | 
						|
                                "end": 0,
 | 
						|
                                "name": "circle",
 | 
						|
                                "start": 0,
 | 
						|
                                "type": "Identifier"
 | 
						|
                              },
 | 
						|
                              "end": 0,
 | 
						|
                              "start": 0,
 | 
						|
                              "type": "CallExpressionKw",
 | 
						|
                              "type": "CallExpressionKw",
 | 
						|
                              "unlabeled": null
 | 
						|
                            },
 | 
						|
                            {
 | 
						|
                              "end": 0,
 | 
						|
                              "start": 0,
 | 
						|
                              "type": "PipeSubstitution",
 | 
						|
                              "type": "PipeSubstitution"
 | 
						|
                            }
 | 
						|
                          ],
 | 
						|
                          "callee": {
 | 
						|
                            "end": 0,
 | 
						|
                            "name": "hole",
 | 
						|
                            "start": 0,
 | 
						|
                            "type": "Identifier"
 | 
						|
                          },
 | 
						|
                          "end": 0,
 | 
						|
                          "start": 0,
 | 
						|
                          "type": "CallExpression",
 | 
						|
                          "type": "CallExpression"
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "end": 0,
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "PipeExpression",
 | 
						|
                      "type": "PipeExpression"
 | 
						|
                    },
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "VariableDeclarator"
 | 
						|
                  },
 | 
						|
                  "end": 0,
 | 
						|
                  "kind": "const",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "VariableDeclaration",
 | 
						|
                  "type": "VariableDeclaration"
 | 
						|
                },
 | 
						|
                {
 | 
						|
                  "declaration": {
 | 
						|
                    "end": 0,
 | 
						|
                    "id": {
 | 
						|
                      "end": 0,
 | 
						|
                      "name": "washer",
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "Identifier"
 | 
						|
                    },
 | 
						|
                    "init": {
 | 
						|
                      "arguments": [
 | 
						|
                        {
 | 
						|
                          "type": "LabeledArg",
 | 
						|
                          "label": {
 | 
						|
                            "end": 0,
 | 
						|
                            "name": "length",
 | 
						|
                            "start": 0,
 | 
						|
                            "type": "Identifier"
 | 
						|
                          },
 | 
						|
                          "arg": {
 | 
						|
                            "end": 0,
 | 
						|
                            "name": "thk",
 | 
						|
                            "start": 0,
 | 
						|
                            "type": "Identifier",
 | 
						|
                            "type": "Identifier"
 | 
						|
                          }
 | 
						|
                        }
 | 
						|
                      ],
 | 
						|
                      "callee": {
 | 
						|
                        "end": 0,
 | 
						|
                        "name": "extrude",
 | 
						|
                        "start": 0,
 | 
						|
                        "type": "Identifier"
 | 
						|
                      },
 | 
						|
                      "end": 0,
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "CallExpressionKw",
 | 
						|
                      "type": "CallExpressionKw",
 | 
						|
                      "unlabeled": {
 | 
						|
                        "end": 0,
 | 
						|
                        "name": "washerSketch",
 | 
						|
                        "start": 0,
 | 
						|
                        "type": "Identifier",
 | 
						|
                        "type": "Identifier"
 | 
						|
                      }
 | 
						|
                    },
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "VariableDeclarator"
 | 
						|
                  },
 | 
						|
                  "end": 0,
 | 
						|
                  "kind": "const",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "VariableDeclaration",
 | 
						|
                  "type": "VariableDeclaration"
 | 
						|
                },
 | 
						|
                {
 | 
						|
                  "argument": {
 | 
						|
                    "end": 0,
 | 
						|
                    "name": "washer",
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "Identifier",
 | 
						|
                    "type": "Identifier"
 | 
						|
                  },
 | 
						|
                  "end": 0,
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "ReturnStatement",
 | 
						|
                  "type": "ReturnStatement"
 | 
						|
                }
 | 
						|
              ],
 | 
						|
              "end": 0,
 | 
						|
              "nonCodeMeta": {
 | 
						|
                "nonCodeNodes": {
 | 
						|
                  "0": [
 | 
						|
                    {
 | 
						|
                      "end": 0,
 | 
						|
                      "start": 0,
 | 
						|
                      "type": "NonCodeNode",
 | 
						|
                      "value": {
 | 
						|
                        "type": "newLine"
 | 
						|
                      }
 | 
						|
                    }
 | 
						|
                  ]
 | 
						|
                },
 | 
						|
                "startNodes": [
 | 
						|
                  {
 | 
						|
                    "end": 0,
 | 
						|
                    "start": 0,
 | 
						|
                    "type": "NonCodeNode",
 | 
						|
                    "value": {
 | 
						|
                      "type": "blockComment",
 | 
						|
                      "value": "Define the sketch of the washer",
 | 
						|
                      "style": "line"
 | 
						|
                    }
 | 
						|
                  }
 | 
						|
                ]
 | 
						|
              },
 | 
						|
              "start": 0
 | 
						|
            },
 | 
						|
            "end": 0,
 | 
						|
            "params": [
 | 
						|
              {
 | 
						|
                "type": "Parameter",
 | 
						|
                "identifier": {
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "plane",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "type": "Parameter",
 | 
						|
                "identifier": {
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "innerDia",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "type": "Parameter",
 | 
						|
                "identifier": {
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "outerDia",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                }
 | 
						|
              },
 | 
						|
              {
 | 
						|
                "type": "Parameter",
 | 
						|
                "identifier": {
 | 
						|
                  "end": 0,
 | 
						|
                  "name": "thk",
 | 
						|
                  "start": 0,
 | 
						|
                  "type": "Identifier"
 | 
						|
                }
 | 
						|
              }
 | 
						|
            ],
 | 
						|
            "start": 0,
 | 
						|
            "type": "FunctionExpression",
 | 
						|
            "type": "FunctionExpression"
 | 
						|
          },
 | 
						|
          "start": 0,
 | 
						|
          "type": "VariableDeclarator"
 | 
						|
        },
 | 
						|
        "end": 0,
 | 
						|
        "kind": "fn",
 | 
						|
        "start": 0,
 | 
						|
        "type": "VariableDeclaration",
 | 
						|
        "type": "VariableDeclaration"
 | 
						|
      },
 | 
						|
      {
 | 
						|
        "end": 0,
 | 
						|
        "expression": {
 | 
						|
          "arguments": [
 | 
						|
            {
 | 
						|
              "end": 0,
 | 
						|
              "raw": "'XY'",
 | 
						|
              "start": 0,
 | 
						|
              "type": "Literal",
 | 
						|
              "type": "Literal",
 | 
						|
              "value": "XY"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "end": 0,
 | 
						|
              "name": "innerDiameter",
 | 
						|
              "start": 0,
 | 
						|
              "type": "Identifier",
 | 
						|
              "type": "Identifier"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "end": 0,
 | 
						|
              "name": "outerDiameter",
 | 
						|
              "start": 0,
 | 
						|
              "type": "Identifier",
 | 
						|
              "type": "Identifier"
 | 
						|
            },
 | 
						|
            {
 | 
						|
              "end": 0,
 | 
						|
              "name": "thicknessMax",
 | 
						|
              "start": 0,
 | 
						|
              "type": "Identifier",
 | 
						|
              "type": "Identifier"
 | 
						|
            }
 | 
						|
          ],
 | 
						|
          "callee": {
 | 
						|
            "end": 0,
 | 
						|
            "name": "washer",
 | 
						|
            "start": 0,
 | 
						|
            "type": "Identifier"
 | 
						|
          },
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "CallExpression",
 | 
						|
          "type": "CallExpression"
 | 
						|
        },
 | 
						|
        "start": 0,
 | 
						|
        "type": "ExpressionStatement",
 | 
						|
        "type": "ExpressionStatement"
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "end": 0,
 | 
						|
    "innerAttrs": [
 | 
						|
      {
 | 
						|
        "end": 0,
 | 
						|
        "name": {
 | 
						|
          "end": 0,
 | 
						|
          "name": "settings",
 | 
						|
          "start": 0,
 | 
						|
          "type": "Identifier"
 | 
						|
        },
 | 
						|
        "properties": [
 | 
						|
          {
 | 
						|
            "end": 0,
 | 
						|
            "key": {
 | 
						|
              "end": 0,
 | 
						|
              "name": "defaultLengthUnit",
 | 
						|
              "start": 0,
 | 
						|
              "type": "Identifier"
 | 
						|
            },
 | 
						|
            "start": 0,
 | 
						|
            "type": "ObjectProperty",
 | 
						|
            "value": {
 | 
						|
              "end": 0,
 | 
						|
              "name": "in",
 | 
						|
              "start": 0,
 | 
						|
              "type": "Identifier",
 | 
						|
              "type": "Identifier"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "start": 0,
 | 
						|
        "type": "Annotation"
 | 
						|
      }
 | 
						|
    ],
 | 
						|
    "nonCodeMeta": {
 | 
						|
      "nonCodeNodes": {
 | 
						|
        "3": [
 | 
						|
          {
 | 
						|
            "end": 0,
 | 
						|
            "start": 0,
 | 
						|
            "type": "NonCodeNode",
 | 
						|
            "value": {
 | 
						|
              "type": "newLineBlockComment",
 | 
						|
              "value": "Write a function that defines the washer and extrude it.",
 | 
						|
              "style": "line"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ],
 | 
						|
        "4": [
 | 
						|
          {
 | 
						|
            "end": 0,
 | 
						|
            "start": 0,
 | 
						|
            "type": "NonCodeNode",
 | 
						|
            "value": {
 | 
						|
              "type": "newLine"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        ]
 | 
						|
      },
 | 
						|
      "startNodes": [
 | 
						|
        {
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "NonCodeNode",
 | 
						|
          "value": {
 | 
						|
            "type": "blockComment",
 | 
						|
            "value": "Washer",
 | 
						|
            "style": "line"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "NonCodeNode",
 | 
						|
          "value": {
 | 
						|
            "type": "blockComment",
 | 
						|
            "value": "A small, typically disk-shaped component with a hole in the middle, used in a wide range of applications, primarily in conjunction with fasteners like bolts and screws. Washers distribute the load of a fastener across a broader area. This is especially important when the fastening surface is soft or uneven, as it helps to prevent damage to the surface and ensures the load is evenly distributed, reducing the risk of the fastener becoming loose over time.",
 | 
						|
            "style": "line"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "NonCodeNode",
 | 
						|
          "value": {
 | 
						|
            "type": "newLine"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "NonCodeNode",
 | 
						|
          "value": {
 | 
						|
            "type": "blockComment",
 | 
						|
            "value": "Set units",
 | 
						|
            "style": "line"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "NonCodeNode",
 | 
						|
          "value": {
 | 
						|
            "type": "newLine"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        {
 | 
						|
          "end": 0,
 | 
						|
          "start": 0,
 | 
						|
          "type": "NonCodeNode",
 | 
						|
          "value": {
 | 
						|
            "type": "blockComment",
 | 
						|
            "value": "Define constants in inches (in)",
 | 
						|
            "style": "line"
 | 
						|
          }
 | 
						|
        }
 | 
						|
      ]
 | 
						|
    },
 | 
						|
    "start": 0
 | 
						|
  }
 | 
						|
}
 |