@@ -147,23 +147,23 @@ def draw_settings(context, layout, tool):
147147 row = layout .row (align = True )
148148 row .label (text = "" , icon = "EVENT_SHIFT" )
149149 row .label (text = "" , icon = "EVENT_E" )
150- row .operator ("bim.hotkey" , text = "Extend" ).hotkey = "S_E"
150+ row .operator ("bim.hotkey" , text = "Extend" ).hotkey = "S_E"
151151 row = layout .row (align = True )
152152 row .label (text = "" , icon = "EVENT_SHIFT" )
153153 row .label (text = "" , icon = "EVENT_T" )
154- row .operator ("bim.hotkey" , text = "Butt" ).hotkey = "S_T"
154+ row .operator ("bim.hotkey" , text = "Butt" ).hotkey = "S_T"
155155 row = layout .row (align = True )
156156 row .label (text = "" , icon = "EVENT_SHIFT" )
157157 row .label (text = "" , icon = "EVENT_Y" )
158- row .operator ("bim.hotkey" , text = "Mitre" ).hotkey = "S_Y"
158+ row .operator ("bim.hotkey" , text = "Mitre" ).hotkey = "S_Y"
159159 row = layout .row (align = True )
160160 row .label (text = "" , icon = "EVENT_SHIFT" )
161161 row .label (text = "" , icon = "EVENT_G" )
162- row .operator ("bim.hotkey" , text = "Regen Connections" ).hotkey = "S_G"
162+ row .operator ("bim.hotkey" , text = "Regen Connections" ).hotkey = "S_G"
163163 row = layout .row (align = True )
164164 row .label (text = "" , icon = "EVENT_SHIFT" )
165165 row .label (text = "" , icon = "EVENT_M" )
166- row .operator ("bim.hotkey" , text = "Merge" ).hotkey = "S_M"
166+ row .operator ("bim.hotkey" , text = "Merge" ).hotkey = "S_M"
167167 row = layout .row (align = True )
168168 row .operator ("bim.join_wall" , icon = "X" , text = "Disconnect" ).join_type = ""
169169
@@ -172,31 +172,37 @@ def draw_settings(context, layout, tool):
172172 row = layout .row (align = True )
173173 row .label (text = "" , icon = "EVENT_SHIFT" )
174174 row .label (text = "" , icon = "EVENT_F" )
175- row .operator ("bim.hotkey" , text = "Flip" ).hotkey = "S_F"
175+ row .operator ("bim.hotkey" , text = "Flip" ).hotkey = "S_F"
176176 row = layout .row (align = True )
177177 row .label (text = "" , icon = "EVENT_SHIFT" )
178178 row .label (text = "" , icon = "EVENT_S" )
179- row .operator ("bim.hotkey" , text = "Split" ).hotkey = "S_S"
179+ row .operator ("bim.hotkey" , text = "Split" ).hotkey = "S_S"
180180
181181 if ifc_class in ("IfcColumnType" , "IfcBeamType" , "IfcMemberType" ):
182+ row = layout .row (align = True )
183+ label = "Height" if ifc_class == "IfcColumnType" else "Length"
184+ row .prop (data = props , property = "extrusion_depth" , text = label )
185+ op = row .operator ("bim.change_profile_depth" , icon = "FILE_REFRESH" , text = "" )
186+ op .depth = props .extrusion_depth
187+
182188 row = layout .row ()
183189 row .label (text = "Join" )
184190 row = layout .row (align = True )
185191 row .label (text = "" , icon = "EVENT_SHIFT" )
186192 row .label (text = "" , icon = "EVENT_E" )
187- row .operator ("bim.hotkey" , text = "Extend" ).hotkey = "S_E"
193+ row .operator ("bim.hotkey" , text = "Extend" ).hotkey = "S_E"
188194 row = layout .row (align = True )
189195 row .label (text = "" , icon = "EVENT_SHIFT" )
190196 row .label (text = "" , icon = "EVENT_T" )
191- row .operator ("bim.hotkey" , text = "Butt" ).hotkey = "S_T"
197+ row .operator ("bim.hotkey" , text = "Butt" ).hotkey = "S_T"
192198 row = layout .row (align = True )
193199 row .label (text = "" , icon = "EVENT_SHIFT" )
194200 row .label (text = "" , icon = "EVENT_Y" )
195- row .operator ("bim.hotkey" , text = "Mitre" ).hotkey = "S_Y"
201+ row .operator ("bim.hotkey" , text = "Mitre" ).hotkey = "S_Y"
196202 row = layout .row (align = True )
197203 row .label (text = "" , icon = "EVENT_SHIFT" )
198204 row .label (text = "" , icon = "EVENT_G" )
199- row .operator ("bim.hotkey" , text = "Regen Connections" ).hotkey = "S_G"
205+ row .operator ("bim.hotkey" , text = "Regen Connections" ).hotkey = "S_G"
200206 row = layout .row (align = True )
201207 row .operator ("bim.extend_profile" , icon = "X" , text = "Disconnect" ).join_type = ""
202208
0 commit comments