Christmas Tree 2024

Christmas Tree 2024 script details
Author
matas
Type
Rete logo image
rete
App Version
0.14.5
Visibility
public
Date Created
Dec 29, 2023, 12:55:55 PM
Last Edit Date
Feb 26, 2024, 2:15:05 PM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "eb028debf9000658": { "id": "eb028debf9000658", "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": [ -413.6207733154297, -316.9702453613281 ] }, "08b8ef5512712267": { "id": "08b8ef5512712267", "name": "bitbybit.babylon.scene.drawDirectionalLight", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "intensity": 0.5, "diffuse": "#ffffff", "specular": "#ffffff", "shadowGeneratorMapSize": 3000, "enableShadows": true, "shadowDarkness": 0 }, "inputs": {}, "position": [ -422.7010040283203, 145.0042724609375 ] }, "b2ed0cb6d38e70c9": { "id": "b2ed0cb6d38e70c9", "name": "bitbybit.occt.shapes.face.createCircleFace", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "radius": 10 }, "inputs": {}, "position": [ -400.9317154746978, 751.5568569690929 ] }, "edec83faa68f2da4": { "id": "edec83faa68f2da4", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "b2ed0cb6d38e70c9", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "9a803eb5752a5401", "output": "result", "data": {} } ] } }, "position": [ 95.7694766616298, 920.4963087545009 ] }, "9a803eb5752a5401": { "id": "9a803eb5752a5401", "name": "bitbybit.draw.optionsOcctShapeSimple", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "precision": 0.01, "drawFaces": true, "faceColour": "#ffffff", "drawEdges": true, "edgeColour": "#ffffff", "edgeWidth": 2 }, "inputs": {}, "position": [ -305.42121960465954, 1142.2158491137259 ] }, "a8d32a8a45b4664b": { "id": "a8d32a8a45b4664b", "name": "bitbybit.draw.drawGridMesh", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "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": [ -318.98760174200527, 1668.7972771287452 ] }, "9eae35dba4bb44b6": { "id": "9eae35dba4bb44b6", "name": "bitbybit.occt.shapes.wire.createChristmasTreeWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "height": 6, "innerDist": 1.5, "outerDist": 3, "nrSkirts": 5, "trunkHeight": 1, "trunkWidth": 1, "half": true, "rotation": 0 }, "inputs": {}, "position": [ 789.4467130135617, 813.7540764723825 ] }, "1e2403402e598cb1": { "id": "1e2403402e598cb1", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 3, "max": 20, "step": 1, "width": 350 }, "number": 6 }, "inputs": {}, "position": [ 669.4879911961998, 1586.6204070015206 ] }, "4a8086eea0663444": { "id": "4a8086eea0663444", "name": "bitbybit.vector.span", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "step": 0.1, "min": 0, "max": 360 }, "inputs": { "step": { "connections": [ { "node": "caf5edeebddc99ab", "output": "result", "data": {} } ] }, "min": { "connections": [ { "node": "caf5edeebddc99ab", "output": "result", "data": {} } ] } }, "position": [ 1731.2033273657778, 1559.1195736618513 ] }, "caf5edeebddc99ab": { "id": "caf5edeebddc99ab", "name": "bitbybit.math.twoNrOperation", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "first": 360, "second": 1, "operation": "divide" }, "inputs": { "second": { "connections": [ { "node": "1e2403402e598cb1", "output": "result", "data": {} } ] } }, "position": [ 1349.949628193268, 1552.7217483506959 ] }, "d09a79e84621cc54": { "id": "d09a79e84621cc54", "name": "bitbybit.occt.fillets.fillet2d", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radius": 0.1 }, "inputs": { "shape": { "connections": [ { "node": "9eae35dba4bb44b6", "output": "result", "data": {} } ] } }, "position": [ 1289.6571154792591, 871.6625630350777 ] }, "c0ba54a32489b065": { "id": "c0ba54a32489b065", "name": "bitbybit.occt.transforms.rotate", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "angle": 0 }, "inputs": { "shape": { "connections": [ { "node": "d09a79e84621cc54", "output": "result", "data": {} } ] }, "axis": { "connections": [ { "node": "c778cca09895b41a", "output": "result", "data": {} } ] }, "angle": { "connections": [ { "node": "cc5a0b6c116886a8", "output": "result", "data": {} } ] } }, "position": [ 2429.488633260555, 1096.5049034404478 ] }, "c778cca09895b41a": { "id": "c778cca09895b41a", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": 1, "z": 0 }, "inputs": {}, "position": [ 1727.0964313351492, 1092.7253958782817 ] }, "cc5a0b6c116886a8": { "id": "cc5a0b6c116886a8", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "4a8086eea0663444", "output": "result", "data": {} } ] } }, "position": [ 2090.5819976279067, 1397.849465173662 ] }, "a8a3221a3cc2bd19": { "id": "a8a3221a3cc2bd19", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "c0ba54a32489b065", "output": "result", "data": {} } ] } }, "position": [ 2795.211814721709, 1224.71094944903 ] }, "0b1cbc73885e3d0c": { "id": "0b1cbc73885e3d0c", "name": "bitbybit.lists.reverse", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "clone": true }, "inputs": { "list": { "connections": [ { "node": "a8a3221a3cc2bd19", "output": "list", "data": {} } ] } }, "position": [ 3088.4885970208534, 1225.4108145193288 ] }, "b2bc410e362f5b35": { "id": "b2bc410e362f5b35", "name": "bitbybit.occt.operations.loftAdvanced", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "makeSolid": false, "closed": true, "periodic": false, "straight": true, "nrPeriodicSections": 10, "useSmoothing": false, "maxUDegree": 3, "tolerance": 1e-7, "parType": "approxCentripetal" }, "inputs": { "shapes": { "connections": [ { "node": "0b1cbc73885e3d0c", "output": "result", "data": {} } ] } }, "position": [ 3598.0144851494542, 1144.538506782123 ] }, "48ac5bfc56de1ae7": { "id": "48ac5bfc56de1ae7", "name": "bitbybit.occt.transforms.translate", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "b2bc410e362f5b35", "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": "5ec3c2603d386a04", "output": "result", "data": {} } ] } }, "position": [ 4034.8847640013714, 1598.6657136526214 ] }, "5ec3c2603d386a04": { "id": "5ec3c2603d386a04", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 3, "y": 0, "z": 0 }, "inputs": {}, "position": [ 3649.955164674634, 1915.986199897679 ] }, "6f794ca52e44a6ae": { "id": "6f794ca52e44a6ae", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "options": { "connections": [ { "node": "aebca8f609e40e39", "output": "result", "data": {} } ] }, "entity": { "connections": [ { "node": "48ac5bfc56de1ae7", "output": "result", "data": {} } ] } }, "position": [ 4710.605126256061, 1757.166257223875 ] }, "aebca8f609e40e39": { "id": "aebca8f609e40e39", "name": "bitbybit.draw.optionsOcctShapeSimple", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "precision": 0.01, "drawFaces": true, "faceColour": "#70ffc8", "drawEdges": true, "edgeColour": "#ffffff", "edgeWidth": 2 }, "inputs": {}, "position": [ 4184.172434732352, 1972.9209805240866 ] }, "b6a139d335df7970": { "id": "b6a139d335df7970", "name": "bitbybit.occt.shapes.wire.createChristmasTreeWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "height": 6, "innerDist": 2, "outerDist": 3.5, "nrSkirts": 7, "trunkHeight": 0.5, "trunkWidth": 0.7, "half": true, "rotation": 0 }, "inputs": {}, "position": [ 1025.0831171300026, -253.14348024823016 ] }, "39ef61be21f51e0e": { "id": "39ef61be21f51e0e", "name": "bitbybit.occt.operations.revolve", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "angle": 360, "copy": false }, "inputs": { "shape": { "connections": [ { "node": "b6a139d335df7970", "output": "result", "data": {} } ] } }, "position": [ 1849.4758121427478, -236.97102950547887 ] }, "51778cc64f3f7bdd": { "id": "51778cc64f3f7bdd", "name": "bitbybit.occt.transforms.translate", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "39ef61be21f51e0e", "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": "9b8a130a636140e7", "output": "result", "data": {} } ] } }, "position": [ 2269.2411440265896, 48.78290981376813 ] }, "9b8a130a636140e7": { "id": "9b8a130a636140e7", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "x": -3, "y": 0, "z": 0 }, "inputs": {}, "position": [ 1895.2469463803438, 207.78955419971385 ] }, "7d96d4ab1587464b": { "id": "7d96d4ab1587464b", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "51778cc64f3f7bdd", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "339ca70c9d61abfb", "output": "result", "data": {} } ] } }, "position": [ 2909.014022345299, -121.82384046068776 ] }, "339ca70c9d61abfb": { "id": "339ca70c9d61abfb", "name": "bitbybit.draw.optionsOcctShapeSimple", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "precision": 0.01, "drawFaces": true, "faceColour": "#57ff78", "drawEdges": true, "edgeColour": "#ffffff", "edgeWidth": 2 }, "inputs": {}, "position": [ 2742.3880295011077, 262.4078468370509 ] } } }