Solid Deconstruction

Solid Deconstruction script details
Type
Rete logo image
rete
App Version
0.16.3
Visibility
public
Date Created
Sep 18, 2024, 7:39:49 AM
Last Edit Date
Sep 18, 2024, 10:38:32 AM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "12df91892f571def": { "id": "12df91892f571def", "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.4, "environmentIntensity": 0.7 }, "inputs": {}, "position": [ -1211.1429443359375, 841.2077331542969 ] }, "bf5d1a0d3bb4e124": { "id": "bf5d1a0d3bb4e124", "name": "bitbybit.draw.drawGridMesh", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "width": 400, "height": 400, "subdivisions": 10, "majorUnitFrequency": 10, "minorUnitVisibility": 0.45, "gridRatio": 0.5, "opacity": 0.5, "backFaceCulling": false, "mainColor": "#ffffff", "secondaryColor": "#ffffff" }, "inputs": {}, "position": [ -1211.8968505859375, 1265.899169921875 ] }, "8d19d5c3d0865a1c": { "id": "8d19d5c3d0865a1c", "name": "bitbybit.occt.shapes.wire.createParallelogramWire", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "center": [ 0, 0, 0 ], "direction": [ 0, 1, 0 ], "aroundCenter": true, "width": 15, "height": 3, "angle": 30 }, "inputs": {}, "position": [ -58.01387415337791, 1012.9564910595634 ] }, "0887ff8a8918d90e": { "id": "0887ff8a8918d90e", "name": "bitbybit.occt.shapes.wire.createParallelogramWire", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "center": [ 0, 0, 0 ], "direction": [ 0, 1, 0 ], "aroundCenter": true, "width": 10, "height": 2, "angle": 30 }, "inputs": {}, "position": [ -64.07600346375834, 1515.1400455586167 ] }, "cd0a033fbdf435cf": { "id": "cd0a033fbdf435cf", "name": "bitbybit.occt.fillets.fillet2d", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "radius": 0.5 }, "inputs": { "shape": { "connections": [ { "node": "8d19d5c3d0865a1c", "output": "result", "data": {} } ] } }, "position": [ 403.53517652601784, 1008.3035164711389 ] }, "8588fc7784768e1b": { "id": "8588fc7784768e1b", "name": "bitbybit.occt.fillets.fillet2d", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "radius": 0.5 }, "inputs": { "shape": { "connections": [ { "node": "0887ff8a8918d90e", "output": "result", "data": {} } ] } }, "position": [ 415.7343813669503, 1535.312614950462 ] }, "d0502e59e8089ceb": { "id": "d0502e59e8089ceb", "name": "bitbybit.occt.shapes.face.createFaceFromWires", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "planar": true }, "inputs": { "shapes": { "connections": [ { "node": "f42b4d64f3962b88", "output": "list", "data": {} } ] } }, "position": [ 1706.0561650777063, 1353.3075624691378 ] }, "f42b4d64f3962b88": { "id": "f42b4d64f3962b88", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "0714ff225849cbb4", "output": "result", "data": {} }, { "node": "8588fc7784768e1b", "output": "result", "data": {} } ] } }, "position": [ 1336.9813528331135, 1455.701548059076 ] }, "0714ff225849cbb4": { "id": "0714ff225849cbb4", "name": "bitbybit.occt.shapes.wire.reversedWire", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "shape": { "connections": [ { "node": "cd0a033fbdf435cf", "output": "result", "data": {} } ] } }, "position": [ 903.4209229161647, 1135.325868478869 ] }, "3029a022abe31b33": { "id": "3029a022abe31b33", "name": "bitbybit.occt.operations.extrude", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "direction": [ 0, 1, 0 ] }, "inputs": { "shape": { "connections": [ { "node": "d0502e59e8089ceb", "output": "result", "data": {} } ] } }, "position": [ 2128.3716881511077, 1349.4212936319695 ] }, "d2ea6a6e5b148c81": { "id": "d2ea6a6e5b148c81", "name": "bitbybit.occt.shapes.face.getFaces", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "shape": { "connections": [ { "node": "3029a022abe31b33", "output": "result", "data": {} } ] } }, "position": [ 2553.598711805232, 1240.013942872731 ] }, "118f6a9cc2fd3b25": { "id": "118f6a9cc2fd3b25", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "options": { "connections": [ { "node": "3a49df10ae16c3ec", "output": "result", "data": {} } ] }, "entity": { "connections": [ { "node": "18bb24da2e363b08", "output": "result", "data": {} } ] } }, "position": [ 3917.752341723538, 480.60342332891815 ] }, "655c46428174ef1d": { "id": "655c46428174ef1d", "name": "bitbybit.lists.getItem", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "index": 1, "clone": true }, "inputs": { "index": { "connections": [ { "node": "46daa5b6ebb59d81", "output": "result", "data": {} } ] }, "list": { "connections": [ { "node": "d2ea6a6e5b148c81", "output": "result", "data": {} } ] } }, "position": [ 3021.686970988991, 229.2113193520542 ] }, "3a49df10ae16c3ec": { "id": "3a49df10ae16c3ec", "name": "bitbybit.draw.optionsOcctShapeSimple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.01, "drawFaces": true, "faceColour": "#47ffda", "drawEdges": false, "edgeColour": "#ffffff", "edgeWidth": 2 }, "inputs": {}, "position": [ 3447.0455209559314, 714.086280947737 ] }, "10d2e0cf91e3ceb1": { "id": "10d2e0cf91e3ceb1", "name": "bitbybit.babylon.scene.drawDirectionalLight", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "direction": [ -100, -100, -100 ], "intensity": 0.5, "diffuse": "#ffffff", "specular": "#ffffff", "shadowGeneratorMapSize": 1024, "enableShadows": true, "shadowDarkness": 0 }, "inputs": {}, "position": [ -1246.9880438363061, 1917.1458048681766 ] }, "f5cb8a0e2e36137f": { "id": "f5cb8a0e2e36137f", "name": "bitbybit.previewData", "data": { "options": { "width": 297, "height": 236 }, "previewJSONControl": "[\n [\n {\n \"hash\": -733450133,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733450102,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733450071,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733450040,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733450009,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733449978,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733449947,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733449916,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733449885,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -733449854,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -1262118944,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -1262118913,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -1262118882,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -1262118851,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -1262118820,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -1262118789,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -1262118758,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": -1262118727,\n \"type\": \"occ-shape\"\n }\n ]\n]" }, "inputs": { "data": { "connections": [ { "node": "d2ea6a6e5b148c81", "output": "result", "data": {} } ] } }, "position": [ 3294.2340306606234, 1701.2049555966673 ] }, "46daa5b6ebb59d81": { "id": "46daa5b6ebb59d81", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 0, "max": 17, "step": 1, "width": 350, "updateOnDrag": true }, "number": 17 }, "inputs": {}, "position": [ 2378.383299106647, 316.8748713701567 ] }, "690aa6eb118150af": { "id": "690aa6eb118150af", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "options": { "connections": [ { "node": "1e639038bca8bd6a", "output": "result", "data": {} } ] }, "entity": { "connections": [ { "node": "3029a022abe31b33", "output": "result", "data": {} } ] } }, "position": [ 3363.2157712780213, 2269.9932447574993 ] }, "1e639038bca8bd6a": { "id": "1e639038bca8bd6a", "name": "bitbybit.draw.optionsOcctShapeSimple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.01, "drawFaces": true, "faceColour": "#4100a3", "drawEdges": false, "edgeColour": "#ffffff", "edgeWidth": 2 }, "inputs": {}, "position": [ 2820.7262755573415, 2364.0297416954913 ] }, "3193db61a32e4bba": { "id": "3193db61a32e4bba", "name": "bitbybit.occt.shapes.wire.getWires", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "shape": { "connections": [ { "node": "18bb24da2e363b08", "output": "result", "data": {} } ] } }, "position": [ 3705.417685746352, -421.67326616418165 ] }, "a41f075a7d25d5f7": { "id": "a41f075a7d25d5f7", "name": "bitbybit.previewData", "data": { "previewJSONControl": "[\n [\n {\n \"hash\": 1567903870,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": 1567903901,\n \"type\": \"occ-shape\"\n }\n ]\n]" }, "inputs": { "data": { "connections": [ { "node": "3193db61a32e4bba", "output": "result", "data": {} } ] } }, "position": [ 4149.721016163043, -169.80117473761396 ] }, "9b06dc016125c48c": { "id": "9b06dc016125c48c", "name": "bitbybit.lists.listLength", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "clone": true }, "inputs": { "list": { "connections": [ { "node": "d2ea6a6e5b148c81", "output": "result", "data": {} } ] } }, "position": [ 2981.7937248699545, 1181.7145453179453 ] }, "e593930c335cc5a6": { "id": "e593930c335cc5a6", "name": "bitbybit.previewData", "data": { "options": { "width": 310, "height": 100 }, "previewJSONControl": "[\n 18\n]" }, "inputs": { "data": { "connections": [ { "node": "9b06dc016125c48c", "output": "result", "data": {} } ] } }, "position": [ 3408.639769432333, 1242.4486635706382 ] }, "da9b6a1717e5b76b": { "id": "da9b6a1717e5b76b", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 0, "max": 1, "step": 1, "width": 350, "updateOnDrag": false }, "number": 0 }, "inputs": {}, "position": [ 3853.8823281960945, -955.2052758166014 ] }, "633d091230f11d59": { "id": "633d091230f11d59", "name": "bitbybit.lists.listLength", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "clone": true }, "inputs": { "list": { "connections": [ { "node": "3193db61a32e4bba", "output": "result", "data": {} } ] } }, "position": [ 4226.154668684043, -478.15029565232135 ] }, "ae4f6f8c5f91c0ae": { "id": "ae4f6f8c5f91c0ae", "name": "bitbybit.previewData", "data": { "options": { "width": 278, "height": 100 }, "previewJSONControl": "[\n 2\n]" }, "inputs": { "data": { "connections": [ { "node": "633d091230f11d59", "output": "result", "data": {} } ] } }, "position": [ 4593.3958837485425, -496.5363580762239 ] }, "91e18f80413c26ff": { "id": "91e18f80413c26ff", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "entity": { "connections": [ { "node": "ac0289a8a721fb4e", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "533a1b3ad09a0b8e", "output": "result", "data": {} } ] } }, "position": [ 5719.276426884092, -1177.8053568442342 ] }, "ac0289a8a721fb4e": { "id": "ac0289a8a721fb4e", "name": "bitbybit.lists.getItem", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "index": 0, "clone": true }, "inputs": { "list": { "connections": [ { "node": "3193db61a32e4bba", "output": "result", "data": {} } ] }, "index": { "connections": [ { "node": "da9b6a1717e5b76b", "output": "result", "data": {} } ] } }, "position": [ 4678.341347887051, -1023.9640469086139 ] }, "533a1b3ad09a0b8e": { "id": "533a1b3ad09a0b8e", "name": "bitbybit.draw.optionsOcctShapeSimple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.001, "drawFaces": false, "faceColour": "#ff0000", "drawEdges": true, "edgeColour": "#c8ff00", "edgeWidth": 4 }, "inputs": {}, "position": [ 5217.375762077873, -793.4545409451721 ] }, "18bb24da2e363b08": { "id": "18bb24da2e363b08", "name": "bitbybit.occt.operations.offset", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "distance": 0.1, "tolerance": 0.01 }, "inputs": { "shape": { "connections": [ { "node": "655c46428174ef1d", "output": "result", "data": {} } ] } }, "position": [ 3412.517008958977, 227.32936427322971 ] }, "d5d2faaae14eea93": { "id": "d5d2faaae14eea93", "name": "bitbybit.occt.shapes.edge.getEdges", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "shape": { "connections": [ { "node": "ac0289a8a721fb4e", "output": "result", "data": {} } ] } }, "position": [ 5170.225656800738, -1760.8072621382325 ] }, "d3949b17004953f4": { "id": "d3949b17004953f4", "name": "bitbybit.lists.listLength", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "clone": true }, "inputs": { "list": { "connections": [ { "node": "d5d2faaae14eea93", "output": "result", "data": {} } ] } }, "position": [ 5629.5462368353565, -2008.3658260315822 ] }, "0bf705278ad61566": { "id": "0bf705278ad61566", "name": "bitbybit.previewData", "data": { "previewJSONControl": "[\n [\n {\n \"hash\": 3598354,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": 3598385,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": 3598416,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": 3598447,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": 3598478,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": 3598509,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": 3598540,\n \"type\": \"occ-shape\"\n },\n {\n \"hash\": 3598571,\n \"type\": \"occ-shape\"\n }\n ]\n]" }, "inputs": { "data": { "connections": [ { "node": "d5d2faaae14eea93", "output": "result", "data": {} } ] } }, "position": [ 5997.925820633256, -1651.9045319197437 ] }, "893cfbca8676d18a": { "id": "893cfbca8676d18a", "name": "bitbybit.previewData", "data": { "options": { "width": 254, "height": 100 }, "previewJSONControl": "[\n 8\n]" }, "inputs": { "data": { "connections": [ { "node": "d3949b17004953f4", "output": "result", "data": {} } ] } }, "position": [ 6041.106667200615, -2015.120688801448 ] }, "ad9ba1d08752f13d": { "id": "ad9ba1d08752f13d", "name": "bitbybit.lists.getItem", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "index": 0, "clone": true }, "inputs": { "index": { "connections": [ { "node": "e1173fddc37c29d0", "output": "result", "data": {} } ] }, "list": { "connections": [ { "node": "d5d2faaae14eea93", "output": "result", "data": {} } ] } }, "position": [ 5690.776850543945, -2743.6610839347427 ] }, "e1173fddc37c29d0": { "id": "e1173fddc37c29d0", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 0, "max": 7, "step": 1, "width": 350, "updateOnDrag": false }, "number": 7 }, "inputs": {}, "position": [ 4960.907193912833, -2420.060240614302 ] }, "c234cb52395bab31": { "id": "c234cb52395bab31", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "options": { "connections": [ { "node": "3294386a56f988f0", "output": "result", "data": {} } ] }, "entity": { "connections": [ { "node": "ad9ba1d08752f13d", "output": "result", "data": {} } ] } }, "position": [ 6661.879200427232, -2859.486598227396 ] }, "3294386a56f988f0": { "id": "3294386a56f988f0", "name": "bitbybit.draw.optionsOcctShapeSimple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.001, "drawFaces": false, "faceColour": "#ff0000", "drawEdges": true, "edgeColour": "#ff0000", "edgeWidth": 4 }, "inputs": {}, "position": [ 6142.720851912906, -2583.65657229004 ] } } }