Script: Chamfer geometry with a hole

Chamfer geometry with a hole picture
Type
Rete logo indicatorrete
Author
matas
Date Created
Feb 23, 2024, 3:12:17 PM
Last Edit Date
Feb 23, 2024, 3:17:14 PM

Project Information

This project contains demo scripts for Rete editor that are used as examples in the "Getting Started" section of the documentation.

View Full Project

Script Code

{
  "id": "rete-v2-json",
  "nodes": {
    "465a6cff04eeb4c7": {
      "id": "465a6cff04eeb4c7",
      "name": "bitbybit.occt.fillets.chamferEdges",
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "distance": 0.5
      },
      "inputs": {
        "shape": {
          "connections": [
            {
              "node": "134db198c978e5a5",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        25.869618545988516,
        850.4317699140497
      ]
    },
    "b19bb772deab47ce": {
      "id": "b19bb772deab47ce",
      "name": "bitbybit.occt.shapes.solid.createCylinder",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 2,
        "height": 8
      },
      "inputs": {
        "direction": {
          "connections": [
            {
              "node": "28b22e6329a3febd",
              "output": "result",
              "data": {}
            }
          ]
        },
        "center": {
          "connections": [
            {
              "node": "36c94019c8ee49cf",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -905.7708007163599,
        967.4837207911903
      ]
    },
    "28b22e6329a3febd": {
      "id": "28b22e6329a3febd",
      "name": "bitbybit.vector.vectorXYZ",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": 1,
        "y": 0,
        "z": 0
      },
      "inputs": {},
      "position": [
        -1270.401024117951,
        1308.0223750907223
      ]
    },
    "8ba320349be6d0e6": {
      "id": "8ba320349be6d0e6",
      "name": "bitbybit.lists.createList",
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": "b19bb772deab47ce",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -548.0110127318145,
        1114.6413541651573
      ]
    },
    "134db198c978e5a5": {
      "id": "134db198c978e5a5",
      "name": "bitbybit.occt.booleans.difference",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "keepEdges": false
      },
      "inputs": {
        "shapes": {
          "connections": [
            {
              "node": "8ba320349be6d0e6",
              "output": "list",
              "data": {}
            }
          ]
        },
        "shape": {
          "connections": [
            {
              "node": "d3846c69e45faeee",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -334.28492550210524,
        727.5800438660185
      ]
    },
    "d3846c69e45faeee": {
      "id": "d3846c69e45faeee",
      "name": "bitbybit.occt.shapes.solid.createBox",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "width": 5,
        "length": 8,
        "height": 11
      },
      "inputs": {},
      "position": [
        -1099.250222686699,
        476.74125056103367
      ]
    },
    "36c94019c8ee49cf": {
      "id": "36c94019c8ee49cf",
      "name": "bitbybit.vector.vectorXYZ",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": -4,
        "y": 0,
        "z": 0
      },
      "inputs": {},
      "position": [
        -1295.6103092286526,
        922.9426725145504
      ]
    }
  }
}