3D Structural Roof Driven By Control Points

3D Structural Roof Driven By Control Points script details
Type
Rete logo image
rete
App Version
0.19.0
Visibility
public
Date Created
Oct 3, 2024, 10:23:32 AM
Last Edit Date
Nov 27, 2024, 1:12:38 PM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "2603321af859291c": { "id": "2603321af859291c", "name": "bitbybit.occt.shapes.wire.interpolatePoints", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "periodic": false, "tolerance": 1e-7 }, "inputs": { "points": { "connections": [ { "node": "f44e03d70f4c20f8", "output": "result", "data": {} } ] } }, "position": [ -935.9868326531307, 2685.933358140276 ] }, "f44e03d70f4c20f8": { "id": "f44e03d70f4c20f8", "name": "bitbybit.code.jsonEditor", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": true }, "code": { "code": "[\n [\n -32,\n 0,\n -10\n ],\n [\n -15,\n 0,\n -5\n ],\n [\n 0,\n 0,\n 10\n ],\n [\n 32,\n 0,\n 10\n ]\n]" } }, "inputs": {}, "position": [ -1571.9638985865386, 2732.9477453647414 ] }, "56699746c41068da": { "id": "56699746c41068da", "name": "bitbybit.occt.shapes.wire.divideWireByParamsToPoints", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "nrOfDivisions": 5, "removeStartPoint": false, "removeEndPoint": false }, "inputs": { "shape": { "connections": [ { "node": "2603321af859291c", "output": "result", "data": {} } ] } }, "position": [ -14.301153692425373, 2735.372280093533 ] }, "8698aa61968f0753": { "id": "8698aa61968f0753", "name": "bitbybit.babylon.meshBuilder.createGoldberg", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "m": 1, "n": 1, "size": 0.5, "sizeX": 0, "sizeY": 0, "sizeZ": 0, "sideOrientation": "frontside", "enableShadows": true }, "inputs": {}, "position": [ -957.5718707479873, 2074.702129005008 ] }, "5beaa31ac0b12cc1": { "id": "5beaa31ac0b12cc1", "name": "bitbybit.babylon.mesh.cloneToPositions", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "positions": [] }, "inputs": { "positions": { "connections": [ { "node": "56699746c41068da", "output": "result", "data": {} } ] }, "babylonMesh": { "connections": [ { "node": "8698aa61968f0753", "output": "result", "data": {} } ] } }, "position": [ 633.7493258273123, 2498.083698301964 ] }, "3f5b5f3901694b70": { "id": "3f5b5f3901694b70", "name": "bitbybit.babylon.gizmo.manager.createGizmoManager", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "positionGizmoEnabled": true, "rotationGizmoEnabled": false, "scaleGizmoEnabled": false, "boundingBoxGizmoEnabled": false, "usePointerToAttachGizmos": true, "clearGizmoOnEmptyPointerEvent": true, "scaleRatio": 0.5 }, "inputs": { "attachableMeshes": { "connections": [ { "node": "5beaa31ac0b12cc1", "output": "result", "data": {} } ] } }, "position": [ 1182.9815473707577, 3374.0216588231465 ] }, "cc2ab51934745ecb": { "id": "cc2ab51934745ecb", "name": "bitbybit.babylon.gizmo.manager.getPositionGizmo", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "gizmoManager": { "connections": [ { "node": "3f5b5f3901694b70", "output": "result", "data": {} } ] } }, "position": [ 1631.786804644318, 3369.9652796475034 ] }, "ff32cb865a2ca86d": { "id": "ff32cb865a2ca86d", "name": "bitbybit.babylon.gizmo.positionGizmo.getXGizmo", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "positionGizmo": { "connections": [ { "node": "cc2ab51934745ecb", "output": "result", "data": {} } ] } }, "position": [ 2229.7476101575708, 4268.659411931366 ] }, "029d08c7be601ddb": { "id": "029d08c7be601ddb", "name": "bitbybit.babylon.gizmo.positionGizmo.getZGizmo", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "positionGizmo": { "connections": [ { "node": "cc2ab51934745ecb", "output": "result", "data": {} } ] } }, "position": [ 2228.1755855872216, 4545.157392082679 ] }, "a99a803dcd4eb00a": { "id": "a99a803dcd4eb00a", "name": "bitbybit.babylon.gizmo.axisDragGizmo.setIsEnabled", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "isEnabled": false }, "inputs": { "axisDragGizmo": { "connections": [ { "node": "ff32cb865a2ca86d", "output": "result", "data": {} }, { "node": "029d08c7be601ddb", "output": "result", "data": {} } ] } }, "position": [ 2616.8267591253157, 4428.969423338504 ] }, "c43e730a32ab0db4": { "id": "c43e730a32ab0db4", "name": "bitbybit.flow.babylon.observableListener", "data": {}, "inputs": { "object": { "connections": [ { "node": "cc2ab51934745ecb", "output": "result", "data": {} } ] }, "observableSelector": { "connections": [ { "node": "18e1c7ad6c5fd7e0", "output": "result", "data": {} } ] } }, "position": [ 4232.8597374124565, 5437.2325132547485 ] }, "18e1c7ad6c5fd7e0": { "id": "18e1c7ad6c5fd7e0", "name": "bitbybit.babylon.gizmo.positionGizmo.createPositionGizmoObservableSelector", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "selector": "onDragEndObservable" }, "inputs": {}, "position": [ 3644.469943761036, 5535.429154449998 ] }, "cc84e46d0c9e5e93": { "id": "cc84e46d0c9e5e93", "name": "bitbybit.babylon.mesh.getPosition", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": true } }, "inputs": { "babylonMesh": { "connections": [ { "node": "32780adb3f2c5cc4", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "c43e730a32ab0db4", "output": "exec", "data": {} } ] } }, "position": [ 5835.6977447521285, 4988.595895577259 ] }, "32780adb3f2c5cc4": { "id": "32780adb3f2c5cc4", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "5beaa31ac0b12cc1", "output": "result", "data": {} } ] } }, "position": [ 4754.19477173895, 4390.829235847128 ] }, "6e6254491efe8234": { "id": "6e6254491efe8234", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "cc84e46d0c9e5e93", "output": "result", "data": {} } ] } }, "position": [ 6165.736793330634, 5023.751970974189 ] }, "b1deb669dadc2620": { "id": "b1deb669dadc2620", "name": "bitbybit.occt.shapes.wire.interpolatePoints", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "periodic": false, "tolerance": 1e-7 }, "inputs": { "points": { "connections": [ { "node": "6e6254491efe8234", "output": "list", "data": {} } ] } }, "position": [ 6455.514346347646, 4983.865314256876 ] }, "bf6dec359c56ba11": { "id": "bf6dec359c56ba11", "name": "bitbybit.flow.counters.counterMinMax", "data": { "count": 0, "min": 0, "max": 360, "step": 1, "pulse": false, "end": false }, "inputs": { "exec": { "connections": [ { "node": "cd699d0a32c2179e", "output": "exec", "data": {} } ] }, "max": { "connections": [ { "node": "fe7030cd999aacc5", "output": "result", "data": {} } ] } }, "position": [ 4334.3498223875595, 1121.3066705472806 ] }, "cd699d0a32c2179e": { "id": "cd699d0a32c2179e", "name": "bitbybit.flow.babylon.observableListener", "data": {}, "inputs": { "observableSelector": { "connections": [ { "node": "b4cfaaf49110f15c", "output": "result", "data": {} } ] }, "object": { "connections": [ { "node": "cc2ab51934745ecb", "output": "result", "data": {} } ] } }, "position": [ 3784.2832780219455, 1282.0405988337222 ] }, "b4cfaaf49110f15c": { "id": "b4cfaaf49110f15c", "name": "bitbybit.babylon.gizmo.positionGizmo.createPositionGizmoObservableSelector", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "selector": "onDragObservable" }, "inputs": {}, "position": [ 2961.1048086877086, 1281.9084044847234 ] }, "088e5d5f7c4d3a33": { "id": "088e5d5f7c4d3a33", "name": "bitbybit.logic.compare", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": true }, "operator": "==" }, "inputs": { "first": { "connections": [ { "node": "bf6dec359c56ba11", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "bf6dec359c56ba11", "output": "exec", "data": {} } ] }, "second": { "connections": [ { "node": "fe7030cd999aacc5", "output": "result", "data": {} } ] } }, "position": [ 5045.186291997142, 895.1534759884842 ] }, "fe7030cd999aacc5": { "id": "fe7030cd999aacc5", "name": "bitbybit.math.number", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "number": 10 }, "inputs": {}, "position": [ 3670.5943100753298, 928.84209312544 ] }, "2db9742f3c21f0e0": { "id": "2db9742f3c21f0e0", "name": "bitbybit.flow.logic.booleanGate", "data": { "boolean": false }, "inputs": { "exec": { "connections": [ { "node": "088e5d5f7c4d3a33", "output": "exec", "data": {} } ] }, "boolean": { "connections": [ { "node": "088e5d5f7c4d3a33", "output": "result", "data": {} } ] } }, "position": [ 5470.190924375926, 924.6745805552491 ] }, "387fda9b3d75efa2": { "id": "387fda9b3d75efa2", "name": "bitbybit.babylon.mesh.getPosition", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": true } }, "inputs": { "babylonMesh": { "connections": [ { "node": "32780adb3f2c5cc4", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "2db9742f3c21f0e0", "output": "execTrue", "data": {} } ] } }, "position": [ 6169.56309248496, 847.4550156472511 ] }, "73b310372717f215": { "id": "73b310372717f215", "name": "bitbybit.occt.shapes.wire.interpolatePoints", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "periodic": false, "tolerance": 1e-7 }, "inputs": { "points": { "connections": [ { "node": "6b54f8c84cf844a3", "output": "list", "data": {} } ] }, "exec": { "connections": [ { "node": "6b54f8c84cf844a3", "output": "exec", "data": {} } ] } }, "position": [ 6866.215086464819, 804.3675130655216 ] }, "6b54f8c84cf844a3": { "id": "6b54f8c84cf844a3", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "387fda9b3d75efa2", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "387fda9b3d75efa2", "output": "exec", "data": {} } ] } }, "position": [ 6559.048643742946, 885.32304117808 ] }, "c55a21fd94a12eaf": { "id": "c55a21fd94a12eaf", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "entity": { "connections": [ { "node": "73b310372717f215", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "73b310372717f215", "output": "exec", "data": {} } ] }, "options": { "connections": [ { "node": "739d72f5c3efa87e", "output": "result", "data": {} } ] } }, "position": [ 7261.615551999211, 745.1438046761411 ] }, "581f23322de7a035": { "id": "581f23322de7a035", "name": "bitbybit.babylon.mesh.hide", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "includeChildren": true }, "inputs": { "babylonMesh": { "connections": [ { "node": "c55a21fd94a12eaf", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "c43e730a32ab0db4", "output": "exec", "data": {} } ] } }, "position": [ 7740.8762036295075, 957.1530760238478 ] }, "68aecf6d83a3bc2c": { "id": "68aecf6d83a3bc2c", "name": "bitbybit.babylon.mesh.show", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "includeChildren": true }, "inputs": { "exec": { "connections": [ { "node": "c55a21fd94a12eaf", "output": "exec", "data": {} } ] } }, "position": [ 7729.787352025913, 621.870970417277 ] }, "13670cd5abee487f": { "id": "13670cd5abee487f", "name": "bitbybit.occt.transforms.translate", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "translation": [ 0, 0, 0 ] }, "inputs": { "shape": { "connections": [ { "node": "2603321af859291c", "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": "d00cada85b222992", "output": "result", "data": {} } ] } }, "position": [ 6923.116342731691, 3690.348032070639 ] }, "d00cada85b222992": { "id": "d00cada85b222992", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": 0, "z": 20 }, "inputs": { "z": { "connections": [ { "node": "1e6740c3b3a85b7d", "output": "result", "data": {} } ] } }, "position": [ 6547.273017995997, 3834.850020366361 ] }, "ad6a075b0e4247e6": { "id": "ad6a075b0e4247e6", "name": "bitbybit.occt.transforms.translate", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "translation": [ 0, 0, 0 ] }, "inputs": { "translation": { "connections": [ { "node": "f302ca35bdb3d4e1", "output": "result", "data": {} } ] }, "shape": { "connections": [ { "node": "2603321af859291c", "output": "result", "data": {} } ] } }, "position": [ 6954.175205691483, 4123.137653376864 ] }, "3e189867eb825eae": { "id": "3e189867eb825eae", "name": "bitbybit.math.negate", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "number": 1 }, "inputs": { "number": { "connections": [ { "node": "1e6740c3b3a85b7d", "output": "result", "data": {} } ] } }, "position": [ 6205.6678791661425, 4229.091379551566 ] }, "1e6740c3b3a85b7d": { "id": "1e6740c3b3a85b7d", "name": "bitbybit.math.number", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "number": 20 }, "inputs": {}, "position": [ 5656.366273842287, 4162.625153013896 ] }, "f302ca35bdb3d4e1": { "id": "f302ca35bdb3d4e1", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": 0, "z": 20 }, "inputs": { "z": { "connections": [ { "node": "3e189867eb825eae", "output": "result", "data": {} } ] } }, "position": [ 6537.10348074995, 4281.03219923505 ] }, "d3b35cc343f16ac7": { "id": "d3b35cc343f16ac7", "name": "bitbybit.occt.operations.loft", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "makeSolid": false }, "inputs": { "shapes": { "connections": [ { "node": "1bba7c7362ccdf2f", "output": "result", "data": {} } ] } }, "position": [ 8118.691418360421, 4117.33880767183 ] }, "4f876efd41833be9": { "id": "4f876efd41833be9", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "ad6a075b0e4247e6", "output": "result", "data": {} }, { "node": "b1deb669dadc2620", "output": "result", "data": {} }, { "node": "13670cd5abee487f", "output": "result", "data": {} } ] } }, "position": [ 7403.438547280274, 4135.436612434004 ] }, "1bba7c7362ccdf2f": { "id": "1bba7c7362ccdf2f", "name": "bitbybit.lists.reverse", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "clone": true }, "inputs": { "list": { "connections": [ { "node": "4f876efd41833be9", "output": "list", "data": {} } ] } }, "position": [ 7716.743368646248, 4077.7777516922656 ] }, "eae6ec6599810d28": { "id": "eae6ec6599810d28", "name": "bitbybit.occt.transforms.translate", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "translation": [ 0, 0, 0 ] }, "inputs": { "translation": { "connections": [ { "node": "7ed758754391422b", "output": "result", "data": {} } ] }, "shape": { "connections": [ { "node": "d3b35cc343f16ac7", "output": "result", "data": {} } ] } }, "position": [ 8700.197313486895, 4266.38697096926 ] }, "7ed758754391422b": { "id": "7ed758754391422b", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": -4, "z": 0 }, "inputs": {}, "position": [ 8236.361458056084, 4573.416755381945 ] }, "8d3d368d827b2f99": { "id": "8d3d368d827b2f99", "name": "bitbybit.occt.shapes.face.getFace", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "index": 0 }, "inputs": { "shape": { "connections": [ { "node": "eae6ec6599810d28", "output": "result", "data": {} } ] } }, "position": [ 9046.450177739385, 3970.5182826252544 ] }, "d7b3120495fa5a4f": { "id": "d7b3120495fa5a4f", "name": "bitbybit.json.parse", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "text": "[0.9]" }, "inputs": {}, "position": [ 9044.628438298034, 4313.580241862604 ] }, "b3458974a8d6a5f9": { "id": "b3458974a8d6a5f9", "name": "bitbybit.babylon.mesh.hide", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "includeChildren": true }, "inputs": { "babylonMesh": { "connections": [ { "node": "8698aa61968f0753", "output": "result", "data": {} } ] } }, "position": [ -508.88301178976855, 2336.3354552009187 ] }, "ceab28bb3db66972": { "id": "ceab28bb3db66972", "name": "bitbybit.occt.shapes.face.subdivideToRectangleHoles", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "nrRectanglesU": 10, "nrRectanglesV": 10, "holesToFaces": true, "offsetFromBorderU": 0, "offsetFromBorderV": 0 }, "inputs": { "scalePatternU": { "connections": [ { "node": "d7b3120495fa5a4f", "output": "result", "data": {} } ] }, "scalePatternV": { "connections": [ { "node": "d7b3120495fa5a4f", "output": "result", "data": {} } ] }, "shape": { "connections": [ { "node": "8d3d368d827b2f99", "output": "result", "data": {} } ] }, "filletPattern": { "connections": [ { "node": "3abb8baf9ed4edc6", "output": "result", "data": {} } ] } }, "position": [ 9647.047163137198, 4591.036234157442 ] }, "ac2e2cd69c8b5cae": { "id": "ac2e2cd69c8b5cae", "name": "bitbybit.lists.removeItemAtIndex", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "index": 0, "clone": true }, "inputs": { "list": { "connections": [ { "node": "ceab28bb3db66972", "output": "result", "data": {} } ] } }, "position": [ 10167.926075860792, 4755.265275534341 ] }, "f4fed924cd3831e3": { "id": "f4fed924cd3831e3", "name": "bitbybit.occt.operations.makeThickSolidSimple", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "offset": 1 }, "inputs": { "shape": { "connections": [ { "node": "0a103f6f99c53b9b", "output": "result", "data": {} } ] } }, "position": [ 10955.514862411732, 4846.322497880385 ] }, "0a103f6f99c53b9b": { "id": "0a103f6f99c53b9b", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "ac2e2cd69c8b5cae", "output": "result", "data": {} } ] } }, "position": [ 10556.96872345234, 4821.8489697924715 ] }, "c0ca70830f63f214": { "id": "c0ca70830f63f214", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "options": { "connections": [ { "node": "6d8bcfe2f21d68e5", "output": "result", "data": {} } ] }, "entity": { "connections": [ { "node": "b1deb669dadc2620", "output": "result", "data": {} } ] }, "exec": { "connections": [ { "node": "c43e730a32ab0db4", "output": "exec", "data": {} } ] } }, "position": [ 7029.67733810434, 5158.354092488199 ] }, "6d8bcfe2f21d68e5": { "id": "6d8bcfe2f21d68e5", "name": "bitbybit.draw.optionsOcctShapeSimple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.01, "drawFaces": false, "faceColour": "#ff0000", "drawEdges": true, "edgeColour": "#00ff11", "edgeWidth": 20 }, "inputs": {}, "position": [ 6404.600780287292, 5604.783591231057 ] }, "a9346475dfd2ef3b": { "id": "a9346475dfd2ef3b", "name": "bitbybit.babylon.scene.drawDirectionalLight", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "direction": [ -100, -100, -100 ], "intensity": 3, "diffuse": "#ffffff", "specular": "#ffffff", "shadowGeneratorMapSize": 2056, "enableShadows": true, "shadowDarkness": 0, "shadowUsePercentageCloserFiltering": true, "shadowContactHardeningLightSizeUVRatio": 0.2, "shadowBias": 0.0003, "shadowNormalBias": 0.002, "shadowMaxZ": 1000, "shadowMinZ": 0 }, "inputs": {}, "position": [ -1616.8120298040851, 4143.678042931654 ] }, "3f1719fa403897db": { "id": "3f1719fa403897db", "name": "bitbybit.babylon.scene.enableSkybox", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "skybox": "clearSky", "size": 1000, "blur": 0.5, "environmentIntensity": 0.7 }, "inputs": {}, "position": [ -2004.4694856060073, 4405.645017713094 ] }, "9dd477cb7d376c03": { "id": "9dd477cb7d376c03", "name": "bitbybit.occt.shapes.face.createCircleFace", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "radius": 60, "center": [ 0, 0, 0 ], "direction": [ 0, 1, 0 ] }, "inputs": { "center": { "connections": [ { "node": "c1ef4b013b4857fa", "output": "result", "data": {} } ] } }, "position": [ -262.44613167550574, 5007.952295993376 ] }, "c1ef4b013b4857fa": { "id": "c1ef4b013b4857fa", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": -20, "z": 0 }, "inputs": {}, "position": [ -625.4051721431558, 5051.511592054631 ] }, "bb88d561b53c0e3e": { "id": "bb88d561b53c0e3e", "name": "bitbybit.babylon.material.pbrMetallicRoughness.create", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "name": "Custom Material", "baseColor": "#000000", "emissiveColor": "#000000", "metallic": 0.6, "roughness": 0.5, "alpha": 1, "backFaceCulling": false, "zOffset": 2 }, "inputs": {}, "position": [ -321.2260536054992, 5483.788181827284 ] }, "aa946c4600c83896": { "id": "aa946c4600c83896", "name": "bitbybit.draw.optionsOcctShapeMaterial", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.01, "drawEdges": true, "edgeColour": "#ffffff", "edgeWidth": 2 }, "inputs": { "faceMaterial": { "connections": [ { "node": "bb88d561b53c0e3e", "output": "result", "data": {} } ] } }, "position": [ 48.21027839280944, 5448.388406857614 ] }, "3abb8baf9ed4edc6": { "id": "3abb8baf9ed4edc6", "name": "bitbybit.json.parse", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "text": "[0.6]" }, "inputs": {}, "position": [ 9084.36579846452, 4755.788802429685 ] }, "5da52c85dd85b840": { "id": "5da52c85dd85b840", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "entity": { "connections": [ { "node": "9dd477cb7d376c03", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "aa946c4600c83896", "output": "result", "data": {} } ] } }, "position": [ 636.2385447653305, 5135.092829428861 ] }, "6c7a4671bec97400": { "id": "6c7a4671bec97400", "name": "bitbybit.occt.shapes.compound.makeCompound", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "shapes": { "connections": [ { "node": "e1da09fb45c37121", "output": "list", "data": {} } ] }, "exec": { "connections": [ { "node": "c43e730a32ab0db4", "output": "exec", "data": {} } ] } }, "position": [ 11818.166187103325, 5345.992012532392 ] }, "e1da09fb45c37121": { "id": "e1da09fb45c37121", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "f4fed924cd3831e3", "output": "result", "data": {} } ] } }, "position": [ 11328.645050393923, 5033.609248479531 ] }, "739d72f5c3efa87e": { "id": "739d72f5c3efa87e", "name": "bitbybit.draw.optionsOcctShapeSimple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.01, "drawFaces": false, "faceColour": "#ff0000", "drawEdges": true, "edgeColour": "#ffae00", "edgeWidth": 20 }, "inputs": {}, "position": [ 6814.017702334545, 298.86930015459416 ] }, "55f2f543b6dd4c78": { "id": "55f2f543b6dd4c78", "name": "bitbybit.babylon.mesh.show", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "includeChildren": true }, "inputs": { "babylonMesh": { "connections": [ { "node": "4d6c37788fedce0a", "output": "result", "data": {} } ] } }, "position": [ 1557.2709613308507, 2146.356625503563 ] }, "4d6c37788fedce0a": { "id": "4d6c37788fedce0a", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "5beaa31ac0b12cc1", "output": "result", "data": {} } ] } }, "position": [ 1145.3025272679026, 2362.0732880641544 ] }, "cc595c2f1ac9b93b": { "id": "cc595c2f1ac9b93b", "name": "bitbybit.babylon.mesh.setMaterial", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "includeChildren": false }, "inputs": { "babylonMesh": { "connections": [ { "node": "4d6c37788fedce0a", "output": "result", "data": {} } ] }, "material": { "connections": [ { "node": "ddc8a50424520f0d", "output": "result", "data": {} } ] } }, "position": [ 1549.5809141013472, 1783.6616621500914 ] }, "ddc8a50424520f0d": { "id": "ddc8a50424520f0d", "name": "bitbybit.babylon.material.pbrMetallicRoughness.create", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "name": "Custom Material", "baseColor": "#0400ff", "emissiveColor": "#000000", "metallic": 0.3, "roughness": 0.5, "alpha": 1, "backFaceCulling": false, "zOffset": 0 }, "inputs": {}, "position": [ 1090.6593643978908, 1818.1524272947559 ] } } }