Skip to content

Commit ba520a3

Browse files
committed
fix(export): Reposition HVAC components
1 parent 883dbd0 commit ba520a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ladybug_rhino/versioning/export.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ def export_component_screen_capture(folder, component, x_dim=1000, y_dim=1000):
123123
elif component.Name == 'LB Clothing List':
124124
ul_x = component.Attributes.Pivot.X - int(((x_dim / 2) - 200) / 2)
125125
ul_y = component.Attributes.Pivot.Y - int(((y_dim / 2) - 450) / 2)
126+
elif 'HVAC Templates' in component.Name:
127+
ul_x = component.Attributes.Pivot.X - int(((x_dim / 2) - 400) / 2)
128+
ul_y = component.Attributes.Pivot.Y - int(((y_dim / 2) - 120) / 2)
126129
else:
127130
ul_x = component.Attributes.Pivot.X - int(((x_dim / 2) - 120) / 2)
128131
ul_y = component.Attributes.Pivot.Y - int(((y_dim / 2) - 120) / 2)

0 commit comments

Comments
 (0)