3D Sun Model

3D Sun Model script details
Type
Rete logo image
rete
App Version
0.15.8
Visibility
public
Date Created
Apr 5, 2024, 3:17:57 PM
Last Edit Date
Apr 17, 2024, 12:39:58 PM

Script Details

The Code
{ "id": "rete-v2-json", "nodes": { "a8f9a516f98a8bc3": { "id": "a8f9a516f98a8bc3", "name": "bitbybit.occt.shapes.wire.createNGonWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "nrCorners": 6, "radius": 10 }, "inputs": { "nrCorners": { "connections": [ { "node": "f4773227594874b0", "output": "result", "data": {} } ] } }, "position": [ 592.3064168294271, 497.2795147365994 ] }, "27569ca198ad655f": { "id": "27569ca198ad655f", "name": "bitbybit.occt.shapes.wire.createNGonWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "nrCorners": 6, "radius": 17 }, "inputs": { "nrCorners": { "connections": [ { "node": "f4773227594874b0", "output": "result", "data": {} } ] } }, "position": [ 634.1553751627603, 845.4392369588215 ] }, "9181051026f30ba1": { "id": "9181051026f30ba1", "name": "bitbybit.occt.shapes.wire.createZigZagBetweenTwoWires", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "nrZigZags": 4, "inverse": true }, "inputs": { "wire1": { "connections": [ { "node": "a8f9a516f98a8bc3", "output": "result", "data": {} } ] }, "wire2": { "connections": [ { "node": "27569ca198ad655f", "output": "result", "data": {} } ] }, "nrZigZags": { "connections": [ { "node": "f07fe5a4a9830c16", "output": "result", "data": {} } ] } }, "position": [ 1156.2907918294272, 896.828121609158 ] }, "1200a575faf72bfb": { "id": "1200a575faf72bfb", "name": "bitbybit.occt.shapes.edge.getCornerPointsOfEdgesForShape", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "9181051026f30ba1", "output": "result", "data": {} } ] } }, "position": [ 1732.4973890516494, 925.868920220269 ] }, "06fc76c6a772b774": { "id": "06fc76c6a772b774", "name": "bitbybit.occt.shapes.wire.createCircleWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radius": 0.3 }, "inputs": { "center": { "connections": [ { "node": "ebdb1b07b1e6e030", "output": "result", "data": {} } ] } }, "position": [ 2460.9805687415405, 867.4111433160067 ] }, "ebdb1b07b1e6e030": { "id": "ebdb1b07b1e6e030", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "1200a575faf72bfb", "output": "result", "data": {} } ] } }, "position": [ 2067.2239854600693, 901.7543368869357 ] }, "c6426ef1baab5fd3": { "id": "c6426ef1baab5fd3", "name": "bitbybit.occt.shapes.face.createFaceFromMultipleCircleTanWires", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "combination": "inOrderClosed", "unify": true, "tolerance": 1e-7 }, "inputs": { "circles": { "connections": [ { "node": "7783c6c713735019", "output": "list", "data": {} } ] } }, "position": [ 3118.395963499769, 1056.918949566485 ] }, "7783c6c713735019": { "id": "7783c6c713735019", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "06fc76c6a772b774", "output": "result", "data": {} } ] } }, "position": [ 2829.3211743137153, 950.0289600079092 ] }, "dfebc6ab2eb582e5": { "id": "dfebc6ab2eb582e5", "name": "bitbybit.occt.shapes.wire.getWires", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "c6426ef1baab5fd3", "output": "result", "data": {} } ] } }, "position": [ 3663.3728523232603, 1141.2866189541076 ] }, "f380a717ce572c9a": { "id": "f380a717ce572c9a", "name": "bitbybit.lists.flatten", "data": { "nrLevels": 1 }, "inputs": { "list": { "connections": [ { "node": "dfebc6ab2eb582e5", "output": "result", "data": {} } ] } }, "position": [ 3978.6961887502607, 1156.780471449161 ] }, "22d815e276127dba": { "id": "22d815e276127dba", "name": "bitbybit.occt.fillets.fillet2d", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radius": 1 }, "inputs": { "shape": { "connections": [ { "node": "f380a717ce572c9a", "output": "result", "data": {} } ] }, "radius": { "connections": [ { "node": "918e39ec939a902e", "output": "result", "data": {} } ] } }, "position": [ 4383.303395145555, 1183.8127534609523 ] }, "aaa9ab613092cccb": { "id": "aaa9ab613092cccb", "name": "bitbybit.occt.shapes.face.createFaceFromWires", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "planar": true }, "inputs": { "shapes": { "connections": [ { "node": "73e0d263a638e5c0", "output": "list", "data": {} } ] } }, "position": [ 5286.084117072794, 1071.2550624650116 ] }, "73e0d263a638e5c0": { "id": "73e0d263a638e5c0", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "22d815e276127dba", "output": "result", "data": {} } ] } }, "position": [ 4918.221396814523, 1252.7535661252637 ] }, "532916b5ad98ce3f": { "id": "532916b5ad98ce3f", "name": "bitbybit.occt.operations.extrude", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "aaa9ab613092cccb", "output": "result", "data": {} }, { "node": "ada20d6fc72fad2b", "output": "result", "data": {} }, { "node": "11f8fd5f082b8705", "output": "result", "data": {} } ] } }, "position": [ 5948.002415114045, 202.76506311747926 ] }, "d0af9f0b2ed0a00a": { "id": "d0af9f0b2ed0a00a", "name": "bitbybit.babylon.scene.enableSkybox", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "skybox": "city", "size": 1000, "blur": 0.5, "environmentIntensity": 0.7 }, "inputs": {}, "position": [ 587.0395756732989, 1504.9457001466003 ] }, "a8b9f0682530713b": { "id": "a8b9f0682530713b", "name": "bitbybit.babylon.scene.drawDirectionalLight", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "intensity": 3, "diffuse": "#ffffff", "specular": "#ffffff", "shadowGeneratorMapSize": 1024, "enableShadows": true, "shadowDarkness": 0 }, "inputs": {}, "position": [ 971.0236428003525, 1502.217289273056 ] }, "f1e78b6f117af44f": { "id": "f1e78b6f117af44f", "name": "bitbybit.occt.shapes.wire.createEllipseWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radiusMinor": 1, "radiusMajor": 2 }, "inputs": {}, "position": [ 831.2896360923347, -775.9823324914544 ] }, "adbddb9c8a1b4959": { "id": "adbddb9c8a1b4959", "name": "bitbybit.occt.shapes.wire.createEllipseWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radiusMinor": 0.3, "radiusMajor": 0.6 }, "inputs": { "center": { "connections": [ { "node": "0bf302cc3b280c49", "output": "result", "data": {} } ] } }, "position": [ 826.4814934082546, -316.8230426913454 ] }, "0bf302cc3b280c49": { "id": "0bf302cc3b280c49", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": 0, "z": -0.5 }, "inputs": {}, "position": [ 317.7694956379489, -362.84240459907164 ] }, "b4b85bea00739bad": { "id": "b4b85bea00739bad", "name": "bitbybit.occt.shapes.wire.reversedWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "adbddb9c8a1b4959", "output": "result", "data": {} } ] } }, "position": [ 1183.666686131896, -320.19815292298506 ] }, "782d72ef2ef05a2c": { "id": "782d72ef2ef05a2c", "name": "bitbybit.occt.shapes.face.createFaceFromWires", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "planar": true }, "inputs": { "shapes": { "connections": [ { "node": "ec33dc4f6c6d6d83", "output": "list", "data": {} } ] } }, "position": [ 1967.1935079813084, -494.5569252779377 ] }, "ec33dc4f6c6d6d83": { "id": "ec33dc4f6c6d6d83", "name": "bitbybit.lists.createList", "data": {}, "inputs": { "listElements": { "connections": [ { "node": "f1e78b6f117af44f", "output": "result", "data": {} }, { "node": "b4b85bea00739bad", "output": "result", "data": {} } ] } }, "position": [ 1581.0352961047763, -456.3474678132193 ] }, "ada20d6fc72fad2b": { "id": "ada20d6fc72fad2b", "name": "bitbybit.occt.transforms.translate", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "782d72ef2ef05a2c", "output": "result", "data": {} } ] }, "translation": { "connections": [ { "node": "f69aca0346977215", "output": "result", "data": {} }, { "node": "e437c1eea358aa09", "output": "result", "data": {} } ] } }, "position": [ 2513.4467222407893, -424.00580870105665 ] }, "f69aca0346977215": { "id": "f69aca0346977215", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 3, "y": 0, "z": 3 }, "inputs": {}, "position": [ 2001.3635276032794, -151.6241112564531 ] }, "e437c1eea358aa09": { "id": "e437c1eea358aa09", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": -3, "y": 0, "z": 3 }, "inputs": {}, "position": [ 1993.8020907697603, 152.82136471089012 ] }, "b606e8d91b69cca6": { "id": "b606e8d91b69cca6", "name": "bitbybit.occt.shapes.edge.arcThroughThreePoints", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "start": { "connections": [ { "node": "7b9817cd7ec90514", "output": "result", "data": {} } ] }, "middle": { "connections": [ { "node": "86fb8403a6e8bc89", "output": "result", "data": {} } ] }, "end": { "connections": [ { "node": "dcde078d6c8aaed2", "output": "result", "data": {} } ] } }, "position": [ 3233.7256082455933, 7.091426232241915 ] }, "7b9817cd7ec90514": { "id": "7b9817cd7ec90514", "name": "bitbybit.point.pointXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": -5, "y": 0, "z": 0 }, "inputs": {}, "position": [ 2767.579393723585, -46.14617006099287 ] }, "86fb8403a6e8bc89": { "id": "86fb8403a6e8bc89", "name": "bitbybit.point.pointXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": 0, "z": -5 }, "inputs": {}, "position": [ 2775.0684635101156, 238.3634286828676 ] }, "dcde078d6c8aaed2": { "id": "dcde078d6c8aaed2", "name": "bitbybit.point.pointXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 5, "y": 0, "z": 0 }, "inputs": {}, "position": [ 2770.396730179106, 531.9960565920535 ] }, "2106f1106c93fc32": { "id": "2106f1106c93fc32", "name": "bitbybit.occt.operations.offset", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "distance": 0.5, "tolerance": 0.1 }, "inputs": { "shape": { "connections": [ { "node": "b606e8d91b69cca6", "output": "result", "data": {} } ] } }, "position": [ 3841.6052468714643, 251.6797674257413 ] }, "11f8fd5f082b8705": { "id": "11f8fd5f082b8705", "name": "bitbybit.occt.shapes.face.createFaceFromWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "planar": false }, "inputs": { "shape": { "connections": [ { "node": "2106f1106c93fc32", "output": "result", "data": {} } ] } }, "position": [ 4465.002543393941, 315.19190495272903 ] }, "9ea5206420e00eb8": { "id": "9ea5206420e00eb8", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "options": { "connections": [ { "node": "18c3eebd2044f3b7", "output": "result", "data": {} } ] }, "entity": { "connections": [ { "node": "532916b5ad98ce3f", "output": "result", "data": {} } ] } }, "position": [ 6459.542857209267, 335.0476816329677 ] }, "132ff3ab35fb2e05": { "id": "132ff3ab35fb2e05", "name": "bitbybit.occt.shapes.face.createFaceFromWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "planar": true }, "inputs": { "shape": { "connections": [ { "node": "c11ae3276d573e11", "output": "result", "data": {} } ] } }, "position": [ 2486.238397398744, 1738.220724467023 ] }, "ad0afd6ea219ef86": { "id": "ad0afd6ea219ef86", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": -1, "z": 0 }, "inputs": {}, "position": [ 2473.1275444471194, 2113.3186255065743 ] }, "2a0f77d043644ee3": { "id": "2a0f77d043644ee3", "name": "bitbybit.advanced.text3d.getCompoundShape", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "model": { "connections": [ { "node": "4c4351eddf8efa94", "output": "result", "data": {} } ] } }, "position": [ 4183.646279795008, 2255.298376061577 ] }, "18c3eebd2044f3b7": { "id": "18c3eebd2044f3b7", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#000000", "faceColour": "#ece522", "vertexColour": "#ff00ff", "edgeWidth": 2, "vertexSize": 0.03, "drawEdges": true, "drawFaces": true, "drawVertices": false, "precision": 0.01, "drawEdgeIndexes": false, "edgeIndexHeight": 0.06, "edgeIndexColour": "#ff00ff", "drawFaceIndexes": false, "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": {}, "position": [ 6073.610225888031, 655.9435746143954 ] }, "af8452e8654070a9": { "id": "af8452e8654070a9", "name": "bitbybit.occt.operations.extrude", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "shape": { "connections": [ { "node": "132ff3ab35fb2e05", "output": "result", "data": {} } ] }, "direction": { "connections": [ { "node": "ad0afd6ea219ef86", "output": "result", "data": {} } ] } }, "position": [ 4227.6659157893055, 1931.4169272170993 ] }, "4c91894e94683dff": { "id": "4c91894e94683dff", "name": "bitbybit.advanced.text3d.getCompoundShape", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 } }, "inputs": { "model": { "connections": [ { "node": "d3a74823f150bf21", "output": "result", "data": {} } ] } }, "position": [ 4131.040879224525, 2682.0949622963835 ] }, "c11ae3276d573e11": { "id": "c11ae3276d573e11", "name": "bitbybit.occt.fillets.fillet2d", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "radius": 4 }, "inputs": { "shape": { "connections": [ { "node": "a351f2d47e0617f2", "output": "result", "data": {} } ] } }, "position": [ 1821.6829529195452, 2110.688379143287 ] }, "a351f2d47e0617f2": { "id": "a351f2d47e0617f2", "name": "bitbybit.occt.shapes.wire.createRectangleWire", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "width": 25, "length": 45 }, "inputs": {}, "position": [ 1441.4736228277318, 2111.0894477192014 ] }, "4c4351eddf8efa94": { "id": "4c4351eddf8efa94", "name": "bitbybit.advanced.text3d.create", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "text": "HEY DADDY", "fontType": "IndieFlower", "fontVariant": "Regular", "fontSize": 2, "height": 1, "rotation": 180, "originAlignment": "centerMiddle" }, "inputs": { "origin": { "connections": [ { "node": "d1f9e6ed1c36053b", "output": "result", "data": {} } ] } }, "position": [ 3433.0651133716783, 1876.508844943164 ] }, "d1f9e6ed1c36053b": { "id": "d1f9e6ed1c36053b", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": 0, "z": 20 }, "inputs": {}, "position": [ 2947.2332172883066, 2101.6137911578394 ] }, "d3a74823f150bf21": { "id": "d3a74823f150bf21", "name": "bitbybit.advanced.text3d.create", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "text": "HAVE A GOOD EVENING!", "fontType": "IndieFlower", "fontVariant": "Regular", "fontSize": 2, "height": 1, "rotation": 180, "originAlignment": "centerMiddle" }, "inputs": { "origin": { "connections": [ { "node": "7e3c82b838690e0a", "output": "result", "data": {} } ] } }, "position": [ 3433.037058051443, 2430.5985441863013 ] }, "7e3c82b838690e0a": { "id": "7e3c82b838690e0a", "name": "bitbybit.vector.vectorXYZ", "data": { "genericNodeData": { "hide": true, "oneOnOne": false, "flatten": 0 }, "x": 0, "y": 0, "z": -20 }, "inputs": {}, "position": [ 2960.9950601925825, 2569.9864572483552 ] }, "06df50f633604682": { "id": "06df50f633604682", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#000000", "faceColour": "#b351d6", "vertexColour": "#ff00ff", "edgeWidth": 2, "vertexSize": 0.03, "drawEdges": true, "drawFaces": true, "drawVertices": false, "precision": 0.01, "drawEdgeIndexes": false, "edgeIndexHeight": 0.06, "edgeIndexColour": "#ff00ff", "drawFaceIndexes": false, "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": {}, "position": [ 5194.216132259961, 1947.4596222962027 ] }, "96ddbf98ca513ef9": { "id": "96ddbf98ca513ef9", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "af8452e8654070a9", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "06df50f633604682", "output": "result", "data": {} } ] } }, "position": [ 5587.010033799712, 1681.2245493353735 ] }, "5b217018dd069722": { "id": "5b217018dd069722", "name": "bitbybit.draw.drawAnyAsync", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 } }, "inputs": { "entity": { "connections": [ { "node": "2a0f77d043644ee3", "output": "result", "data": {} }, { "node": "4c91894e94683dff", "output": "result", "data": {} } ] }, "options": { "connections": [ { "node": "2ca48c74acd0f07b", "output": "result", "data": {} } ] } }, "position": [ 5665.376003383463, 2853.248120912116 ] }, "2ca48c74acd0f07b": { "id": "2ca48c74acd0f07b", "name": "bitbybit.draw.optionsOcctShape", "data": { "genericNodeData": { "hide": false, "oneOnOne": false, "flatten": 0 }, "faceOpacity": 1, "edgeOpacity": 1, "edgeColour": "#000000", "faceColour": "#5c02e3", "vertexColour": "#ff00ff", "edgeWidth": 2, "vertexSize": 0.03, "drawEdges": false, "drawFaces": true, "drawVertices": false, "precision": 0.01, "drawEdgeIndexes": false, "edgeIndexHeight": 0.06, "edgeIndexColour": "#ff00ff", "drawFaceIndexes": false, "faceIndexHeight": 0.06, "faceIndexColour": "#0000ff" }, "inputs": {}, "position": [ 5207.668814498201, 3077.6118181002294 ] }, "f4773227594874b0": { "id": "f4773227594874b0", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 4, "max": 10, "step": 2, "width": 350 }, "number": 4 }, "inputs": {}, "position": [ -133.42562995430154, 791.8062158770911 ] }, "918e39ec939a902e": { "id": "918e39ec939a902e", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 0.1, "max": 2, "step": 0.1, "width": 350 }, "number": 0.8 }, "inputs": {}, "position": [ -157.6706761573641, 1270.9672227187204 ] }, "f07fe5a4a9830c16": { "id": "f07fe5a4a9830c16", "name": "bitbybit.math.numberSlider", "data": { "options": { "min": 1, "max": 10, "step": 1, "width": 350 }, "number": 6 }, "inputs": {}, "position": [ -175.2970502575838, 1041.4912063957013 ] } } }