OCCT Unify Same Domain Example

OCCT Unify Same Domain Example script details
Author
matas
Type
Rete logo image
rete
App Version
0.14.3
Visibility
public
Date Created
Feb 8, 2024, 7:58:16 AM
Last Edit Date
Feb 8, 2024, 8:05:07 AM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "03da0eaefd17afe3": { "id": "03da0eaefd17afe3", "name": "bitbybit.occt.shapes.wire.createNGonWire", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "nrCorners": 6, "radius": 1 }, "inputs": { "nrCorners": { "connections": [ { "node": "f13de8750a8f8923", "output": "result", "data": {} } ] } }, "position": [ -601.9241943359375, 399.1725769042969 ] }, "c21bf76f01efc7d1": { "id": "c21bf76f01efc7d1", "name": "bitbybit.occt.shapes.wire.createNGonWire", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "nrCorners": 6, "radius": 1.5 }, "inputs": { "center": { "connections": [ { "node": "37b891aaa9c2d69d", "output": "result", "data": {} } ] }, "nrCorners": { "connections": [ { "node": "f13de8750a8f8923", "output": "result", "data": {} } ] } }, "position": [ -596.6741943359375, 815.0397644042969 ] }, "37b891aaa9c2d69d": { "id": "37b891aaa9c2d69d", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": 0.8, "z": 0 }, "inputs": {}, "position": [ -1221.6933908824676, 992.4415950657486 ] }, "236349c34ca5e961": { "id": "236349c34ca5e961", "name": "bitbybit.occt.shapes.wire.createNGonWire", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "nrCorners": 6, "radius": 2.5 }, "inputs": { "center": { "connections": [ { "node": "37b891aaa9c2d69d", "output": "result", "data": {} } ] }, "nrCorners": { "connections": [ { "node": "f13de8750a8f8923", "output": "result", "data": {} } ] } }, "position": [ -585.1507568359375, 1170.7780456542969 ] }, "9f6a3770b652e49a": { "id": "9f6a3770b652e49a", "name": "bitbybit.occt.shapes.wire.createNGonWire", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "nrCorners": 6, "radius": 3 }, "inputs": { "nrCorners": { "connections": [ { "node": "f13de8750a8f8923", "output": "result", "data": {} } ] } }, "position": [ -624.8319886827317, 1549.2865433924608 ] }, "f13de8750a8f8923": { "id": "f13de8750a8f8923", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 3, "max": 10, "step": 1, "width": 350 }, "number": 5 }, "inputs": {}, "position": [ -1366.6810246964055, 698.9497919739346 ] }, "1e7fa6f86e357be7": { "id": "1e7fa6f86e357be7", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "03da0eaefd17afe3", "output": "result", "data": {} }, { "node": "c21bf76f01efc7d1", "output": "result", "data": {} }, { "node": "236349c34ca5e961", "output": "result", "data": {} }, { "node": "9f6a3770b652e49a", "output": "result", "data": {} } ] } }, "position": [ -24.275880803935145, 899.9004804265578 ] }, "4f346399f9bbdf02": { "id": "4f346399f9bbdf02", "name": "bitbybit.occt.operations.loftAdvanced", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "makeSolid": true, "closed": true, "periodic": false, "straight": true, "nrPeriodicSections": 10, "useSmoothing": false, "maxUDegree": 3, "tolerance": 1e-7, "parType": "approxCentripetal" }, "inputs": { "shapes": { "connections": [ { "node": "1e7fa6f86e357be7", "output": "list", "data": {} } ] } }, "position": [ 484.5990110351677, 637.6231995117151 ] }, "f4ccb91e1662f6b0": { "id": "f4ccb91e1662f6b0", "name": "bitbybit.occt.shapes.shape.unifySameDomain", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "unifyEdges": true, "unifyFaces": true, "concatBSplines": true }, "inputs": { "shape": { "connections": [ { "node": "4f346399f9bbdf02", "output": "result", "data": {} } ] } }, "position": [ 1016.6649295699812, 1171.4946001169355 ] }, "c2d8d45eab4f2ffd": { "id": "c2d8d45eab4f2ffd", "name": "bitbybit.occt.transforms.translate", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "f4ccb91e1662f6b0", "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": "503dd853dbdfed2f", "output": "result", "data": {} } ] } }, "position": [ 1479.0153508568924, 1489.9301475033458 ] }, "503dd853dbdfed2f": { "id": "503dd853dbdfed2f", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 6, "y": 0, "z": 0 }, "inputs": {}, "position": [ 1025.3018412553886, 1721.711779605564 ] } } }