Script: Boolean union

Boolean union picture
Type
Rete logo indicatorrete
Author
matas
Date Created
Feb 23, 2024, 4:47:39 PM
Last Edit Date
Feb 23, 2024, 4:58:20 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": {
    "e3a91874d35fed36": {
      "id": "e3a91874d35fed36",
      "name": "bitbybit.occt.shapes.solid.createBox",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "width": 5,
        "length": 8,
        "height": 5
      },
      "inputs": {},
      "position": [
        -962.7244843514161,
        953.4668432455264
      ]
    },
    "f0047033d1cf708e": {
      "id": "f0047033d1cf708e",
      "name": "bitbybit.occt.shapes.solid.createCylinder",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 3,
        "height": 7
      },
      "inputs": {
        "center": {
          "connections": [
            {
              "node": "17ed45a416872a64",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -996.4690833108496,
        1304.5010230126259
      ]
    },
    "17ed45a416872a64": {
      "id": "17ed45a416872a64",
      "name": "bitbybit.vector.vectorXYZ",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": 3,
        "y": 0,
        "z": 3
      },
      "inputs": {},
      "position": [
        -1361.617583593442,
        1325.4150656353868
      ]
    },
    "02a86d62fa90ceff": {
      "id": "02a86d62fa90ceff",
      "name": "bitbybit.occt.shapes.solid.createSphere",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 3
      },
      "inputs": {
        "center": {
          "connections": [
            {
              "node": "ffc84ac75f3ae847",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -970.6006661329077,
        1672.181268989269
      ]
    },
    "ffc84ac75f3ae847": {
      "id": "ffc84ac75f3ae847",
      "name": "bitbybit.vector.vectorXYZ",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": -1.5,
        "y": 1.5,
        "z": -5
      },
      "inputs": {},
      "position": [
        -1315.516361464423,
        1641.7722755088807
      ]
    },
    "4558746aadb6d65a": {
      "id": "4558746aadb6d65a",
      "name": "bitbybit.occt.booleans.union",
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "keepEdges": false
      },
      "inputs": {
        "shapes": {
          "connections": [
            {
              "node": "18a55d27c40f1143",
              "output": "list",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -164.14411429731987,
        1308.9160270232292
      ]
    },
    "18a55d27c40f1143": {
      "id": "18a55d27c40f1143",
      "name": "bitbybit.lists.createList",
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": "e3a91874d35fed36",
              "output": "result",
              "data": {}
            },
            {
              "node": "f0047033d1cf708e",
              "output": "result",
              "data": {}
            },
            {
              "node": "02a86d62fa90ceff",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -568.9054803751495,
        1365.5769853133597
      ]
    }
  }
}