-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrader_test_2
1 lines (1 loc) · 47.7 KB
/
grader_test_2
1
{"name":"assign_step2_ans_week5","author":"new_user","flowchart":{"id":"a930e885-3f7c-3917-b382-63526932cf61","name":"Undulating Beams","description":"\nThis codescript generates an arched roof. The structure is loosely based on The Winter Gardens pavilion in Sheffield.\n\nThe 3 nodes perform different operations. \n\n1. 'Skeleton' - Generates the main skeleton for the whole structure. This includes a set of polyline arches and a set of polygon panels. The arches are created as catenary curves, using two Law Curves.\n\n2. 'Beams' - Uses the curved polyline arcs to generate rectangular beams. The beams are offset inwards so that they do not intersect with the panels.\n\n3. 'Colors' - Adds some colors to the model.\n\nThe codescript has one flowchart parameter.","language":"js","meta":{"selected_nodes":[0]},"nodes":[{"name":"Start","id":"node_wucszflriz","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-ftz733iozu","enabled":true,"print":false,"argCount":2,"meta":{"module":"Input","name":"Constant","inputMode":1,"description":"The 'a' parameter for the catenary curve equation. "},"args":[{"name":"const_name","value":"CATENARY_A","jsValue":"CATENARY_A_"},{"name":"__input__","value":1,"step":"0.1","min":"0.1","max":"1.5"}]}],"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":"Skeleton","id":"node_au8iawd8rlj","position":{"x":5340,"y":5120},"enabled":true,"type":"","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":0,"ID":"prod-02klh3dbef4l","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"all_arcs","jsValue":"all_arcs_"},{"name":"value","value":"[]","usedVars":[],"jsValue":"[]"}],"variable":"all_arcs"},{"type":0,"ID":"prod-qh5c11b5crl","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"all_panels","jsValue":"all_panels_"},{"name":"value","value":"[]","usedVars":[],"jsValue":"[]"}],"variable":"all_panels"},{"type":14,"ID":"prod-ljz34zp3lxa","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"For each arc in y direction"}]},{"type":4,"ID":"prod-thm9t2vemzr","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"i","jsValue":"i_"},{"name":"list","value":"range(0, 4)","usedVars":[],"jsValue":"range(__debug__, 0, 4)"}],"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":0,"ID":"prod-g4pcqc50mqk","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"num_posis","jsValue":"num_posis_"},{"name":"value","value":"7 + i","usedVars":["i"],"jsValue":"7 + i_"}],"variable":"num_posis","selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-kg3e5n19k9","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"max_height","jsValue":"max_height_"},{"name":"value","value":"11 + i * 3.65","usedVars":["i"],"jsValue":"11 + i_ * 3.65"}],"variable":"max_height"},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-eag45b13ymm","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Generate the posis on the right hand side"}]},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-2vy98xggbiv","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"posis_right","jsValue":"posis_right_"},{"name":"value","value":"[]","usedVars":[],"jsValue":"[]"}],"variable":"posis_right"},{"type":4,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-34s49gj6wlq","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"j","jsValue":"j_"},{"name":"list","value":"range(0, num_posis)","usedVars":["num_posis"],"jsValue":"range(__debug__, 0, num_posis_)"}],"children":[{"type":13,"ID":"","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4~children~5","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":18,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4~children~5","ID":"prod-tv8hvgitdbc","enabled":true,"print":false,"argCount":3,"meta":{"module":"localFunc","name":"GetX"},"args":[{"name":"var_name","value":"x","jsValue":"x_"},{"name":"index","value":"j","usedVars":["j"],"jsValue":"j_"},{"name":"num_posis","value":"num_posis","usedVars":["num_posis"],"jsValue":"num_posis_"}],"variable":"x"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4~children~5","ID":"prod-2li78zm57p7","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"y","jsValue":"y_"},{"name":"value","value":"i * 7.5","usedVars":["i"],"jsValue":"i_ * 7.5"}],"variable":"y"},{"type":18,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4~children~5","ID":"prod-753sjpat4bx","enabled":true,"print":false,"argCount":3,"meta":{"module":"localFunc","name":"GetZ"},"args":[{"name":"var_name","value":"z","jsValue":"z_"},{"name":"x","value":"x","usedVars":["x"],"jsValue":"x_"},{"name":"max_height","value":"max_height","usedVars":["max_height"],"jsValue":"max_height_"}],"variable":"z","selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4~children~5","ID":"prod-t6ci7o2orkb","enabled":true,"print":false,"meta":{"module":"make","name":"Position"},"argCount":3,"args":[{"name":"var_name","value":"posi","jsValue":"posi_"},{"name":"__model__"},{"name":"coords","value":"[x, y, z]","usedVars":["x","y","z"],"jsValue":"[x_, y_, z_]"}],"variable":"posi"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4~children~5","ID":"prod-j4o1zcp16zp","enabled":true,"print":false,"meta":{"module":"list","name":"Add"},"argCount":4,"args":[{"name":"__none__"},{"name":"list","value":"posis_right","usedVars":["posis_right"],"jsValue":"posis_right_"},{"name":"item","value":"posi","usedVars":["posi"],"jsValue":"posi_"},{"name":"method","value":"'to_end'","jsValue":"'to_end'","usedVars":[]}]}],"variable":"j"},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-lbd8s8wsq6","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Generate the posis on the left hand side"}]},{"type":8,"ID":"prod-rl1o6bi8z9d","enabled":true,"print":false,"meta":{"module":"make","name":"Copy"},"argCount":4,"args":[{"name":"var_name","value":"posis_left","jsValue":"posis_left_"},{"name":"__model__"},{"name":"entities","value":"posis_right[1 :]","usedVars":["posis_right"],"jsValue":"posis_right_.slice(1)"},{"name":"vector","value":"null","usedVars":[],"jsValue":"null"}],"variable":"posis_left","selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4"},{"type":8,"ID":"prod-4oaflrjrfxn","enabled":true,"print":false,"meta":{"module":"modify","name":"Mirror"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"posis_left","usedVars":["posis_left"],"jsValue":"posis_left_"},{"name":"plane","value":"YZ","usedVars":[],"jsValue":"JSON.parse(JSON.stringify(YZ))"}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-8e70owr4ob","enabled":true,"print":false,"meta":{"module":"list","name":"Sort"},"argCount":3,"args":[{"name":"__none__"},{"name":"list","value":"posis_left","usedVars":["posis_left"],"jsValue":"posis_left_"},{"name":"method","value":"'reverse'","jsValue":"'reverse'","usedVars":[]}]},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-bgpjlhsydg4","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Create arcs and panels"}]},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-jrpbj2ai92","enabled":true,"print":false,"meta":{"module":"make","name":"Polyline"},"argCount":4,"args":[{"name":"var_name","value":"pline","jsValue":"pline_"},{"name":"__model__"},{"name":"entities","value":"listJoin(posis_left, posis_right)","usedVars":["posis_right","posis_left"],"jsValue":"listJoin(__debug__, posis_left_, posis_right_)"},{"name":"close","value":"'open'","jsValue":"'open'","usedVars":[]}],"variable":"pline","selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-uq9zt2x52uq","enabled":true,"print":false,"meta":{"module":"make","name":"Extrude"},"argCount":6,"args":[{"name":"var_name","value":"arcs","jsValue":"arcs_"},{"name":"__model__"},{"name":"entities","value":"pline","usedVars":["pline"],"jsValue":"pline_"},{"name":"dist","value":"[0, 7.1, 0]","usedVars":[],"jsValue":"[0, 7.1, 0]"},{"name":"divisions","value":"2","usedVars":[],"jsValue":"2"},{"name":"method","value":"'copies'","jsValue":"'copies'","usedVars":[]}],"variable":"arcs"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-1msgtuckn5k","enabled":true,"print":false,"meta":{"module":"make","name":"Loft"},"argCount":5,"args":[{"name":"var_name","value":"panels","jsValue":"panels_"},{"name":"__model__"},{"name":"entities","value":"arcs","usedVars":["arcs"],"jsValue":"arcs_"},{"name":"divisions","value":"1","usedVars":[],"jsValue":"1"},{"name":"method","value":"'open_quads'","jsValue":"'open_quads'","usedVars":[]}],"variable":"panels"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-nbxbh0cq3dh","enabled":true,"print":false,"meta":{"module":"list","name":"Add"},"argCount":4,"args":[{"name":"__none__"},{"name":"list","value":"all_arcs","usedVars":["all_arcs"],"jsValue":"all_arcs_"},{"name":"item","value":"arcs","usedVars":["arcs"],"jsValue":"arcs_"},{"name":"method","value":"'to_start'","jsValue":"'to_start'","usedVars":[]}]},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~procedure~4","ID":"prod-i15yeypjy98","enabled":true,"print":false,"meta":{"module":"list","name":"Add"},"argCount":4,"args":[{"name":"__none__"},{"name":"list","value":"all_panels","usedVars":["all_panels"],"jsValue":"all_panels_"},{"name":"item","value":"panels","usedVars":["panels"],"jsValue":"panels_"},{"name":"method","value":"'to_start'","jsValue":"'to_start'","usedVars":[]}]}],"variable":"i"},{"type":14,"ID":"prod-vszebmy82n","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Add attributes so we can retrieve the entity downstream"}],"selectGeom":false},{"type":0,"ID":"prod-uki0w8vblvr","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"all_arcs@name","jsValue":"all_arcs_@name","usedVars":["all_arcs"]},{"name":"value","value":"\"arc\"","usedVars":[],"jsValue":"\"arc\""}],"variable":null},{"type":0,"ID":"prod-gw0bmjnansm","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"all_panels@name","jsValue":"all_panels_@name","usedVars":["all_panels"]},{"name":"value","value":"\"panel\"","usedVars":[],"jsValue":"\"panel\""}],"variable":null,"selectGeom":false}],"localFunc":[{"type":13,"ID":"local_func_blank","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":16,"ID":"prod-7p7xnv0o1nk","enabled":true,"print":false,"argCount":2,"meta":{"module":"","name":"","otherInfo":{"prev_name":"LawCrvX","num_returns":1,"collapsed":true}},"args":[{"name":"func_name","value":"LawCrvX","jsValue":"LawCrvX_"},{"name":"arg_1","value":"t","jsValue":"t_","usedVars":["t"]}],"children":[{"type":13,"ID":"","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-dm4q10nibkn","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"You can experiment with different curves"}]},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-ybyaplvbgg","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"See also https://www.desmos.com/"}]},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-9taede4n6zg","enabled":false,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rt","jsValue":"rt_"},{"name":"value","value":"t","usedVars":["t"],"jsValue":"t_"}],"variable":"rt","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-52ry0lrjq3d","enabled":false,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rt","jsValue":"rt_"},{"name":"value","value":"log(t + 1)","usedVars":["t"],"jsValue":"log(__debug__, t_ + 1)"}],"variable":"rt","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-d41knnwdq2a","enabled":false,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rt","jsValue":"rt_"},{"name":"value","value":"sin(t)","usedVars":["t"],"jsValue":"sin(__debug__, t_)"}],"variable":"rt","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-l1fpx56m8bb","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rt","jsValue":"rt_"},{"name":"value","value":"1 + -1 / (pow(t + 1, 0.8))","usedVars":["t"],"jsValue":"1 + -1 / (pow(__debug__, t_ + 1, 0.8))"}],"variable":"rt","selectGeom":false},{"type":17,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~1","ID":"prod-79blvj2wtyo","enabled":true,"print":false,"argCount":1,"args":[{"name":"Value","value":"rt","usedVars":["rt"],"jsValue":"rt_"}]}],"variable":null},{"type":16,"ID":"prod-60atvnp67m5","enabled":true,"print":false,"argCount":3,"meta":{"module":"","name":"","otherInfo":{"prev_name":"GetX","num_returns":1,"collapsed":false}},"args":[{"name":"func_name","value":"GetX","jsValue":"GetX_"},{"name":"arg_1","value":"index","jsValue":"index_","usedVars":["index"]},{"name":"arg_2","value":"num_posis","jsValue":"num_posis_","usedVars":["num_posis"]}],"children":[{"type":13,"ID":"","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":18,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-eqw7teyx9ga","enabled":true,"print":false,"argCount":2,"meta":{"module":"localFunc","name":"LawCrvX"},"args":[{"name":"var_name","value":"ra_rt0","jsValue":"ra_rt0_"},{"name":"t","value":"0","usedVars":[],"jsValue":"0"}],"variable":"ra_rt0","selectGeom":false},{"type":18,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-njon1se4nkr","enabled":true,"print":false,"argCount":2,"meta":{"module":"localFunc","name":"LawCrvX"},"args":[{"name":"var_name","value":"ra_rt1","jsValue":"ra_rt1_"},{"name":"t","value":"1","usedVars":[],"jsValue":"1"}],"variable":"ra_rt1","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-20l25ywxa53","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"do_t","jsValue":"do_t_"},{"name":"value","value":"[0, 1]","usedVars":[],"jsValue":"[0, 1]"}],"variable":"do_t","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-jo5gn6o9rv","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"ra_rt","jsValue":"ra_rt_"},{"name":"value","value":"[ra_rt0, ra_rt1]","usedVars":["ra_rt0","ra_rt1"],"jsValue":"[ra_rt0_, ra_rt1_]"}],"variable":"ra_rt","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-tg2nnddkxgi","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"do_index","jsValue":"do_index_"},{"name":"value","value":"[0, num_posis - 1]","usedVars":["num_posis"],"jsValue":"[0, num_posis_ - 1]"}],"variable":"do_index","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-suxnxjnupdn","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"ra_x","jsValue":"ra_x_"},{"name":"value","value":"[0, 10.7]","usedVars":[],"jsValue":"[0, 10.7]"}],"variable":"ra_x","selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-lb8kx5msish","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Step 1 Remap from arcs to t"}],"selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-6lwcxxz2x4","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"t","jsValue":"t_"},{"name":"value","value":"remap(index, do_index, do_t)","usedVars":["do_t","do_index","index"],"jsValue":"remap(__debug__, index_, do_index_, do_t_)"}],"variable":"t","selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-lsqeu0j98y","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Step 2 Apply Law Curve"}],"selectGeom":false},{"type":18,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-4ocrfa7i0zq","enabled":true,"print":false,"argCount":2,"meta":{"module":"localFunc","name":"LawCrvX"},"args":[{"name":"var_name","value":"rt","jsValue":"rt_"},{"name":"t","value":"t","usedVars":["t"],"jsValue":"t_"}],"variable":"rt","selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-0pi1ngof8fv","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Step 3 remap from rt to rad"}],"selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-ekf7bvdzboh","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"x","jsValue":"x_"},{"name":"value","value":"remap(rt, ra_rt, ra_x)","usedVars":["ra_rt","ra_x","rt"],"jsValue":"remap(__debug__, rt_, ra_rt_, ra_x_)"}],"variable":"x","selectGeom":false},{"type":17,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~2","ID":"prod-n1u0skt8oe","enabled":true,"print":false,"argCount":1,"args":[{"name":"Value","value":"x","usedVars":["x"],"jsValue":"x_"}],"selectGeom":false}],"variable":null},{"type":16,"ID":"prod-eazzllwedge","enabled":true,"print":false,"argCount":2,"meta":{"module":"","name":"","otherInfo":{"prev_name":"LawCrvZ","num_returns":1,"collapsed":true}},"args":[{"name":"func_name","value":"LawCrvZ","jsValue":"LawCrvZ_"},{"name":"arg_1","value":"t","jsValue":"t_","usedVars":["t"]}],"children":[{"type":13,"ID":"","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~3","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~3","ID":"prod-fvi6lzv0dep","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Catenary curve"}]},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~3","ID":"prod-2xemug7z0p1","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"rt","jsValue":"rt_"},{"name":"value","value":"CATENARY_A * cosh(t / CATENARY_A)","usedVars":["CATENARY_A","t"],"jsValue":"CATENARY_A_ * cosh(__debug__, t_ / CATENARY_A_)"}],"variable":"rt"},{"type":17,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~3","ID":"prod-saendm8xhf","enabled":true,"print":false,"argCount":1,"args":[{"name":"Value","value":"rt","usedVars":["rt"],"jsValue":"rt_"}]}],"variable":null},{"type":16,"ID":"prod-e0emqumg89j","enabled":true,"print":false,"argCount":3,"meta":{"module":"","name":"","otherInfo":{"prev_name":"GetZ","num_returns":1,"collapsed":false}},"args":[{"name":"func_name","value":"GetZ","jsValue":"GetZ_"},{"name":"arg_1","value":"x","jsValue":"x_","usedVars":["x"]},{"name":"arg_2","value":"max_height","jsValue":"max_height_","usedVars":["max_height"]}],"children":[{"type":13,"ID":"","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":18,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-n5cw372rlg","enabled":true,"print":false,"argCount":2,"meta":{"module":"localFunc","name":"LawCrvZ"},"args":[{"name":"var_name","value":"ra_rt0","jsValue":"ra_rt0_"},{"name":"t","usedVars":[],"value":"0","jsValue":"0"}],"variable":"ra_rt0","selectGeom":false},{"type":18,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-qcdh1r2366","enabled":true,"print":false,"argCount":2,"meta":{"module":"localFunc","name":"LawCrvZ"},"args":[{"name":"var_name","value":"ra_rt1","jsValue":"ra_rt1_"},{"name":"t","usedVars":[],"value":"1","jsValue":"1"}],"variable":"ra_rt1","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-0tfftubt5va","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"do_t","jsValue":"do_t_"},{"name":"value","value":"[0, 1]","usedVars":[],"jsValue":"[0, 1]"}],"variable":"do_t","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-a0n6rhkiddl","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"ra_rt","jsValue":"ra_rt_"},{"name":"value","value":"[ra_rt1, ra_rt0]","usedVars":["ra_rt0","ra_rt1"],"jsValue":"[ra_rt1_, ra_rt0_]"}],"variable":"ra_rt","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-ax5kzt9yfm","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"do_x","jsValue":"do_x_"},{"name":"value","value":"[0, 10.7]","usedVars":[],"jsValue":"[0, 10.7]"}],"variable":"do_x","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-yhxsjj0bdps","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"ra_z","jsValue":"ra_z_"},{"name":"value","value":"[0, max_height]","usedVars":["max_height"],"jsValue":"[0, max_height_]"}],"variable":"ra_z","selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-79n1tj8geoo","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Step 1 Remap from arcs to t"}],"selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-2zrl1js347f","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"t","jsValue":"t_"},{"name":"value","value":"remap(x, do_x, do_t)","usedVars":["do_t","do_x","x"],"jsValue":"remap(__debug__, x_, do_x_, do_t_)"}],"variable":"t","selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-zas5nfnfovr","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Step 2 Apply Law Curve"}],"selectGeom":false},{"type":18,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-h2pmz34t75f","enabled":true,"print":false,"argCount":2,"meta":{"module":"localFunc","name":"LawCrvZ"},"args":[{"name":"var_name","value":"rt","jsValue":"rt_"},{"name":"t","value":"t","usedVars":["t"],"jsValue":"t_"}],"variable":"rt","selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-2kg4qzuan0a","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Step 3 remap from rt to rad"}],"selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-9bslpwwmj4n","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"z","jsValue":"z_"},{"name":"value","value":"remap(rt, ra_rt, ra_z)","usedVars":["ra_rt","ra_z","rt"],"jsValue":"remap(__debug__, rt_, ra_rt_, ra_z_)"}],"variable":"z","selectGeom":false},{"type":17,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~localFunc~4","ID":"prod-9m2wuwziip9","enabled":true,"print":false,"argCount":1,"args":[{"name":"Value","value":"z","usedVars":["z"],"jsValue":"z_"}],"selectGeom":false}],"variable":null}],"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":"Beams","id":"node_hdocqreow4m","position":{"x":5340,"y":5220},"enabled":true,"type":"","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":14,"ID":"prod-xksf38kg2ur","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Get the arcs"}]},{"type":0,"ID":"prod-y1sr8wqf13q","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"arcs","jsValue":"arcs_"},{"name":"value","value":"#pl ?@name==\"arc\"","usedVars":[],"jsValue":"__modules__.query.Filter(__params__.model, __modules__.query.Get(__params__.model, 'pl', null), ['name', null], '==', \"arc\")"}],"variable":"arcs"},{"type":8,"ID":"prod-1xjkebwvp6h","enabled":true,"print":false,"meta":{"module":"make","name":"Clone"},"argCount":3,"args":[{"name":"var_name","value":"arcs","jsValue":"arcs_"},{"name":"__model__"},{"name":"entities","value":"arcs","usedVars":["arcs"],"jsValue":"arcs_"}],"variable":"arcs"},{"type":14,"ID":"prod-lrhdgv6ap49","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Loop through the arcs"}]},{"type":4,"ID":"prod-jo1j3cepkq8","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"arc","jsValue":"arc_"},{"name":"list","value":"arcs","usedVars":["arcs"],"jsValue":"arcs_"}],"children":[{"type":13,"ID":"prod-k2t4aikamtl","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-o0do28rxvt","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Unwelds so that the arc has its own position"}]},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-e61ppueq2g4","enabled":true,"print":false,"meta":{"module":"edit","name":"Weld"},"argCount":4,"args":[{"name":"var_name","value":"var","jsValue":"var_"},{"name":"__model__"},{"name":"entities","value":"arc","usedVars":["arc"],"jsValue":"arc_"},{"name":"method","value":"'break_weld'","usedVars":[],"jsValue":"'break_weld'"}],"variable":"var"},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-qxr0tojlby","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Calulate the normal for each edge"}]},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-jq5kqeznlja","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"edges","jsValue":"edges_"},{"name":"value","value":"arc#_e","usedVars":["arc"],"jsValue":"__modules__.query.Get(__params__.model, '_e', arc_)"}],"variable":"edges"},{"type":4,"ID":"prod-uyi2c9om5bc","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"edge","jsValue":"edge_"},{"name":"list","value":"edges","usedVars":["edges"],"jsValue":"edges_"}],"children":[{"type":13,"ID":"prod-3evp5gh6a1r","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":14,"ID":"prod-nykqz7iu4u","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"\\x7e~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5"},{"type":14,"ID":"prod-ny1zmocvxk","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"COMPLETE THE EXPRESSION TO CALCULATE EDGE NORMALS"}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5","ID":"prod-w685whbotf","enabled":true,"print":false,"meta":{"module":"calc","name":"Vector"},"argCount":3,"args":[{"name":"var_name","value":"vec","jsValue":"vec_"},{"name":"__model__"},{"name":"entities","value":"edge","usedVars":["edge"],"jsValue":"edge_"}],"variable":"vec","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5","ID":"prod-2h3cexntirn","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"vcross","jsValue":"vcross_","usedVars":["edge"]},{"name":"value","usedVars":["vec"],"value":"vecCross(vec, [0, 1, 0])","jsValue":"vecCross(__debug__, vec_, [0, 1, 0])"}],"variable":"vcross","selectGeom":false},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5","ID":"prod-82ng72lub9x","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"edge@nor","jsValue":"edge_@nor","usedVars":["edge"]},{"name":"value","usedVars":["vcross"],"value":"vecNorm(vcross)","jsValue":"vecNorm(__debug__, vcross_)"}],"variable":null,"selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5","ID":"prod-hdzsqu5dkh6","enabled":true,"print":false,"meta":{"module":"calc","name":"Centroid"},"argCount":4,"args":[{"name":"var_name","value":"cen","jsValue":"cen_"},{"name":"__model__"},{"name":"entities","value":"edge","usedVars":["edge"],"jsValue":"edge_"},{"name":"method","value":"'ps_average'","usedVars":[],"jsValue":"'ps_average'"}],"variable":"cen","selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5","ID":"prod-kjkr9556pwi","enabled":false,"print":false,"meta":{"module":"visualize","name":"Ray"},"argCount":4,"args":[{"name":"var_name","value":"vis","jsValue":"vis_"},{"name":"__model__"},{"name":"rays","value":"rayMake(cen, edge@nor )","usedVars":["cen","edge"],"jsValue":"rayMake(__debug__, cen_, __modules__.attrib.Get(__params__.model, edge_, 'nor'))"},{"name":"scale","value":"0.2","usedVars":[],"jsValue":"0.2"}],"variable":"vis","selectGeom":false},{"type":14,"ID":"prod-6hcb49qiym","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷"}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5~children~5"}],"variable":"edge","selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5"},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-ulydbgkp80j","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Push the normal from the edges to the positions"}]},{"type":8,"ID":"prod-yjvkqwhv21","enabled":true,"print":false,"meta":{"module":"attrib","name":"Push"},"argCount":6,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"edges","usedVars":["edges"],"jsValue":"edges_"},{"name":"attrib","value":"\"nor\"","usedVars":[],"jsValue":"\"nor\""},{"name":"ent_type_sel","value":"'ps'","jsValue":"'ps'","usedVars":[]},{"name":"method_sel","value":"'average'","jsValue":"'average'","usedVars":[]}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5"},{"type":14,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-v3wixveqoup","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Move the arc positions in the direction of the normals"}]},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-5yfp23wrucu","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"posis","jsValue":"posis_"},{"name":"value","value":"arc#ps","usedVars":["arc"],"jsValue":"__modules__.query.Get(__params__.model, 'ps', arc_)"}],"variable":"posis"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-8bnylwmp8nt","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"normals","jsValue":"normals_"},{"name":"value","value":"posis@nor","usedVars":["posis"],"jsValue":"__modules__.attrib.Get(__params__.model, posis_, 'nor')"}],"variable":"normals"},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-pvvastyzxr","enabled":false,"print":false,"meta":{"module":"visualize","name":"Ray"},"argCount":4,"args":[{"name":"var_name","value":"vis","jsValue":"vis_"},{"name":"__model__"},{"name":"rays","value":"rayMake(posis@xyz , normals)","usedVars":["posis","normals"],"jsValue":"rayMake(__debug__, __modules__.attrib.Get(__params__.model, posis_, 'xyz'), normals_)"},{"name":"scale","value":"0.2","usedVars":[],"jsValue":"0.2"}],"variable":"vis","selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~procedure~5","ID":"prod-jg7vde5yjpq","enabled":true,"print":false,"meta":{"module":"modify","name":"Move"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"posis","usedVars":["posis"],"jsValue":"posis_"},{"name":"vectors","value":"vecSetLen(normals, -0.3)","usedVars":["normals"],"jsValue":"vecSetLen(__debug__, normals_, -0.3)"}]}],"variable":"arc","selectGeom":false},{"type":14,"ID":"prod-utb1nbgx1q8","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Create the beam"}]},{"type":18,"ID":"prod-abikwpysy5","enabled":true,"print":false,"argCount":2,"meta":{"module":"localFunc","name":"MakeBeam"},"args":[{"name":"var_name","value":"beams","jsValue":"beams_"},{"name":"plines","usedVars":["arcs"],"value":"arcs","jsValue":"arcs_"}],"selectGeom":false,"variable":"beams"},{"type":14,"ID":"prod-19qhlmtqb1w","enabled":true,"print":false,"argCount":1,"args":[{"name":"comment","value":"Add attribute so we can retrieve the entity downstream"}],"selectGeom":false},{"type":0,"ID":"prod-4ljsxycegns","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"beams@name","jsValue":"beams_@name","usedVars":["beams"]},{"name":"value","value":"\"beam\"","usedVars":[],"jsValue":"\"beam\""}],"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-1411zmndflbp","enabled":true,"print":false,"argCount":2,"meta":{"module":"","name":"","otherInfo":{"prev_name":"MakeBeam","num_returns":1,"collapsed":true}},"args":[{"name":"func_name","value":"MakeBeam","jsValue":"MakeBeam_"},{"name":"arg_1","value":"plines","jsValue":"plines_","usedVars":["plines"]}],"children":[{"type":13,"ID":"prod-wilzv7najsm","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~localFunc~1","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"ID":"prod-1cw88okaa79","enabled":true,"print":false,"meta":{"module":"pattern","name":"Rectangle"},"argCount":4,"args":[{"name":"var_name","value":"rec","jsValue":"rec_"},{"name":"__model__"},{"name":"origin","value":"XY","usedVars":[],"jsValue":"JSON.parse(JSON.stringify(XY))"},{"name":"size","value":"[0.5, 0.3]","usedVars":[],"jsValue":"[0.5, 0.3]"}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~localFunc~1","variable":"rec"},{"type":8,"ID":"prod-yh5xmq9bo98","enabled":true,"print":false,"meta":{"module":"make","name":"Polyline"},"argCount":4,"args":[{"name":"var_name","value":"xsec","jsValue":"xsec_"},{"name":"__model__"},{"name":"entities","value":"rec","usedVars":["rec"],"jsValue":"rec_"},{"name":"close","value":"'close'","jsValue":"'close'","usedVars":[]}],"selectGeom":false,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~localFunc~1","variable":"xsec"},{"type":0,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~localFunc~1","ID":"prod-1t89f6vl878","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"beams","jsValue":"beams_"},{"name":"value","value":"[]","usedVars":[],"jsValue":"[]"}],"variable":"beams"},{"type":4,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~localFunc~1","ID":"prod-e8y3jyyqsj","enabled":true,"print":false,"argCount":2,"args":[{"name":"item","value":"pline","jsValue":"pline_"},{"name":"list","value":"plines","usedVars":["plines"],"jsValue":"plines_"}],"children":[{"type":13,"ID":"","parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~localFunc~1~children~4","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~localFunc~1~children~4","ID":"prod-2uq7x9lygxy","enabled":true,"print":false,"meta":{"module":"make","name":"Sweep"},"argCount":6,"args":[{"name":"var_name","value":"beam","jsValue":"beam_"},{"name":"__model__"},{"name":"entities","value":"pline","usedVars":["pline"],"jsValue":"pline_"},{"name":"xsextion","value":"xsec","usedVars":["xsec"],"jsValue":"xsec_"},{"name":"divisions","value":"1","usedVars":[],"jsValue":"1"},{"name":"method","value":"'quads'","jsValue":"'quads'","usedVars":[]}],"variable":"beam","selectGeom":false},{"type":8,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~localFunc~1~children~4","ID":"prod-dk36iugdx06","enabled":true,"print":false,"meta":{"module":"list","name":"Add"},"argCount":4,"args":[{"name":"__none__"},{"name":"list","value":"beams","usedVars":["beams"],"jsValue":"beams_"},{"name":"item","value":"beam","usedVars":["beam"],"jsValue":"beam_"},{"name":"method","value":"'to_end'","jsValue":"'to_end'","usedVars":[]}]}],"variable":"pline"},{"type":17,"parent":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode~localFunc~1","ID":"prod-7mdun43t6z3","enabled":true,"print":false,"argCount":1,"args":[{"name":"Value","value":"beams","usedVars":["beams"],"jsValue":"beams_"}],"selectGeom":false}],"variable":null,"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":[{"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":"Color","id":"node_x9t7n8fx9i","position":{"x":5340,"y":5320},"enabled":true,"type":"","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":8,"ID":"prod-6w9q0kuy088","enabled":true,"print":false,"meta":{"module":"visualize","name":"Color"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"#pg ?@name==\"beam\"","usedVars":[],"jsValue":"__modules__.query.Filter(__params__.model, __modules__.query.Get(__params__.model, 'pg', null), ['name', null], '==', \"beam\")"},{"name":"color","value":"[0.6, 0.7, 0.8]","usedVars":[],"jsValue":"[0.6, 0.7, 0.8]"}]},{"type":8,"ID":"prod-5hvzkcqm455","enabled":true,"print":false,"meta":{"module":"visualize","name":"Color"},"argCount":4,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"#pg ?@name==\"panel\"","usedVars":[],"jsValue":"__modules__.query.Filter(__params__.model, __modules__.query.Get(__params__.model, 'pg', null), ['name', null], '==', \"panel\")"},{"name":"color","value":"[1, 1, 0.95]","usedVars":[],"jsValue":"[1, 1, 0.95]"}],"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~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_lae69cp93","position":{"x":5340,"y":5420},"enabled":true,"type":"end","procedure":[{"type":13,"ID":"","meta":{"name":"","module":""},"argCount":0,"args":[],"print":false,"enabled":true,"selectGeom":false},{"type":0,"ID":"prod-6v0r90hdtuk","enabled":true,"print":false,"argCount":2,"args":[{"name":"var_name","value":"@geolocation","jsValue":"@geolocation","usedVars":[]},{"name":"value","value":"{\"latitude\": 53.379593,\"longitude\": -1.468327}","usedVars":[],"jsValue":"{\"latitude\": 53.379593,\"longitude\": -1.468327}"}],"variable":null,"selectGeom":false},{"type":8,"ID":"prod-rq0ieiqc3c","enabled":true,"print":false,"meta":{"module":"modify","name":"Rotate"},"argCount":5,"args":[{"name":"__none__"},{"name":"__model__"},{"name":"entities","value":"[#pl , #pg ]","usedVars":[],"jsValue":"[ __modules__.query.Get(__params__.model, 'pl', null), __modules__.query.Get(__params__.model, 'pg', null)]"},{"name":"ray","value":"XY","usedVars":[],"jsValue":"JSON.parse(JSON.stringify(XY))"},{"name":"angle","value":"degToRad(-29)","usedVars":[],"jsValue":"degToRad(__debug__, -29)"}],"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~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,"hasExecuted":true,"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,"hasExecuted":true,"model":5}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0~output~edges~0~target~parentNode~output~edges~0~target~parentNode"},"hasError":false,"hasExecuted":true,"model":4}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0~output~edges~0~target~parentNode"},"hasError":false,"hasExecuted":true,"model":3}},"selected":false}],"meta":{"mode":0},"parentNode":"~flowchart~nodes~0"},"hasError":false,"hasExecuted":true,"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":"2020-12-29T06:18:10.814Z"},"version":"0.7.1","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\":false,\"size\":4.3},\"tjs_summary\":{\"show\":false},\"gi_summary\":{\"show\":true},\"wireframe\":{\"show\":false},\"camera\":{\"pos\":{\"x\":-79.99999999999991,\"y\":-79.99999999999994,\"z\":79.99999999999991},\"target\":{\"x\":0,\"y\":0,\"z\":0},\"ortho\":false},\"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,\"azimuth\":90,\"altitude\":45,\"distance\":10,\"type\":\"directional\",\"shadowSize\":3072},\"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.4.38\",\"cesium\":{\"imagery\":{\"layer\":\"Open Street Map\",\"terrain\":\"Ellipsoid\",\"apiKey\":{\"here\":\"7vMRjLNCpcOAUQXU61eUp6EFbWCy7WLNmy9qLHO-1Bw\"}},\"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}},\"time\":{\"date\":\"2020-05-11T04:37\"},\"updated\":true,\"model\":{\"polygonEdge\":true}}}"}