Curvy vase model

Curvy vase model script details
Type
Rete logo image
rete
App Version
0.10.10
Visibility
public
Date Created
Apr 17, 2023, 7:14:50 AM
Last Edit Date
Apr 24, 2023, 11:01:31 AM

Script Details

The Code
{ "id": "bitbybit-dev@0.0.1", "nodes": { "10": { "id": 10, "data": { "backFaceCulling": false, "simpleOutput": true, "width": 400, "height": 400, "subdivisions": 10, "majorUnitFrequency": 10, "minorUnitVisibility": 0.45, "gridRatio": 0.5, "opacity": 0.5, "mainColor": "#ffffff", "secondaryColor": "#ffffff" }, "inputs": { "width": { "connections": [] }, "height": { "connections": [] }, "subdivisions": { "connections": [] }, "majorUnitFrequency": { "connections": [] }, "minorUnitVisibility": { "connections": [] }, "gridRatio": { "connections": [] }, "opacity": { "connections": [] }, "backFaceCulling": { "connections": [] }, "mainColor": { "connections": [] }, "secondaryColor": { "connections": [] } }, "outputs": { "result": { "connections": [] } }, "position": [ 1546.4138700812468, 1860.3766978357235 ], "name": "bitbybit.draw.drawGridMesh" }, "18": { "id": 18, "data": { "hide": false, "simpleOutput": true, "x": 0, "y": 0, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [ { "node": 22, "output": "result", "data": {} } ] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 27, "input": "center", "data": {} }, { "node": 33, "input": "center", "data": {} } ] } }, "position": [ 2205.2773213201262, 772.7914253999558 ], "name": "bitbybit.vector.vectorXYZ" }, "19": { "id": 19, "data": { "simpleOutput": true, "step": 2, "min": -5, "max": 5 }, "inputs": { "step": { "connections": [] }, "min": { "connections": [] }, "max": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 20, "input": "listElements", "data": {} } ] } }, "position": [ 1347.3753016603566, 579.8606571445177 ], "name": "bitbybit.vector.span" }, "20": { "id": 20, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 19, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 22, "input": "list", "data": {} } ] } }, "position": [ 1665.920460376686, 686.4738978546959 ], "name": "createList" }, "22": { "id": 22, "data": { "nrLevels": 2 }, "inputs": { "list": { "connections": [ { "node": 20, "output": "list", "data": {} } ] }, "nrLevels": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 18, "input": "x", "data": {} } ] } }, "position": [ 1805.6115284691207, 781.9543588685884 ], "name": "flatten" }, "25": { "id": 25, "data": { "keepEdges": false, "hide": true, "simpleOutput": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": 26, "output": "list", "data": {} } ] }, "keepEdges": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 28, "input": "shape", "data": {} } ] } }, "position": [ 3108.9871558023806, 738.9716066805942 ], "name": "bitbybit.occt.booleans.union" }, "26": { "id": 26, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 27, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 25, "input": "shapes", "data": {} } ] } }, "position": [ 2863.408651280996, 782.3279152426667 ], "name": "createList" }, "27": { "id": 27, "data": { "hide": true, "simpleOutput": true, "radiusMinor": 1.2, "radiusMajor": 2, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "center": { "connections": [ { "node": 18, "output": "result", "data": {} } ] }, "direction": { "connections": [] }, "radiusMinor": { "connections": [] }, "radiusMajor": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 26, "input": "listElements", "data": {} } ] } }, "position": [ 2511.1065284941237, 744.8530099221007 ], "name": "bitbybit.occt.shapes.face.createEllipseFace" }, "28": { "id": 28, "data": { "hide": true, "simpleOutput": true, "index": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 25, "output": "result", "data": {} } ] }, "index": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 32, "input": "shape", "data": {} } ] } }, "position": [ 3428.935280649899, 782.8008659954111 ], "name": "bitbybit.occt.shapes.wire.getWire" }, "32": { "id": 32, "data": { "hide": true, "simpleOutput": true, "radius": 0.3, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 28, "output": "result", "data": {} } ] }, "radius": { "connections": [] }, "radiusList": { "connections": [] }, "indexes": { "connections": [] }, "direction": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 42, "input": "shape", "data": {} }, { "node": 45, "input": "listElements", "data": {} }, { "node": 47, "input": "shape", "data": {} } ] } }, "position": [ 3758.8518253527914, 768.1153234283715 ], "name": "bitbybit.occt.fillets.fillet3DWire" }, "33": { "id": 33, "data": { "hide": true, "simpleOutput": true, "radiusMinor": 1.4, "radiusMajor": 3, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "center": { "connections": [ { "node": 18, "output": "result", "data": {} } ] }, "direction": { "connections": [] }, "radiusMinor": { "connections": [] }, "radiusMajor": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 34, "input": "listElements", "data": {} } ] } }, "position": [ 2523.045885439077, 1088.2847587343992 ], "name": "bitbybit.occt.shapes.face.createEllipseFace" }, "34": { "id": 34, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 33, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 35, "input": "shapes", "data": {} } ] } }, "position": [ 2861.150325431853, 1175.4262700298088 ], "name": "createList" }, "35": { "id": 35, "data": { "keepEdges": false, "hide": true, "simpleOutput": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": 34, "output": "list", "data": {} } ] }, "keepEdges": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 36, "input": "shape", "data": {} } ] } }, "position": [ 3117.7084203279887, 1147.0901794285091 ], "name": "bitbybit.occt.booleans.union" }, "36": { "id": 36, "data": { "hide": true, "simpleOutput": true, "index": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 35, "output": "result", "data": {} } ] }, "index": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 37, "input": "shape", "data": {} } ] } }, "position": [ 3427.7111906163436, 1133.766346947446 ], "name": "bitbybit.occt.shapes.wire.getWire" }, "37": { "id": 37, "data": { "hide": true, "simpleOutput": true, "radius": 0.6, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 36, "output": "result", "data": {} } ] }, "radius": { "connections": [] }, "radiusList": { "connections": [] }, "indexes": { "connections": [] }, "direction": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 38, "input": "shape", "data": {} }, { "node": 43, "input": "shape", "data": {} } ] } }, "position": [ 3764.9345946011026, 1152.253997219185 ], "name": "bitbybit.occt.fillets.fillet3DWire" }, "38": { "id": 38, "data": { "hide": true, "simpleOutput": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 37, "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": 39, "output": "result", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 45, "input": "listElements", "data": {} } ] } }, "position": [ 4409.394359254515, 1319.1711405551107 ], "name": "bitbybit.occt.transforms.translate" }, "39": { "id": 39, "data": { "hide": true, "simpleOutput": true, "x": 0, "y": 2, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 38, "input": "translation", "data": {} } ] } }, "position": [ 4091.474308107737, 1498.102062472317 ], "name": "bitbybit.vector.vectorXYZ" }, "40": { "id": 40, "data": { "hide": true, "simpleOutput": true, "x": 0, "y": 3, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 42, "input": "translation", "data": {} } ] } }, "position": [ 4077.1116010172605, 1812.2146005159502 ], "name": "bitbybit.vector.vectorXYZ" }, "41": { "id": 41, "data": { "hide": true, "simpleOutput": true, "x": 0, "y": 6, "z": 0, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "x": { "connections": [] }, "y": { "connections": [] }, "z": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 43, "input": "translation", "data": {} } ] } }, "position": [ 4081.6776766143976, 2126.73813674604 ], "name": "bitbybit.vector.vectorXYZ" }, "42": { "id": 42, "data": { "hide": true, "simpleOutput": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 32, "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": 40, "output": "result", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 45, "input": "listElements", "data": {} } ] } }, "position": [ 4413.966563914506, 1746.8432391112742 ], "name": "bitbybit.occt.transforms.translate" }, "43": { "id": 43, "data": { "hide": true, "simpleOutput": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 37, "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": 41, "output": "result", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 45, "input": "listElements", "data": {} } ] } }, "position": [ 4412.311335233013, 2106.4491912482467 ], "name": "bitbybit.occt.transforms.translate" }, "44": { "id": 44, "data": { "makeSolid": false, "closed": false, "periodic": false, "straight": false, "useSmoothing": false, "hide": true, "simpleOutput": true, "nrPeriodicSections": 10, "maxUDegree": 3, "tolerance": 1e-7, "parType": "approxCentripetal", "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": 46, "output": "result", "data": {} } ] }, "makeSolid": { "connections": [] }, "closed": { "connections": [] }, "periodic": { "connections": [] }, "straight": { "connections": [] }, "nrPeriodicSections": { "connections": [] }, "useSmoothing": { "connections": [] }, "maxUDegree": { "connections": [] }, "tolerance": { "connections": [] }, "parType": { "connections": [] }, "startVertex": { "connections": [] }, "endVertex": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 49, "input": "listElements", "data": {} } ] } }, "position": [ 5189.307506157054, 1477.44742450557 ], "name": "bitbybit.occt.operations.loftAdvanced" }, "45": { "id": 45, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 32, "output": "result", "data": {} }, { "node": 38, "output": "result", "data": {} }, { "node": 42, "output": "result", "data": {} }, { "node": 43, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 46, "input": "list", "data": {} } ] } }, "position": [ 4763.930749064797, 1505.991428290331 ], "name": "createList" }, "46": { "id": 46, "data": {}, "inputs": { "list": { "connections": [ { "node": 45, "output": "list", "data": {} } ] } }, "outputs": { "result": { "connections": [ { "node": 44, "input": "shapes", "data": {} } ] } }, "position": [ 4969.202845758143, 1472.5792119645705 ], "name": "bitbybit.lists.reverse" }, "47": { "id": 47, "data": { "planar": false, "hide": true, "simpleOutput": true, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 32, "output": "result", "data": {} } ] }, "planar": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 49, "input": "listElements", "data": {} } ] } }, "position": [ 5243.1676127747805, 1167.7512095118507 ], "name": "bitbybit.occt.shapes.face.createFaceFromWire" }, "49": { "id": 49, "data": {}, "inputs": { "listElements": { "connections": [ { "node": 44, "output": "result", "data": {} }, { "node": 47, "output": "result", "data": {} } ] } }, "outputs": { "list": { "connections": [ { "node": 50, "input": "shapes", "data": {} } ] } }, "position": [ 5605.454472001315, 1316.2421083966472 ], "name": "createList" }, "50": { "id": 50, "data": { "hide": true, "simpleOutput": true, "tolerance": 1e-7, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shapes": { "connections": [ { "node": 49, "output": "list", "data": {} } ] }, "tolerance": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 51, "input": "shape", "data": {} } ] } }, "position": [ 5827.983289154294, 1307.5711056651132 ], "name": "bitbybit.occt.shapes.shell.sewFaces" }, "51": { "id": 51, "data": { "hide": true, "simpleOutput": true, "radius": 0.3, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 50, "output": "result", "data": {} } ] }, "radius": { "connections": [] }, "radiusList": { "connections": [] }, "indexes": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 54, "input": "shape", "data": {} } ] } }, "position": [ 6220.144363262699, 1412.8320531280797 ], "name": "bitbybit.occt.fillets.filletEdges" }, "52": { "id": 52, "data": { "simpleOutput": true }, "inputs": { "entity": { "connections": [ { "node": 54, "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": 53, "output": "result", "data": {} } ] } }, "outputs": { "result": { "connections": [] } }, "position": [ 7125.4198983733695, 1856.1210313548497 ], "name": "bitbybit.draw.drawAnyAsync" }, "53": { "id": 53, "data": { "drawEdges": true, "drawFaces": true, "drawEdgeIndexes": false, "drawFaceIndexes": false, "simpleOutput": true, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#ffffff", "faceColour": "#2b00ff", "edgeWidth": 0.5, "precision": 0.002, "edgeIndexHeight": 0.06, "edgeIndexColour": "ff00ff", "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": { "faceOpacity": { "connections": [] }, "edgeOpacity": { "connections": [] }, "edgeColour": { "connections": [] }, "faceColour": { "connections": [] }, "faceMaterial": { "connections": [] }, "edgeWidth": { "connections": [] }, "drawEdges": { "connections": [] }, "drawFaces": { "connections": [] }, "precision": { "connections": [] }, "drawEdgeIndexes": { "connections": [] }, "edgeIndexHeight": { "connections": [] }, "edgeIndexColour": { "connections": [] }, "drawFaceIndexes": { "connections": [] }, "faceIndexHeight": { "connections": [] }, "faceIndexColour": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 52, "input": "options", "data": {} } ] } }, "position": [ 6089.112831483838, 1792.3832355686482 ], "name": "bitbybit.draw.optionsOcctShape" }, "54": { "id": 54, "data": { "hide": true, "simpleOutput": true, "offset": -0.1, "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": 51, "output": "result", "data": {} } ] }, "offset": { "connections": [] } }, "outputs": { "result": { "connections": [ { "node": 52, "input": "entity", "data": {} } ] } }, "position": [ 6743.329002578159, 1639.7889585591763 ], "name": "bitbybit.occt.operations.makeThickSolidSimple" } } }