Script: Intersection solid

Intersection solid picture
Type
Rete logo indicatorrete
Author
matas
Date Created
Feb 23, 2024, 6:52:04 PM
Last Edit Date
Feb 27, 2024, 11:32:51 AM

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": {
    "1185370897752f77": {
      "id": "1185370897752f77",
      "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
      ]
    },
    "e3d0c30359e3380b": {
      "id": "e3d0c30359e3380b",
      "name": "bitbybit.occt.shapes.solid.createCylinder",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 3,
        "height": 7
      },
      "inputs": {
        "center": {
          "connections": [
            {
              "node": "99e03e0405018ea2",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -996.4690833108496,
        1304.5010230126259
      ]
    },
    "99e03e0405018ea2": {
      "id": "99e03e0405018ea2",
      "name": "bitbybit.vector.vectorXYZ",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "x": 3,
        "y": 0,
        "z": 3
      },
      "inputs": {},
      "position": [
        -1361.617583593442,
        1325.4150656353868
      ]
    },
    "6995c438fa66bb5b": {
      "id": "6995c438fa66bb5b",
      "name": "bitbybit.occt.shapes.solid.createSphere",
      "data": {
        "genericNodeData": {
          "hide": true,
          "oneOnOne": false,
          "flatten": 0
        },
        "radius": 3
      },
      "inputs": {
        "center": {
          "connections": [
            {
              "node": "8d075ada9c8acca1",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -970.6006661329077,
        1672.181268989269
      ]
    },
    "8d075ada9c8acca1": {
      "id": "8d075ada9c8acca1",
      "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
      ]
    },
    "8e89051010f4fa30": {
      "id": "8e89051010f4fa30",
      "name": "bitbybit.lists.createList",
      "data": {},
      "inputs": {
        "listElements": {
          "connections": [
            {
              "node": "1185370897752f77",
              "output": "result",
              "data": {}
            },
            {
              "node": "e3d0c30359e3380b",
              "output": "result",
              "data": {}
            },
            {
              "node": "6995c438fa66bb5b",
              "output": "result",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -568.6598644469133,
        1365.5769853133597
      ]
    },
    "c4013db42564d119": {
      "id": "c4013db42564d119",
      "name": "bitbybit.occt.booleans.intersection",
      "data": {
        "genericNodeData": {
          "hide": false,
          "oneOnOne": false,
          "flatten": 0
        },
        "keepEdges": false
      },
      "inputs": {
        "shapes": {
          "connections": [
            {
              "node": "8e89051010f4fa30",
              "output": "list",
              "data": {}
            }
          ]
        }
      },
      "position": [
        -161.93904723030266,
        1329.0338059743085
      ]
    }
  }
}