-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wedding_Cake_Urbanism.mob
1 lines (1 loc) · 47 KB
/
Wedding_Cake_Urbanism.mob
1
{"__filetype__":"mobius","name":"Wedding Cake Urbanism","author":"new_user","version":"0.8.11","flowchart":{"id":"3429c2d2-a211-bfd4-4466-f933a770a009","name":"Wedding Cake Urbanism","description":"Urban massing is to achieve a specified sky view angle in the street","language":"js","meta":{"selected_nodes":[0]},"nodes":[{"name":"Start","id":"node_tti4fd7qvu7","position":{"x":5340,"y":5000},"enabled":true,"type":"start","procedure":[{"type":13,"ID":"main_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":10,"ID":"parameters_blank","meta":{"description":"","inputMode":5,"module":"ParamBlank","name":"Constant"},"argCount":0,"args":[],"print":false,"enabled":false,"terminate":false},{"type":10,"ID":"prod-a8x6klmxqf","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":"Random seed that makes the results reproducable."},"args":[{"name":"const_name","value":"RAND_SEED","jsValue":"RAND_SEED_"},{"name":"__input__","value":"0.46260795655756665","step":"0.001","min":"0","max":"1"}]},{"type":10,"ID":"prod-7tqqm90k6ni","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":2,"description":"Use the specified random seed?"},"args":[{"name":"const_name","value":"USE_RND","jsValue":"USE_RND_"},{"name":"__input__","value":false}],"selectGeom":false},{"type":10,"ID":"prod-ac0rn8eecfv","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":"Number of Buildings."},"args":[{"name":"const_name","value":"NUM_BLDGS","jsValue":"NUM_BLDGS_"},{"name":"__input__","value":"40","step":"1","min":"4","max":"100"}]},{"type":10,"ID":"prod-4tq3sfrnyj6","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":"Target Gross Floor Area Ratio."},"args":[{"name":"const_name","value":"GFAR","jsValue":"GFAR_"},{"name":"__input__","value":26.06,"step":"0.01","min":"1","max":"100"}],"selectGeom":false},{"type":10,"ID":"prod-c6xlevmgxb7","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":"Street View Angle."},"args":[{"name":"const_name","value":"VIEW_ANGLE","jsValue":"VIEW_ANGLE_"},{"name":"__input__","value":24,"step":"1","min":"0","max":"90"}]},{"type":10,"ID":"prod-wxm6w2xoee","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":"Street Width."},"args":[{"name":"const_name","value":"STREET_WIDTH","jsValue":"STREET_WIDTH_"},{"name":"__input__","value":6,"step":"0.5","min":"3.5","max":"16"}],"selectGeom":false},{"type":10,"ID":"prod-gzz8gaee57l","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":"Pavement Width."},"args":[{"name":"const_name","value":"PAV_WIDTH","jsValue":"PAV_WIDTH_"},{"name":"__input__","value":2.2,"step":"0.1","min":"1","max":"4"}],"selectGeom":false},{"type":10,"ID":"prod-oww4duxwakd","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":"Setback width for all layers above layer 0."},"args":[{"name":"const_name","value":"SETBACK","jsValue":"SETBACK_"},{"name":"__input__","value":9,"step":"0.1","min":"1","max":"10"}],"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":false,"show_func":false,"hasExecuted":true},"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":"Skeleton","id":"node_41bduhnxjer","position":{"x":5340,"y":5100},"enabled":true,"type":"","procedure":[{"type":13,"ID":"main_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":0,"ID":"prod-s6mhimv5qgr","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"size","jsValue":"size_"},{"name":"value","value":"500","usedVars":[],"jsValue":"500"}],"variable":["size"]},{"type":0,"ID":"prod-druo4fsgb1","enabled":true,"print":true,"argCount":2,"args":[{"name":"var_name","value":"rand_seed","jsValue":"rand_seed_"},{"name":"value","usedVars":[],"value":"rand(0, 1)","jsValue":"rand(__debug__, 0, 1)"}],"selectGeom":false,"variable":["rand_seed"]},{"type":1,"ID":"prod-r8umqd462nn","enabled":true,"print":false,"argCount":1,"args":[{"name":"condition","value":"USE_RND","usedVars":["USE_RND"],"jsValue":"USE_RND_"}],"children":[{"type":13,"ID":"prod-r8umqd462nn-blank","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~3","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":0,"ID":"prod-ajm937nktnp","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rand_seed","jsValue":"rand_seed_"},{"name":"value","usedVars":["RAND_SEED"],"value":"RAND_SEED","jsValue":"RAND_SEED_"}],"selectGeom":false,"variable":["rand_seed"],"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~3"}]},{"type":0,"ID":"prod-3tjo2ecpywu","enabled":false,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rand_seed","jsValue":"rand_seed_"},{"name":"value","usedVars":[],"value":"0.7522151626061858","jsValue":"0.7522151626061858"}],"selectGeom":false,"variable":["rand_seed"]},{"type":0,"ID":"prod-i64db3p0uxo","enabled":false,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rand_seed","jsValue":"rand_seed_"},{"name":"value","usedVars":[],"value":"0.5748011851731456","jsValue":"0.5748011851731456"}],"selectGeom":false,"variable":["rand_seed"]},{"type":0,"ID":"prod-k3t2wy1r2im","enabled":false,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rand_seed","jsValue":"rand_seed_"},{"name":"value","usedVars":[],"value":"0.46260795655756665","jsValue":"0.46260795655756665"}],"selectGeom":false,"variable":["rand_seed"]},{"type":8,"ID":"prod-yvc411l5jm","enabled":true,"print":false,"meta":{"module":"pattern","name":"Rectangle"},"argCount":4,"args":[{"name":"var_name","value":"base","jsValue":"base_"},{"name":"__model__"},{"name":"origin","value":"XY","usedVars":[],"jsValue":"JSON.parse(JSON.stringify(XY))"},{"name":"size","value":"[size, size]","usedVars":["size"],"jsValue":"[size_, size_]"}],"variable":["base"],"selectGeom":false},{"type":8,"ID":"prod-4aw85ba24x","enabled":true,"print":false,"meta":{"module":"make","name":"Polygon"},"argCount":3,"args":[{"name":"var_name","value":"base","jsValue":"base_"},{"name":"__model__"},{"name":"entities","value":"base","usedVars":["base"],"jsValue":"base_"}],"variable":["base"],"selectGeom":false},{"type":18,"ID":"prod-841hclunirf","enabled":true,"print":false,"argCount":4,"meta":{"module":"localFunc","name":"createBase","otherInfo":{"deletedArgs":[{"name":"arg_4","value":"","jsValue":"","usedVars":[],"linked":false,"invalidVar":false}]}},"args":[{"name":"var_name","value":"voronoi","jsValue":"voronoi_"},{"name":"size","value":"size","usedVars":["size"],"jsValue":"size_"},{"name":"no_buildings","value":"NUM_BLDGS","usedVars":["NUM_BLDGS"],"jsValue":"NUM_BLDGS_"},{"name":"rand_seed","value":"rand_seed","usedVars":["rand_seed"],"jsValue":"rand_seed_"}],"variable":["voronoi"]},{"type":8,"ID":"prod-97yu3aqsf0f","enabled":true,"print":false,"meta":{"module":"collection","name":"Create"},"argCount":4,"args":[{"name":"var_name","value":"base_s","jsValue":"base_s_"},{"name":"__model__"},{"name":"entities","value":"voronoi","usedVars":["voronoi"],"jsValue":"voronoi_"},{"name":"name","value":"\"base_s\"","usedVars":[],"jsValue":"\"base_s\""}],"variable":["base_s"]},{"type":8,"ID":"prod-h3r31wlg899","enabled":true,"print":true,"meta":{"module":"calc","name":"Area"},"argCount":3,"args":[{"name":"var_name","value":"area","jsValue":"area_"},{"name":"__model__"},{"name":"entities","value":"base","usedVars":["base"],"jsValue":"base_"}],"variable":["area"]},{"type":0,"ID":"prod-xy041n53dub","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"base_s@area","jsValue":"base_s_@area","usedVars":["base_s"]},{"name":"value","value":"sum(area)","usedVars":["area"],"jsValue":"sum(__debug__, area_)"}],"variable":null,"selectGeom":false},{"type":8,"ID":"prod-p0fdi8wwaqf","enabled":true,"print":false,"meta":{"module":"edit","name":"Delete"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"base","usedVars":["base"],"jsValue":"base_"},{"name":"method","value":"'delete_selected'","jsValue":"'delete_selected'","usedVars":[]}],"selectGeom":false,"terminate":false},{"type":0,"ID":"prod-1oxvgybx5e6","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"line1","jsValue":"line1_"},{"name":"value","value":"\"Total Gnd Area = \" + numToStr(round(sum(area), 0)) + \" sq m.\"","usedVars":["area"],"jsValue":"\"Total Gnd Area = \" + numToStr(__debug__, round(__debug__, sum(__debug__, area_), 0)) + \" sq m.\""}],"variable":["line1"]},{"type":8,"ID":"prod-3idslqhwuh5","enabled":true,"print":false,"meta":{"module":"visualize","name":"Color"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"base_s","usedVars":["base_s"],"jsValue":"base_s_"},{"name":"color","value":"[1, 0.8, 0.8]","usedVars":[],"jsValue":"[1, 0.8, 0.8]"}]},{"type":0,"ID":"prod-ydfadf810sq","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"@hud","jsValue":"@hud","usedVars":[]},{"name":"value","value":"line1","usedVars":["line1"],"jsValue":"line1_"}],"variable":null}],"localFunc":[{"type":13,"ID":"local_func_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":16,"ID":"prod-bn0xvusrbx","enabled":true,"print":false,"argCount":4,"meta":{"module":"","name":"","otherInfo":{"prev_name":"createBase","num_returns":1,"collapsed":false,"deletedArgs":[{"name":"arg_4","value":"","jsValue":""}]}},"args":[{"name":"func_name","value":"createBase","jsValue":"createBase_"},{"name":"arg_1","value":"size","jsValue":"size_","usedVars":["size"]},{"name":"arg_2","value":"no_buildings","jsValue":"no_buildings_","usedVars":["no_buildings"]},{"name":"arg_3","value":"rand_seed","jsValue":"rand_seed_","usedVars":["rand_seed"]}],"children":[{"type":13,"ID":"prod-bn0xvusrbx-blank","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"ID":"prod-k26tbgj2q3h","enabled":true,"print":false,"meta":{"module":"pattern","name":"Rectangle"},"argCount":4,"args":[{"name":"var_name","value":"base","jsValue":"base_"},{"name":"__model__"},{"name":"origin","value":"XY","usedVars":[],"jsValue":"JSON.parse(JSON.stringify(XY))"},{"name":"size","value":"[size, size]","usedVars":["size"],"jsValue":"[size_, size_]"}],"variable":["base"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":8,"ID":"prod-l0nm2yzcxm","enabled":true,"print":false,"meta":{"module":"make","name":"Polygon"},"argCount":3,"args":[{"name":"var_name","value":"base","jsValue":"base_"},{"name":"__model__"},{"name":"entities","value":"base","usedVars":["base"],"jsValue":"base_"}],"variable":["base"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":0,"ID":"prod-1u6uu8tsttr","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"posis","jsValue":"posis_"},{"name":"value","value":"[]","usedVars":[],"jsValue":"[]"}],"variable":["posis"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-q0rtjv6rzbg","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"size","jsValue":"size_"},{"name":"value","value":"size","usedVars":["size"],"jsValue":"size_"}],"variable":["size"]},{"type":4,"ID":"prod-7ls713e1h7f","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"index","jsValue":"index_"},{"name":"list","usedVars":["no_buildings"],"value":"range(0, no_buildings)","jsValue":"range(__debug__, 0, no_buildings_)"}],"children":[{"type":13,"ID":"prod-xml3r89gzld","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1~children~5","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1~children~5","ID":"prod-gwl0i5r0nkc","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"x","jsValue":"x_"},{"name":"value","value":"rand(-size / 2, size / 2, rand_seed + index * 0.01)","usedVars":["size","index","rand_seed"],"jsValue":"rand(__debug__, -size_ / 2, size_ / 2, rand_seed_ + index_ * 0.01)"}],"variable":["x"],"selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1~children~5","ID":"prod-1o0sghyl2fa","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"y","jsValue":"y_"},{"name":"value","value":"rand(-size / 2, size / 2, rand_seed + 0.1234 + index * 0.01)","usedVars":["size","index","rand_seed"],"jsValue":"rand(__debug__, -size_ / 2, size_ / 2, rand_seed_ + 0.1234 + index_ * 0.01)"}],"variable":["y"],"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1~children~5","ID":"prod-z983daktmcm","enabled":true,"print":false,"meta":{"module":"make","name":"Position"},"argCount":3,"args":[{"name":"var_name","value":"ps","jsValue":"ps_"},{"name":"__model__"},{"name":"coords","value":"[x, y, 0]","usedVars":["x","y"],"jsValue":"[x_, y_, 0]"}],"variable":["ps"],"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1~children~5","ID":"prod-wk1wn2qbzco","enabled":true,"print":false,"meta":{"module":"list","name":"Add"},"argCount":4,"args":[{"name":"__none__"},{"name":"list","value":"posis","usedVars":["posis"],"jsValue":"posis_"},{"name":"item","value":"ps","usedVars":["ps"],"jsValue":"ps_"},{"name":"method","value":"'to_end'","jsValue":"'to_end'","usedVars":[]}],"selectGeom":false}],"selectGeom":false,"variable":["index"],"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":8,"ID":"prod-n1m8rjyz65","enabled":true,"print":false,"meta":{"module":"poly2d","name":"Voronoi"},"argCount":4,"args":[{"name":"var_name","value":"v_ps","jsValue":"v_ps_"},{"name":"__model__"},{"name":"pgons","value":"base","usedVars":["base"],"jsValue":"base_"},{"name":"entities","value":"#ps","usedVars":[],"jsValue":"__modules__.query.Get(__params__.model, 'ps', null)"}],"variable":["v_ps"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-uv08do0xs9","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"v_edges","jsValue":"v_edges_"},{"name":"value","value":"v_ps#_e","usedVars":["v_ps"],"jsValue":"__modules__.query.Get(__params__.model, '_e', v_ps_)"}],"variable":["v_edges"]},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-f20aq7yiqt","enabled":true,"print":false,"meta":{"module":"visualize","name":"Edge"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"v_edges","usedVars":["v_edges"],"jsValue":"v_edges_"},{"name":"method","value":"'visible'","jsValue":"'visible'","usedVars":[]}],"selectGeom":false},{"type":4,"ID":"prod-qlld5yh7mvd","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"pg","jsValue":"pg_"},{"name":"list","value":"v_ps","usedVars":["v_ps"],"jsValue":"v_ps_"}],"children":[{"type":13,"ID":"prod-whdoltbzrs","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1~children~9","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1~children~9","ID":"prod-9qvuwcs4ysb","enabled":true,"print":false,"meta":{"module":"edit","name":"Weld"},"argCount":4,"args":[{"name":"var_name","value":"pg","jsValue":"pg_"},{"name":"__model__"},{"name":"entities","value":"pg","usedVars":["pg"],"jsValue":"pg_"},{"name":"method","value":"'break_weld'","jsValue":"'break_weld'","usedVars":[]}],"variable":["pg"],"selectGeom":false}],"variable":["pg"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":8,"ID":"prod-ga89nvhane","enabled":true,"print":false,"meta":{"module":"poly2d","name":"OffsetChamfer"},"argCount":5,"args":[{"name":"var_name","value":"v_ps_o","jsValue":"v_ps_o_"},{"name":"__model__"},{"name":"entities","value":"v_ps","usedVars":["v_ps"],"jsValue":"v_ps_"},{"name":"dist","value":"-STREET_WIDTH / 2","usedVars":["STREET_WIDTH"],"jsValue":"-STREET_WIDTH_ / 2"},{"name":"end_type","value":"'square_end'","jsValue":"'square_end'","usedVars":[]}],"variable":["v_ps_o"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":8,"ID":"prod-g3kdrynaltc","enabled":true,"print":false,"meta":{"module":"poly2d","name":"Boolean"},"argCount":5,"args":[{"name":"var_name","value":"voronoi","jsValue":"voronoi_"},{"name":"__model__"},{"name":"a_entities","value":"base","usedVars":["base"],"jsValue":"base_"},{"name":"b_entities","value":"v_ps_o","usedVars":["v_ps_o"],"jsValue":"v_ps_o_"},{"name":"method","value":"'intersect'","jsValue":"'intersect'","usedVars":[]}],"variable":["voronoi"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":8,"ID":"prod-3ezy0dsyphy","enabled":true,"print":false,"meta":{"module":"edit","name":"Delete"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"base","usedVars":["base"],"jsValue":"base_"},{"name":"method","value":"'delete_selected'","jsValue":"'delete_selected'","usedVars":[]}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","terminate":false},{"type":8,"ID":"prod-ebzf1dx0yf5","enabled":true,"print":false,"meta":{"module":"edit","name":"Delete"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"v_ps","usedVars":["v_ps"],"jsValue":"v_ps_"},{"name":"method","value":"'delete_selected'","jsValue":"'delete_selected'","usedVars":[]}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":8,"ID":"prod-tjbidcl3h2","enabled":true,"print":false,"meta":{"module":"edit","name":"Delete"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"v_ps_o","usedVars":["v_ps_o"],"jsValue":"v_ps_o_"},{"name":"method","value":"'delete_selected'","jsValue":"'delete_selected'","usedVars":[]}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1"},{"type":17,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-ylhy87rkck","enabled":true,"print":false,"argCount":1,"args":[{"name":"Value","value":"voronoi","usedVars":["voronoi"],"jsValue":"voronoi_"}]}],"variable":null}],"state":{"procedure":[],"show_code":true,"show_func":true,"hasExecuted":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":"Blocks","id":"node_bod3s2g41tv","position":{"x":5340,"y":5220},"enabled":true,"type":"","procedure":[{"type":13,"ID":"main_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":0,"ID":"prod-01c4o9c3x04t","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"floor_height","jsValue":"floor_height_"},{"name":"value","value":"3","usedVars":[],"jsValue":"3"}],"variable":["floor_height"]},{"type":8,"ID":"prod-hgc5zybnmo","enabled":true,"print":false,"meta":{"module":"collection","name":"Get"},"argCount":3,"args":[{"name":"var_name","value":"bases","jsValue":"bases_"},{"name":"__model__"},{"name":"names","value":"\"base_s\"","usedVars":[],"jsValue":"\"base_s\""}],"variable":["bases"]},{"type":8,"ID":"prod-flrrej7ro6","enabled":true,"print":true,"meta":{"module":"poly2d","name":"OffsetChamfer"},"argCount":5,"args":[{"name":"var_name","value":"b_bases","jsValue":"b_bases_"},{"name":"__model__"},{"name":"entities","value":"bases#pg","usedVars":["bases"],"jsValue":"__modules__.query.Get(__params__.model, 'pg', bases_)"},{"name":"dist","value":"-PAV_WIDTH","usedVars":["PAV_WIDTH"],"jsValue":"-PAV_WIDTH_"},{"name":"end_type","value":"'square_end'","jsValue":"'square_end'","usedVars":[]}],"variable":["b_bases"],"selectGeom":false},{"type":8,"ID":"prod-u2wtqa1zkg","enabled":false,"print":false,"meta":{"module":"calc","name":"Area"},"argCount":3,"args":[{"name":"var_name","value":"b_area","jsValue":"b_area_"},{"name":"__model__"},{"name":"entities","value":"b_bases","usedVars":["b_bases"],"jsValue":"b_bases_"}],"variable":["b_area"]},{"type":0,"ID":"prod-kycmb3za99n","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"b_heights","jsValue":"b_heights_"},{"name":"value","value":"[]","usedVars":[],"jsValue":"[]"}],"variable":["b_heights"]},{"type":0,"ID":"prod-fm329xhvq7d","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"total_area","jsValue":"total_area_"},{"name":"value","value":"0","usedVars":[],"jsValue":"0"}],"variable":["total_area"]},{"type":4,"ID":"prod-vioa6nn1od","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"b","jsValue":"b_"},{"name":"list","value":"b_bases","usedVars":["b_bases"],"jsValue":"b_bases_"}],"children":[{"type":13,"ID":"prod-jc7f3g0zv9","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"ID":"prod-dfmfdlm9fla","enabled":true,"print":false,"meta":{"module":"calc","name":"Area"},"argCount":3,"args":[{"name":"var_name","value":"b_area","jsValue":"b_area_"},{"name":"__model__"},{"name":"entities","value":"b","usedVars":["b"],"jsValue":"b_"}],"variable":["b_area"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7","ID":"prod-8h1005ay7xv","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"a","jsValue":"a_"},{"name":"value","value":"GFAR * bases@area - total_area","usedVars":["GFAR","bases","total_area"],"jsValue":"GFAR_ * __modules__.attrib.Get(__params__.model, bases_, 'area')- total_area_"}],"variable":["a"],"selectGeom":false},{"type":0,"ID":"prod-x4ktcoxeodh","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"gfar_num_floors","jsValue":"gfar_num_floors_"},{"name":"value","value":"floor((GFAR * bases@area - total_area) / sum(b_area))","usedVars":["GFAR","b_area","bases","total_area"],"jsValue":"floor(__debug__, (GFAR_ * __modules__.attrib.Get(__params__.model, bases_, 'area')- total_area_) / sum(__debug__, b_area_))"}],"variable":["gfar_num_floors"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7"},{"type":0,"ID":"prod-gckeiaipx6","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"ang_num_floors","jsValue":"ang_num_floors_"},{"name":"value","value":"floor(tan(remap(90 - VIEW_ANGLE, [0, 180], [0, PI])) * (PAV_WIDTH + STREET_WIDTH / 2) / floor_height)","usedVars":["PAV_WIDTH","STREET_WIDTH","VIEW_ANGLE","floor_height"],"jsValue":"floor(__debug__, tan(__debug__, remap(__debug__, 90 - VIEW_ANGLE_, [0, 180], [0, JSON.parse(JSON.stringify(PI))])) * (PAV_WIDTH_ + STREET_WIDTH_ / 2) / floor_height_)"}],"variable":["ang_num_floors"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7"},{"type":0,"ID":"prod-hrsn6m85xzc","enabled":true,"print":true,"argCount":2,"args":[{"name":"var_name","value":"num_floors","jsValue":"num_floors_"},{"name":"value","value":"max([0, min([ang_num_floors, gfar_num_floors])])","usedVars":["gfar_num_floors","ang_num_floors"],"jsValue":"max(__debug__, [0, min(__debug__, [ang_num_floors_, gfar_num_floors_])])"}],"variable":["num_floors"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7"},{"type":1,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7","ID":"prod-ocq7ghl7uh","enabled":true,"print":false,"argCount":1,"args":[{"name":"condition","value":"num_floors == 0","usedVars":["num_floors"],"jsValue":"num_floors_ == 0"}],"children":[{"type":13,"ID":"prod-b8q1umdgtb5","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7~children~6","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7~children~6","ID":"prod-d3758yopnch","enabled":true,"print":false,"meta":{"module":"list","name":"Remove"},"argCount":4,"args":[{"name":"__none__"},{"name":"list","value":"b_bases","usedVars":["b_bases"],"jsValue":"b_bases_"},{"name":"item","value":"b","usedVars":["b"],"jsValue":"b_"},{"name":"method","value":"'first_value'","jsValue":"'first_value'","usedVars":[]}],"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7~children~6","ID":"prod-1x013211tsb","enabled":true,"print":false,"meta":{"module":"edit","name":"Delete"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"b","usedVars":["b"],"jsValue":"b_"},{"name":"method","value":"'delete_selected'","jsValue":"'delete_selected'","usedVars":[]}],"selectGeom":false},{"type":7,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7~children~6","ID":"prod-ogsa0y2u9t","enabled":true,"print":false,"argCount":0,"args":[]}],"selectGeom":false},{"type":8,"ID":"prod-0yas90yfjsa","enabled":true,"print":true,"meta":{"module":"make","name":"Extrude"},"argCount":6,"args":[{"name":"var_name","value":"layer1","jsValue":"layer1_"},{"name":"__model__"},{"name":"entities","value":"b","usedVars":["b"],"jsValue":"b_"},{"name":"dist","value":"num_floors * floor_height","usedVars":["num_floors","floor_height"],"jsValue":"num_floors_ * floor_height_"},{"name":"divisions","value":"num_floors","usedVars":["num_floors"],"jsValue":"num_floors_"},{"name":"method","value":"'quads'","jsValue":"'quads'","usedVars":[]}],"variable":["layer1"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7","ID":"prod-8dqxj3yfefn","enabled":true,"print":false,"meta":{"module":"visualize","name":"Color"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"layer1[-1]","usedVars":["layer1"],"jsValue":"layer1_[pythonList(-1, layer1_.length)]"},{"name":"color","value":"[0.8, 1, 0.8]","usedVars":[],"jsValue":"[0.8, 1, 0.8]"}]},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7","ID":"prod-bgodvqtwskw","enabled":true,"print":false,"meta":{"module":"list","name":"Add"},"argCount":4,"args":[{"name":"__none__"},{"name":"list","value":"b_heights","usedVars":["b_heights"],"jsValue":"b_heights_"},{"name":"item","value":"num_floors * floor_height","usedVars":["num_floors","floor_height"],"jsValue":"num_floors_ * floor_height_"},{"name":"method","value":"'to_end'","jsValue":"'to_end'","usedVars":[]}]},{"type":0,"ID":"prod-rjdzk5g4p4n","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"total_area","jsValue":"total_area_","usedVars":[]},{"name":"value","value":"total_area + sum(b_area) * num_floors","usedVars":["b_area","num_floors","total_area"],"jsValue":"total_area_ + sum(__debug__, b_area_) * num_floors_"}],"variable":["total_area"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~7"}],"variable":["b"],"selectGeom":false},{"type":4,"ID":"prod-2xv0151dwk","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"layer","jsValue":"layer_"},{"name":"list","value":"range(0, 3)","usedVars":[],"jsValue":"range(__debug__, 0, 3)"}],"children":[{"type":13,"ID":"prod-xpyylp0ojbo","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8","ID":"prod-a8ra2wdyh47","enabled":true,"print":true,"argCount":2,"args":[{"name":"var_name","value":"layer","jsValue":"layer_"},{"name":"value","value":"layer","usedVars":["layer"],"jsValue":"layer_"}],"variable":["layer"]},{"type":8,"ID":"prod-q4auizxdrk","enabled":true,"print":false,"meta":{"module":"poly2d","name":"OffsetChamfer"},"argCount":5,"args":[{"name":"var_name","value":"b_bases","jsValue":"b_bases_"},{"name":"__model__"},{"name":"entities","value":"b_bases","usedVars":["b_bases"],"jsValue":"b_bases_"},{"name":"dist","value":"-SETBACK","usedVars":["SETBACK"],"jsValue":"-SETBACK_"},{"name":"end_type","value":"'square_end'","jsValue":"'square_end'","usedVars":[]}],"variable":["b_bases"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8","terminate":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8","ID":"prod-tg7d02f7py","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"index","jsValue":"index_"},{"name":"value","value":"0","usedVars":[],"jsValue":"0"}],"variable":["index"]},{"type":4,"ID":"prod-y2e0su4kzxd","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"b","jsValue":"b_"},{"name":"list","value":"b_bases","usedVars":["b_bases"],"jsValue":"b_bases_"}],"children":[{"type":13,"ID":"prod-7eta3xsakbn","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"ID":"prod-2tud9uybxxr","enabled":true,"print":false,"meta":{"module":"calc","name":"Area"},"argCount":3,"args":[{"name":"var_name","value":"b_area","jsValue":"b_area_"},{"name":"__model__"},{"name":"entities","value":"b","usedVars":["b"],"jsValue":"b_"}],"variable":["b_area"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4","ID":"prod-m85gjx59t1","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"a","jsValue":"a_"},{"name":"value","value":"GFAR * bases@area - total_area","usedVars":["GFAR","bases","total_area"],"jsValue":"GFAR_ * __modules__.attrib.Get(__params__.model, bases_, 'area')- total_area_"}],"variable":["a"],"selectGeom":false},{"type":0,"ID":"prod-zh51q31oqq","enabled":true,"print":true,"argCount":2,"args":[{"name":"var_name","value":"gfar_num_floors","jsValue":"gfar_num_floors_"},{"name":"value","value":"floor((GFAR * bases@area - total_area) / sum(b_area))","usedVars":["GFAR","b_area","bases","total_area"],"jsValue":"floor(__debug__, (GFAR_ * __modules__.attrib.Get(__params__.model, bases_, 'area')- total_area_) / sum(__debug__, b_area_))"}],"variable":["gfar_num_floors"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4","ID":"prod-l5665321we","enabled":true,"print":true,"argCount":2,"args":[{"name":"var_name","value":"t","jsValue":"t_"},{"name":"value","value":"tan(remap(90 - VIEW_ANGLE, [0, 180], [0, PI])) * (SETBACK)","usedVars":["SETBACK","VIEW_ANGLE"],"jsValue":"tan(__debug__, remap(__debug__, 90 - VIEW_ANGLE_, [0, 180], [0, JSON.parse(JSON.stringify(PI))])) * (SETBACK_)"}],"variable":["t"]},{"type":0,"ID":"prod-rv6p43oku48","enabled":true,"print":true,"argCount":2,"args":[{"name":"var_name","value":"ang_num_floors","jsValue":"ang_num_floors_"},{"name":"value","value":"floor(tan(remap(90 - VIEW_ANGLE, [0, 180], [0, PI])) * (SETBACK) / floor_height)","usedVars":["SETBACK","VIEW_ANGLE","floor_height"],"jsValue":"floor(__debug__, tan(__debug__, remap(__debug__, 90 - VIEW_ANGLE_, [0, 180], [0, JSON.parse(JSON.stringify(PI))])) * (SETBACK_) / floor_height_)"}],"variable":["ang_num_floors"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4"},{"type":0,"ID":"prod-op6fus6j2od","enabled":true,"print":true,"argCount":2,"args":[{"name":"var_name","value":"num_floors","jsValue":"num_floors_"},{"name":"value","value":"max([0, min([ang_num_floors, gfar_num_floors])])","usedVars":["gfar_num_floors","ang_num_floors"],"jsValue":"max(__debug__, [0, min(__debug__, [ang_num_floors_, gfar_num_floors_])])"}],"variable":["num_floors"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4"},{"type":1,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4","ID":"prod-f98oeqjl51q","enabled":true,"print":false,"argCount":1,"args":[{"name":"condition","value":"num_floors == 0","usedVars":["num_floors"],"jsValue":"num_floors_ == 0"}],"children":[{"type":13,"ID":"prod-50rrhvdbkac","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4~children~7","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4~children~7","ID":"prod-2ke7sofe8pq","enabled":true,"print":false,"meta":{"module":"list","name":"Remove"},"argCount":4,"args":[{"name":"__none__"},{"name":"list","value":"b_bases","usedVars":["b_bases"],"jsValue":"b_bases_"},{"name":"item","value":"b","usedVars":["b"],"jsValue":"b_"},{"name":"method","value":"'first_value'","jsValue":"'first_value'","usedVars":[]}],"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4~children~7","ID":"prod-asoyipzg0fn","enabled":true,"print":false,"meta":{"module":"edit","name":"Delete"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"b","usedVars":["b"],"jsValue":"b_"},{"name":"method","value":"'delete_selected'","jsValue":"'delete_selected'","usedVars":[]}],"selectGeom":false},{"type":7,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4~children~7","ID":"prod-yt4xh7eesaf","enabled":true,"print":false,"argCount":0,"args":[],"selectGeom":false}],"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4","ID":"prod-8egfjif8064","enabled":true,"print":false,"meta":{"module":"modify","name":"Move"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"b","usedVars":["b"],"jsValue":"b_"},{"name":"vectors","value":"vecSetLen([0, 0, 1], b_heights[index])","usedVars":["index","b_heights"],"jsValue":"vecSetLen(__debug__, [0, 0, 1], b_heights_[pythonList(index_, b_heights_.length)])"}]},{"type":8,"ID":"prod-tels928apib","enabled":true,"print":false,"meta":{"module":"make","name":"Extrude"},"argCount":6,"args":[{"name":"var_name","value":"layer1","jsValue":"layer1_"},{"name":"__model__"},{"name":"entities","value":"b","usedVars":["b"],"jsValue":"b_"},{"name":"dist","value":"num_floors * floor_height","usedVars":["num_floors","floor_height"],"jsValue":"num_floors_ * floor_height_"},{"name":"divisions","value":"num_floors","usedVars":["num_floors"],"jsValue":"num_floors_"},{"name":"method","value":"'quads'","jsValue":"'quads'","usedVars":[]}],"variable":["layer1"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4","ID":"prod-m0omalz63u","enabled":true,"print":false,"meta":{"module":"visualize","name":"Color"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"layer1[-1]","usedVars":["layer1"],"jsValue":"layer1_[pythonList(-1, layer1_.length)]"},{"name":"color","value":"[0.8, 1, 0.8]","usedVars":[],"jsValue":"[0.8, 1, 0.8]"}],"selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4","ID":"prod-na528m4reb8","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"b_heights[index]","jsValue":"b_heights_[pythonList(index_, b_heights_.length)]","usedVars":["index","b_heights"]},{"name":"value","value":"b_heights[index] + num_floors * floor_height","usedVars":["num_floors","index","floor_height","b_heights"],"jsValue":"b_heights_[pythonList(index_, b_heights_.length)] + num_floors_ * floor_height_"}],"variable":null},{"type":0,"ID":"prod-h56lq9riowv","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"total_area","jsValue":"total_area_","usedVars":[]},{"name":"value","value":"total_area + sum(b_area) * num_floors","usedVars":["b_area","num_floors","total_area"],"jsValue":"total_area_ + sum(__debug__, b_area_) * num_floors_"}],"variable":["total_area"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8~children~4","ID":"prod-yg1hwjnsiz","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"index","jsValue":"index_"},{"name":"value","value":"index + 1","usedVars":["index"],"jsValue":"index_ + 1"}],"variable":["index"]}],"variable":["b"],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~8"}],"variable":["layer"],"selectGeom":false},{"type":0,"ID":"prod-5qq8jwv7ez","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"@total_area","jsValue":"@total_area","usedVars":[]},{"name":"value","value":"total_area","usedVars":["total_area"],"jsValue":"total_area_"}],"variable":null}],"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,"hasExecuted":true},"input":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target","output":{"name":"output","type":1,"edges":[{"source":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output","target":{"name":"input","type":0,"edges":["~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0"],"meta":{"mode":0,"opts":{}},"parentNode":{"name":"HUD","id":"node_lozzkr88l3a","position":{"x":5340,"y":5320},"enabled":true,"type":"","procedure":[{"type":13,"ID":"main_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"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,"hasExecuted":true},"input":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0~target","output":{"name":"output","type":1,"edges":[{"source":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output","target":{"name":"input","type":0,"edges":["~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0"],"meta":{"mode":0,"opts":{}},"parentNode":{"name":"End","id":"node_7x5xf6h5jmd","position":{"x":5340,"y":5400},"enabled":true,"type":"end","procedure":[{"type":13,"ID":"main_blank","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":""}],"print":false,"enabled":true,"terminate":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,"hasExecuted":true},"input":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~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~output~edges~0~target~parentNode~output~edges~0~target~parentNode"},"hasError":false,"model":6}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0~target~parentNode"},"hasError":false,"model":5}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode"},"hasError":false,"model":4}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0~output~edges~0~target~parentNode"},"hasError":false,"model":3}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0"},"hasError":false,"model":2},"~flowchart~nodes~0~output~edges~0~target~parentNode","~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode","~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0~target~parentNode","~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~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","~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0","~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0~target~parentNode~output~edges~0"],"functions":[],"ordered":true,"last_updated":"2021-12-01T14:47:46.348Z"},"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}},\"background\":{\"show\":true,\"background_set\":0},\"positions\":{\"show\":true,\"size\":0.5},\"tjs_summary\":{\"show\":false},\"gi_summary\":{\"show\":false},\"wireframe\":{\"show\":false},\"camera\":{\"pos\":{\"x\":-125.44906655638948,\"y\":-53.68213524782634,\"z\":54.23464705335006},\"target\":{\"x\":-2.5439090728759766,\"y\":0,\"z\":15.037813536822796},\"ortho\":false,\"pos_x\":53.5814374439155,\"pos_y\":-185.37821573725412,\"pos_z\":157.25085572726252},\"colors\":{\"viewer_bg\":\"#E6E6E6\",\"position\":\"#000000\",\"position_s\":\"#0033FF\",\"vertex_s\":\"#FFCC00\",\"face_f\":\"#FFFFFF\",\"face_f_s\":\"#4949BD\",\"face_b\":\"#9e9e9e\",\"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,\"azimuth\":90,\"altitude\":45,\"distance\":10,\"type\":\"directional\",\"shadowSize\":2048},\"ground\":{\"show\":false,\"width\":1000,\"length\":1000,\"height\":-0.5,\"color\":\"#FFFFFF\",\"shininess\":0},\"select\":{\"selector\":{\"id\":7,\"name\":\"Polygons\"},\"tab\":0,\"enabledselector\":{\"ps\":true,\"_v\":true,\"_e\":true,\"_w\":true,\"_f\":true,\"pt\":true,\"pl\":true,\"pg\":true,\"co\":true}},\"version\":\"0.7.1\",\"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,\"time\":{\"date\":\"2020-06-21\"},\"model\":{\"polygonEdge\":true}},\"aframe\":{\"camera\":{\"position\":{\"x\":0,\"y\":5,\"z\":0},\"rotation\":{\"x\":0,\"y\":0,\"z\":0},\"acceleration\":444,\"show_cam_info\":true},\"background\":{\"background_set\":1,\"background_url\":\"\",\"background_position\":{\"x\":0,\"y\":0,\"z\":0},\"background_rotation\":0},\"ambient_light\":{\"show\":true,\"color\":\"#FFFFFF\",\"intensity\":0.15},\"hemisphere_light\":{\"show\":true,\"skyColor\":\"#FFFFFF\",\"groundColor\":\"#FFFFFF\",\"intensity\":0.15,\"helper\":false},\"directional_light\":{\"show\":true,\"color\":\"#FFFFFF\",\"intensity\":1,\"azimuth\":90,\"altitude\":45,\"shadowSize\":2048,\"helper\":false,\"shadow\":true,\"distance\":10,\"type\":\"directional\"},\"ground\":{\"show\":false,\"width\":1000,\"length\":1000,\"height\":-0.5,\"color\":\"#FFFFFF\",\"shininess\":0},\"updated\":true,\"vr\":{\"background_url\":\"\",\"background_rotation\":0,\"foreground_url\":\"\",\"foreground_rotation\":0},\"vr_hotspot\":{\"background_url\":\"\",\"background_rotation\":0,\"foreground_url\":\"\",\"foreground_rotation\":0}},\"day_light\":{\"show\":true,\"helper\":false,\"intensity\":1,\"position\":[0,2000,1000],\"size\":1000},\"geo\":{\"imagery\":{\"layer\":\"Open Street Map\",\"terrain\":\"Ellipsoid\",\"apiKey\":{\"here\":\"7vMRjLNCpcOAUQXU61eUp6EFbWCy7WLNmy9qLHO-1Bw\"}},\"camera\":{\"pos\":{\"x\":-1526562.2827001857,\"y\":6191537.96620592,\"z\":143238.81925364598},\"rot\":{\"x\":-1.9076980971216357,\"y\":0.7562131052901958,\"z\":1.9759343692490183},\"direction\":{\"x\":0,\"y\":0,\"z\":0},\"up\":{\"x\":0,\"y\":0,\"z\":0},\"right\":{\"x\":0,\"y\":0,\"z\":0}},\"time\":{\"date\":\"2021-02-17T09:04\"},\"model\":{\"polygonEdge\":false},\"updated\":true}}"}