|
| 1 | +page("Structures", "Tekla") |
| 2 | +{ |
| 3 | + |
| 4 | +usermacro(6,"j_Hall") |
| 5 | +{ |
| 6 | + icon(1, 3, xs_macro_6, tip_m6) |
| 7 | + |
| 8 | + command(one_point) |
| 9 | + |
| 10 | + |
| 11 | + tab_page("","jd_Parameters",3) |
| 12 | + { |
| 13 | + attribute("nframes", "j_no_of_frames", integer, "%d", none, check_maxmin, "100", "1") |
| 14 | + { |
| 15 | + value("5", 1) |
| 16 | + } |
| 17 | + |
| 18 | + attribute("distance", "j_distance_between_frames", distance, "%.2f", none, none, "0.0", "0.0") |
| 19 | + { |
| 20 | + value("5000.0", 1) |
| 21 | + } |
| 22 | + |
| 23 | + attribute("height1", "j_height_of_column", distance, "%.2f", none, none, "0.0", "0.0") |
| 24 | + { |
| 25 | + value("4000.00", 1) |
| 26 | + } |
| 27 | + |
| 28 | + attribute("height2", "j_height_of_middle", distance, "%.2f", none, none, "0.0", "0.0") |
| 29 | + { |
| 30 | + value("4500.00", 1) |
| 31 | + } |
| 32 | + |
| 33 | + attribute("width", "j_width_of_frame", distance, "%.2f", none, none, "0.0", "0.0") |
| 34 | + { |
| 35 | + value("8000.00", 1) |
| 36 | + } |
| 37 | + |
| 38 | + attribute("profile1", "j_column_profile_name", string,"%s", none, none, "0.0", "0.0") |
| 39 | + { |
| 40 | + value("HEA400", 1) |
| 41 | + } |
| 42 | + |
| 43 | + attribute("profile2", "j_beam_profile_name", string,"%s", none, none, "0.0", "0.0") |
| 44 | + { |
| 45 | + value("IPE330", 1) |
| 46 | + } |
| 47 | + } |
| 48 | + |
| 49 | + /* ORIG depend(0) */ |
| 50 | + depend(0) |
| 51 | + modify(1) |
| 52 | + draw(1, 100.0, 100.0, 0.0, 0.0) |
| 53 | +} |
| 54 | + |
| 55 | +userdetail(45, "Round base plate") |
| 56 | +{ |
| 57 | + icon(1, 12, xs_detail_45, tip_d45) |
| 58 | + autodir_type(autodir_detail) |
| 59 | + |
| 60 | + tab_page("","jd_Picture",1) |
| 61 | + { |
| 62 | + part ("j_plate", tpl1, , , pos1, mat, , partname) |
| 63 | + picture("470_2_line", 400, 2, 15, 65) |
| 64 | + |
| 65 | + picture("xsu_detail_45_plate", 100, 200, 90, 125) |
| 66 | + parameter(" Endplate from edge", e1, distance, number, 200, 100) |
| 67 | + |
| 68 | + picture("xsu_detail_45_stiffeners", 100, 100, 350, 125) |
| 69 | + parameter(" Web plate height", hpl1, distance, number, 525, 175) |
| 70 | + parameter(" Web plate width", bpl1, distance, number, 450, 250) |
| 71 | + parameter(" Web plate chamfer", bj1, distance, number, 450, 100) |
| 72 | + |
| 73 | + attribute("atab1", "j_Bolts", option,"%s", none, none, "0.0", "0.0",373,300,90) |
| 74 | + { |
| 75 | + value("j_no", 0) |
| 76 | + value("j_yes", 1) |
| 77 | + } |
| 78 | + attribute("atab2", "j_plate_stiffeners", option,"%s", none, none, "0.0", "0.0",373,330,90) |
| 79 | + { |
| 80 | + value("j_no", 0) |
| 81 | + value("j_yes", 1) |
| 82 | + } |
| 83 | + } |
| 84 | + tab_page("","Bolts",2) |
| 85 | + { |
| 86 | + attribute("bolt_size_lb", "j_bolt_size", label2,"%s", none, none, "0.0", "0.0",20,5) |
| 87 | + attribute("bolt_standard_lb", "j_bolt_standard", label3,"%s", none, none, "0.0", "0.0",20,30) |
| 88 | + attribute("tolerance_lb", "j_tolerance", label2,"%s", none, none, "0.0", "0.0",20,55) |
| 89 | + attribute("thread_in_material_lb", "j_thread_in_material", label3,"%s", none, none, "0.0", "0.0",20,80) |
| 90 | + parameter("",diameter, distance, number,160,5,90) |
| 91 | + parameter("",screwdin, string, text,160,30,90) |
| 92 | + parameter("",tolerance, distance, number,160,55,90) |
| 93 | + attribute("thread_in", "", option,"%s", none, none, "0.0", "0.0",160,80,90) |
| 94 | + { |
| 95 | + value("j_no", 0) |
| 96 | + value("j_yes", 1) |
| 97 | + } |
| 98 | + attribute("assembly_type", "", option,"%s", none, none, "0.0", "0.0",160,111,90) |
| 99 | + { |
| 100 | + value("j_site", 1) |
| 101 | + value("j_workshop", 0) |
| 102 | + } |
| 103 | + |
| 104 | + long_hole(260,0) |
| 105 | + bolt_structure(469,0) |
| 106 | + extra_length(519,143) |
| 107 | + |
| 108 | + picture("xsu_detail_45_bolts", 100, 100, 180, 155) |
| 109 | + parameter("", nb, integer, number, 350, 205, 40) |
| 110 | + parameter("", lbd, distance_list_no_toggle, number, 400, 205) |
| 111 | + } |
| 112 | + |
| 113 | + welding( ,10, 0, , 10, 0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) |
| 114 | + welding( ,10, 0, , 10, 0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) |
| 115 | + |
| 116 | + picture_used() |
| 117 | +} |
| 118 | + |
| 119 | +userjoint(13,"j_Fitting") |
| 120 | +{ |
| 121 | + icon(1, 17, xs_joint_13, tip_j13) |
| 122 | + origin_type( collision ) |
| 123 | + autodir_type(autodir_basic) |
| 124 | + |
| 125 | + part ("j_upper_stiffeners", tj1, bj1, hj1, pos5, mat , , partname) /* pna 230398 pos1 -> pos5 */ |
| 126 | + part ("j_lower_stiffeners", tj2, bj2, hj2, pos6, mat2, , partname2) |
| 127 | + |
| 128 | + tab_page("","jd_Picture",1) |
| 129 | + { |
| 130 | + picture("jnt_pict_uj13", 255, 180) |
| 131 | + parameter(" Clearance prim/sec", dvl1, distance, number,38) |
| 132 | + } |
| 133 | + tab_page("","jd_Parameters",3) |
| 134 | + { |
| 135 | + attribute("weld", "j_weldings", option,"%s", none, none, "0.0", "0.0") |
| 136 | + { |
| 137 | + value("j_no", 1) |
| 138 | + value("j_yes", 0) |
| 139 | + } |
| 140 | + parameter("j_stiff_dist_from_upper", adist1, distance, number, 2) |
| 141 | + parameter("j_stiff_dist_from_lower", adist2, distance, number, 3) |
| 142 | + parameter("j_upper_dist_from_beam", adist3, distance, number, 4) |
| 143 | + parameter("j_lower_dist_from_beam", adist4, distance, number, 5) |
| 144 | + parameter("j_end_plate_max_gap", col, distance, number,6) |
| 145 | + } |
| 146 | + welding( ,0, 0, , 0, 0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) |
| 147 | + welding( ,0, 0, , 0, 0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) |
| 148 | + welding( ,10, 0, , 10,0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) |
| 149 | + welding( ,10, 0, , 10,0, " ", 0, 1, 0.0, 0, 0.0, 0, 0.0) /* for horiz stiff */ |
| 150 | +} |
| 151 | + |
| 152 | +} |
0 commit comments