Dividing Large Wire Example

Dividing Large Wire Example script details
Author
matas
Type
Rete logo image
rete
App Version
0.16.2
Visibility
public
Date Created
Sep 14, 2024, 11:12:50 AM
Last Edit Date
Sep 14, 2024, 11:49:01 AM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "07617d524b5b083f": { "id": "07617d524b5b083f", "name": "bitbybit.occt.shapes.wire.getWireLength", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "shape": { "connections": [ { "node": "1125cd8315b07993", "output": "result", "data": {} } ] } }, "position": [ 2282.046507813783, 97.81313278029633 ] }, "132306907bd2dd70": { "id": "132306907bd2dd70", "name": "bitbybit.previewData", "data": { "previewJSONControl": "[\n 4340.827912144725\n]" }, "inputs": { "data": { "connections": [ { "node": "07617d524b5b083f", "output": "result", "data": {} } ] } }, "position": [ 2623.9621801476037, -99.87175163569884 ] }, "ec973aff5327643c": { "id": "ec973aff5327643c", "name": "bitbybit.occt.shapes.wire.createLineWire", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "start": [ 0, 0, 0 ], "end": [ 0, 1, 0 ] }, "inputs": { "start": { "connections": [ { "node": "70f72af56d0edab3", "output": "result", "data": {} } ] }, "end": { "connections": [ { "node": "0f694ccb982e365d", "output": "result", "data": {} } ] } }, "position": [ 365.95705481060884, 746.843829922219 ] }, "70f72af56d0edab3": { "id": "70f72af56d0edab3", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": -200, "y": 0, "z": -10 }, "inputs": {}, "position": [ -80.71521735425037, 440.3050918230051 ] }, "0f694ccb982e365d": { "id": "0f694ccb982e365d", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 200, "y": 0, "z": -10 }, "inputs": {}, "position": [ -66.33623127160135, 972.6277805519092 ] }, "91cec7c9de876f97": { "id": "91cec7c9de876f97", "name": "bitbybit.draw.optionsSimple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "colours": "#ff0000", "size": 0.3, "opacity": 1, "updatable": false, "hidden": false }, "inputs": {}, "position": [ 2953.593348019897, 777.4135722499004 ] }, "0ce87d99f32102c3": { "id": "0ce87d99f32102c3", "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": "ec973aff5327643c", "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": "336308488b9e9362", "output": "result", "data": {} } ] } }, "position": [ 720.4514049520625, 1021.6918369174364 ] }, "336308488b9e9362": { "id": "336308488b9e9362", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 0, "y": 0, "z": 49.95 }, "inputs": {}, "position": [ 324.4519729275021, 1135.4074479447243 ] }, "2b7a54f8deee89db": { "id": "2b7a54f8deee89db", "name": "bitbybit.occt.shapes.wire.createZigZagBetweenTwoWires", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "nrZigZags": 70, "inverse": false, "divideByEqualDistance": false, "zigZagsPerEdge": true }, "inputs": { "wire1": { "connections": [ { "node": "ec973aff5327643c", "output": "result", "data": {} } ] }, "wire2": { "connections": [ { "node": "0ce87d99f32102c3", "output": "result", "data": {} } ] } }, "position": [ 1158.5178385513962, 725.7560940211405 ] }, "6251111ec66d1cc9": { "id": "6251111ec66d1cc9", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "options": { "connections": [ { "node": "8e71982c69d48e23", "output": "result", "data": {} } ] }, "entity": { "connections": [ { "node": "1125cd8315b07993", "output": "result", "data": {} } ] } }, "position": [ 2408.4984963062707, 1120.3176620853424 ] }, "8e71982c69d48e23": { "id": "8e71982c69d48e23", "name": "bitbybit.draw.optionsOcctShapeSimple", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "precision": 0.01, "drawFaces": true, "faceColour": "#ff0000", "drawEdges": true, "edgeColour": "#ffffff", "edgeWidth": 10 }, "inputs": {}, "position": [ 1531.0945882570645, 1298.1069616053992 ] }, "f5386ecbfaf57763": { "id": "f5386ecbfaf57763", "name": "bitbybit.occt.shapes.wire.divideWireByEqualDistanceToPoints", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "nrOfDivisions": 4000, "removeStartPoint": false, "removeEndPoint": false }, "inputs": { "shape": { "connections": [ { "node": "1125cd8315b07993", "output": "result", "data": {} } ] } }, "position": [ 2412.3257887995624, 551.4955813280537 ] }, "9e075cb3702e8f8f": { "id": "9e075cb3702e8f8f", "name": "bitbybit.draw.drawAnyAsync", "async": true, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false } }, "inputs": { "entity": { "connections": [ { "node": "f5386ecbfaf57763", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "91cec7c9de876f97", "output": "result", "data": {} } ] } }, "position": [ 3234.8654839201727, 377.19374084110177 ] }, "c56e9fa396a5dff5": { "id": "c56e9fa396a5dff5", "name": "bitbybit.babylon.scene.adjustActiveArcRotateCamera", "async": false, "drawable": false, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "position": [ 10, 10, 10 ], "lookAt": [ 0, 0, 0 ], "lowerBetaLimit": 1, "upperBetaLimit": 179, "angularSensibilityX": 1000, "angularSensibilityY": 1000, "maxZ": 1000, "panningSensibility": 1000, "wheelPrecision": 3 }, "inputs": { "position": { "connections": [ { "node": "f7bea14b3f05cca4", "output": "result", "data": {} } ] } }, "position": [ 83.99550999158794, 1623.008343762187 ] }, "f7bea14b3f05cca4": { "id": "f7bea14b3f05cca4", "name": "bitbybit.vector.vectorXYZ", "async": false, "drawable": true, "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "x": 100, "y": 100, "z": 100 }, "inputs": {}, "position": [ -351.8035971518484, 1622.8869085702781 ] }, "1125cd8315b07993": { "id": "1125cd8315b07993", "name": "bitbybit.occt.fillets.fillet2d", "async": true, "drawable": true, "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0, "forceExecution": false }, "radius": 0.6 }, "inputs": { "shape": { "connections": [ { "node": "2b7a54f8deee89db", "output": "result", "data": {} } ] } }, "position": [ 1828.8153113768012, 659.8298510063264 ] } } }