Circular edge filters

Circular edge filters script details
Type
Rete logo image
rete
App Version
0.15.6
Visibility
public
Date Created
Apr 3, 2024, 4:48:27 PM
Last Edit Date
Apr 4, 2024, 1:44:33 PM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "c660448de8886a4a": { "id": "c660448de8886a4a", "name": "bitbybit.occt.shapes.wire.createStarWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "numRays": 4, "outerRadius": 4, "innerRadius": 2, "offsetOuterEdges": 0, "half": false }, "inputs": {}, "position": [ 491.13977528239536, 805.2829720164151 ] }, "59973f940bb176d3": { "id": "59973f940bb176d3", "name": "bitbybit.occt.fillets.fillet2d", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radius": 0.5 }, "inputs": { "shape": { "connections": [ { "node": "c660448de8886a4a", "output": "result", "data": {} } ] } }, "position": [ 855.0125338718065, 793.0774677321001 ] }, "c3ae92322015b46e": { "id": "c3ae92322015b46e", "name": "bitbybit.occt.shapes.edge.getCircularEdgesAlongWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "59973f940bb176d3", "output": "result", "data": {} } ] } }, "position": [ 1389.1858040912134, 988.5190784735848 ] }, "77eadd72857090b4": { "id": "77eadd72857090b4", "name": "bitbybit.occt.shapes.edge.getCircularEdgeCenterPoint", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "16c3559b35e1865e", "output": "result", "data": {} } ] } }, "position": [ 2853.646839155298, 1120.6218130335426 ] }, "16c3559b35e1865e": { "id": "16c3559b35e1865e", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "b73760f84bf94db3", "output": "result", "data": {} } ] } }, "position": [ 2459.042756340605, 1048.8673612410912 ] }, "b73760f84bf94db3": { "id": "b73760f84bf94db3", "name": "bitbybit.lists.getByPattern", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "list": { "connections": [ { "node": "c3ae92322015b46e", "output": "result", "data": {} } ] }, "pattern": { "connections": [ { "node": "3eab1f5e9c7e6bc7", "output": "result", "data": {} } ] } }, "position": [ 2100.6988291908547, 974.5968284689075 ] }, "3eab1f5e9c7e6bc7": { "id": "3eab1f5e9c7e6bc7", "name": "bitbybit.json.parse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "text": "[false,true]" }, "inputs": {}, "position": [ 1520.5277917307944, 1279.7311456719679 ] }, "65aa26fc4488879a": { "id": "65aa26fc4488879a", "name": "bitbybit.occt.shapes.wire.createCircleWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": true, "flatten": 0 }, "radius": 0.3 }, "inputs": { "radius": { "connections": [ { "node": "af00e2f44e6131cf", "output": "result", "data": {} } ] }, "center": { "connections": [ { "node": "77eadd72857090b4", "output": "result", "data": {} } ] }, "direction": { "connections": [ { "node": "e6a83778df15dfd9", "output": "result", "data": {} } ] } }, "position": [ 3794.7562448766444, 927.7593650813823 ] }, "8be8bcec3e286e5c": { "id": "8be8bcec3e286e5c", "name": "bitbybit.occt.shapes.face.createFaceFromWires", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "planar": true }, "inputs": { "shapes": { "connections": [ { "node": "a36140874129b5d6", "output": "list", "data": {} } ] } }, "position": [ 4866.999205027142, 657.2612848320978 ] }, "a36140874129b5d6": { "id": "a36140874129b5d6", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "59973f940bb176d3", "output": "result", "data": {} }, { "node": "57f25efb1746e7cb", "output": "result", "data": {} }, { "node": "de048525102790a7", "output": "result", "data": {} } ] } }, "position": [ 4521.102702620287, 720.4812759825716 ] }, "30166b863a588aa2": { "id": "30166b863a588aa2", "name": "bitbybit.occt.operations.extrude", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "8be8bcec3e286e5c", "output": "result", "data": {} } ] } }, "position": [ 5270.94589630152, 651.9478611315831 ] }, "2bbc497966c474a0": { "id": "2bbc497966c474a0", "name": "bitbybit.occt.fillets.chamferEdges", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "distance": 0.05 }, "inputs": { "shape": { "connections": [ { "node": "30166b863a588aa2", "output": "result", "data": {} } ] } }, "position": [ 5686.088235252179, 707.7993321112438 ] }, "73c7c3ae6c4731f3": { "id": "73c7c3ae6c4731f3", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "2bbc497966c474a0", "output": "result", "data": {} }, { "node": "e0af12f4a28dd8d9", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "8485ca2193c3e5bd", "output": "result", "data": {} } ] } }, "position": [ 6394.999889026584, 1167.5970201353562 ] }, "8485ca2193c3e5bd": { "id": "8485ca2193c3e5bd", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#ffffff", "faceColour": "#0033ff", "vertexColour": "#ff00ff", "edgeWidth": 1, "vertexSize": 0.05, "drawEdges": true, "drawFaces": true, "drawVertices": false, "precision": 0.001, "drawEdgeIndexes": false, "edgeIndexHeight": 0.06, "edgeIndexColour": "#ff00ff", "drawFaceIndexes": false, "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": {}, "position": [ 5680.156283491467, 1566.471867481916 ] }, "de048525102790a7": { "id": "de048525102790a7", "name": "bitbybit.occt.shapes.wire.createCircleWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radius": 1 }, "inputs": {}, "position": [ 3837.6530177137115, 375.7124365837713 ] }, "1a83a6752421edee": { "id": "1a83a6752421edee", "name": "bitbybit.babylon.scene.enableSkybox", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "skybox": "clearSky", "size": 1000, "blur": 0.1, "environmentIntensity": 0.7 }, "inputs": {}, "position": [ 4704.182237771038, 1553.2397929900249 ] }, "36e5425b3cfe7d7c": { "id": "36e5425b3cfe7d7c", "name": "bitbybit.babylon.scene.drawDirectionalLight", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "intensity": 3, "diffuse": "#ffffff", "specular": "#ffffff", "shadowGeneratorMapSize": 2056, "enableShadows": true, "shadowDarkness": 0 }, "inputs": {}, "position": [ 5097.8974939159725, 1523.6646002182301 ] }, "e0af12f4a28dd8d9": { "id": "e0af12f4a28dd8d9", "name": "bitbybit.occt.shapes.face.createCircleFace", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radius": 5 }, "inputs": {}, "position": [ 5717.97689525739, 1153.3006437598813 ] }, "e3c6a041d4daba7d": { "id": "e3c6a041d4daba7d", "name": "bitbybit.occt.shapes.edge.getCircularEdgeRadius", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "16c3559b35e1865e", "output": "result", "data": {} } ] } }, "position": [ 2773.641984012151, 821.9005603459766 ] }, "af00e2f44e6131cf": { "id": "af00e2f44e6131cf", "name": "bitbybit.math.twoNrOperation", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "first": 1, "second": 0.5, "operation": "multiply" }, "inputs": { "first": { "connections": [ { "node": "e3c6a041d4daba7d", "output": "result", "data": {} } ] } }, "position": [ 3276.466858169382, 800.5609730889878 ] }, "e6a83778df15dfd9": { "id": "e6a83778df15dfd9", "name": "bitbybit.occt.shapes.edge.getCircularEdgePlaneDirection", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "16c3559b35e1865e", "output": "result", "data": {} } ] } }, "position": [ 2895.9489491567647, 1407.2899315612367 ] }, "57f25efb1746e7cb": { "id": "57f25efb1746e7cb", "name": "bitbybit.occt.shapes.wire.reversedWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "65aa26fc4488879a", "output": "result", "data": {} } ] } }, "position": [ 4139.051993897255, 901.1161791455297 ] } } }