Created
May 4, 2020 22:48
-
-
Save tomek-he-him/765e7982b726f4f68155214f7fd2ed77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"name":"Untitled (1)","author":"new_user","flowchart":{"id":"b7dce877-e1df-f5c4-f416-2030ce9e6d58","name":"Untitled","description":"","language":"js","meta":{"selected_nodes":[0]},"nodes":[{"name":"Start","id":"node_z5or9c9apjn","position":{"x":5340,"y":5000},"enabled":true,"type":"start","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":10,"ID":"prod-xrq3iyqqsk8","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","value":"height","jsValue":"height_"},{"name":"__input__","value":80,"step":"1","min":"70","max":"90"}]},{"type":10,"ID":"prod-oithcodhq5l","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","value":"width","jsValue":"width_"},{"name":"__input__","value":80,"step":"5","min":"60","max":"120"}]},{"type":10,"ID":"prod-ml7nydekfnn","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":""},"args":[{"name":"const_name","value":"length","jsValue":"length_"},{"name":"__input__","value":120,"step":"5","min":"80","max":"200"}]}],"localFunc":[{"type":13,"ID":"local_func_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false}],"state":{"procedure":[],"show_code":false,"show_func":false},"input":{"name":"input","type":0,"edges":[],"meta":{"mode":0,"opts":{}},"parentNode":"~flowchart~nodes~0"},"output":{"name":"output","type":1,"edges":[{"source":"~flowchart~nodes~0~output","target":{"name":"input","type":0,"edges":["~flowchart~nodes~0~output~edges~0"],"meta":{"mode":0,"opts":{}},"parentNode":{"name":"Node","id":"node_u1zjpkqr0w","position":{"x":5340,"y":5200},"enabled":true,"type":"","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"ID":"prod-gt981ohbz0h","enabled":true,"print":false,"meta":{"module":"pattern","name":"Rectangle"},"argCount":4,"args":[{"name":"var_name","value":"tabletop_corners","jsValue":"tabletop_corners_"},{"name":"__model__"},{"name":"origin","value":"[0, 0, height - 3]","usedVars":["height"],"jsValue":"[0, 0, height_ - 3]"},{"name":"size","value":"[length, width]","usedVars":["width"],"jsValue":"[length_, width_]"}],"variable":"tabletop_corners"},{"type":8,"ID":"prod-6drwsqfdll","enabled":true,"print":false,"meta":{"module":"make","name":"Polygon"},"argCount":3,"args":[{"name":"var_name","value":"tabletop_rect","jsValue":"tabletop_rect_"},{"name":"__model__"},{"name":"entities","value":"tabletop_corners","usedVars":["tabletop_corners"],"jsValue":"tabletop_corners_"}],"variable":"tabletop_rect"},{"type":8,"ID":"prod-87ycpzgh1o","enabled":true,"print":false,"meta":{"module":"make","name":"Extrude"},"argCount":6,"args":[{"name":"var_name","value":"tabletop","jsValue":"tabletop_"},{"name":"__model__"},{"name":"entities","value":"tabletop_rect","usedVars":["tabletop_rect"],"jsValue":"tabletop_rect_"},{"name":"dist","value":"3","usedVars":[],"jsValue":"3"},{"name":"divisions","value":"1","usedVars":[],"jsValue":"1"},{"name":"method","value":"'quads'","jsValue":"'quads'","usedVars":[]}],"variable":"tabletop"},{"type":4,"ID":"prod-twh4yd11edm","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"corner","jsValue":"corner_"},{"name":"list","value":"tabletop_corners","usedVars":["tabletop_corners"],"jsValue":"tabletop_corners_"}],"children":[{"type":13,"ID":"","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-a8jfsiujor9","enabled":true,"print":false,"meta":{"module":"pattern","name":"Rectangle"},"argCount":4,"args":[{"name":"var_name","value":"leg_top_corners","jsValue":"leg_top_corners_"},{"name":"__model__"},{"name":"origin","value":"corner@xyz","usedVars":["corner"],"jsValue":"__modules__.attrib.Get(__params__.model, corner_, 'xyz')"},{"name":"size","value":"[5, 5]","usedVars":[],"jsValue":"[5, 5]"}],"variable":"leg_top_corners","selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-hmtnbdobf3u","enabled":true,"print":false,"meta":{"module":"modify","name":"Move"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"leg_top_corners","usedVars":["leg_top_corners"],"jsValue":"leg_top_corners_"},{"name":"vectors","usedVars":["corner"],"value":"vecSetLen(vecFromTo([corner@xyz[0] , 0, 0], [0, 0, 0]), 2.5)","jsValue":"vecSetLen(vecFromTo([ __modules__.attrib.Get(__params__.model, corner_, ['xyz', 0]), 0, 0], [0, 0, 0]), 2.5)"}]},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-cs9dzhzzsz8","enabled":true,"print":false,"meta":{"module":"modify","name":"Move"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"leg_top_corners","usedVars":["leg_top_corners"],"jsValue":"leg_top_corners_"},{"name":"vectors","value":"vecSetLen(vecFromTo([0, corner@xyz[1] , 0], [0, 0, 0]), 2.5)","usedVars":["corner"],"jsValue":"vecSetLen(vecFromTo([0, __modules__.attrib.Get(__params__.model, corner_, ['xyz', 1]), 0], [0, 0, 0]), 2.5)"}]},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-h0wxnwdbl76","enabled":true,"print":false,"meta":{"module":"make","name":"Polygon"},"argCount":3,"args":[{"name":"var_name","value":"leg_top_rect","jsValue":"leg_top_rect_"},{"name":"__model__"},{"name":"entities","value":"leg_top_corners","usedVars":["leg_top_corners"],"jsValue":"leg_top_corners_"}],"variable":"leg_top_rect"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-4txndklx7yx","enabled":true,"print":false,"meta":{"module":"make","name":"Extrude"},"argCount":6,"args":[{"name":"var_name","value":"leg","jsValue":"leg_"},{"name":"__model__"},{"name":"entities","value":"leg_top_rect","usedVars":["leg_top_rect"],"jsValue":"leg_top_rect_"},{"name":"dist","value":"-height + 3","usedVars":["height"],"jsValue":"-height_ + 3"},{"name":"divisions","value":"1","usedVars":[],"jsValue":"1"},{"name":"method","value":"'quads'","jsValue":"'quads'","usedVars":[]}],"variable":"leg"}],"variable":"corner"}],"localFunc":[{"type":13,"ID":"local_func_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false}],"state":{"procedure":[],"show_code":true,"show_func":true},"input":"~flowchart~nodes~0~output~edges~0~target","output":{"name":"output","type":1,"edges":[{"source":"~flowchart~nodes~0~output~edges~0~target~parentNode~output","target":{"name":"input","type":0,"edges":["~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0"],"meta":{"mode":0,"opts":{}},"parentNode":{"name":"End","id":"node_qg75yzejds","position":{"x":5340,"y":5400},"enabled":true,"type":"end","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":11,"ID":"Return","meta":{"name":"","module":""},"argCount":2,"args":[{"name":"__model__","value":"","jsValue":""},{"name":"value","value":"","jsValue":"","usedVars":[]}],"print":false,"enabled":true,"selectGeom":false}],"localFunc":[{"type":13,"ID":"local_func_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false}],"state":{"procedure":[],"show_code":true,"show_func":true},"input":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target","output":{"name":"output","type":1,"edges":[],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode"},"hasError":false,"hasExecuted":true}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0~output~edges~0~target~parentNode"},"hasError":false,"hasExecuted":true}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0"},"hasError":false,"hasExecuted":true},"~flowchart~nodes~0~output~edges~0~target~parentNode","~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode"],"edges":["~flowchart~nodes~0~output~edges~0","~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0"],"functions":[],"ordered":true,"last_updated":"2020-05-04T22:41:00.962Z"},"version":"0.5.43","settings":"{\"normals\":{\"show\":false,\"size\":5},\"axes\":{\"show\":true,\"size\":50},\"grid\":{\"show\":true,\"size\":500,\"pos_x\":0,\"pos_y\":0,\"pos_z\":0,\"pos\":{\"x\":0,\"y\":0,\"z\":0}},\"positions\":{\"show\":true,\"size\":0.5},\"tjs_summary\":{\"show\":false},\"gi_summary\":{\"show\":false},\"wireframe\":{\"show\":false},\"camera\":{\"pos\":{\"x\":-80,\"y\":-80,\"z\":80},\"pos_x\":-80,\"pos_y\":-80,\"pos_z\":80,\"target\":{\"x\":0,\"y\":0,\"z\":0}},\"colors\":{\"viewer_bg\":\"#E6E6E6\",\"position\":\"#000000\",\"position_s\":\"#0033FF\",\"vertex_s\":\"#FFCC00\",\"face_f\":\"#FFFFFF\",\"face_f_s\":\"#4949BD\",\"face_b\":\"#DDDDDD\",\"face_b_s\":\"#00006D\"},\"ambient_light\":{\"show\":true,\"color\":\"#FFFFFF\",\"intensity\":0.5},\"hemisphere_light\":{\"show\":true,\"helper\":false,\"skyColor\":\"#FFFFFF\",\"groundColor\":\"#FFFFFF\",\"intensity\":0.5},\"directional_light\":{\"show\":false,\"helper\":false,\"color\":\"#FFFFFF\",\"intensity\":1,\"shadow\":true,\"shadowSize\":4,\"azimuth\":90,\"altitude\":45,\"distance\":10000,\"type\":\"directional\"},\"ground\":{\"show\":false,\"width\":1000,\"length\":1000,\"height\":-0.5,\"color\":\"#FFFFFF\",\"shininess\":0},\"select\":{\"selector\":{\"id\":0,\"name\":\"Positions\"},\"tab\":\"0\"},\"version\":\"0.4.38\",\"background\":{\"show\":false,\"background_set\":0},\"cesium\":{\"imagery\":{\"layer\":\"Open Street Map\",\"terrain\":\"Ellipsoid\"},\"camera\":{\"pos\":{\"x\":0,\"y\":0,\"z\":0},\"direction\":{\"x\":0,\"y\":0,\"z\":0},\"up\":{\"x\":0,\"y\":0,\"z\":0},\"right\":{\"x\":0,\"y\":0,\"z\":0}},\"updated\":true}}"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment