Skip to content

Commit

Permalink
Defaults for optional garage arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-robertson committed Nov 4, 2024
1 parent 9fc0362 commit ca1885e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions BuildResidentialHPXML/measure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5171,6 +5171,9 @@ def convertArgumentValues(arguments_model, args)
def defaultOptionalArgumentValues(args)
args[:floor_over_foundation_assembly_r] = 28.1 if args[:floor_over_foundation_assembly_r].nil?
args[:geometry_roof_pitch] = '6:12' if args[:geometry_roof_pitch].nil?
args[:geometry_garage_width] = 0.0 if args[:geometry_garage_width].nil?
args[:geometry_garage_depth] = 20.0 if args[:geometry_garage_depth].nil?
args[:geometry_garage_protrusion] = 0.0 if args[:geometry_garage_protrusion].nil?
args[:overhangs_front_depth] = 0 if args[:overhangs_front_depth].nil?
args[:overhangs_back_depth] = 0 if args[:overhangs_back_depth].nil?
args[:overhangs_left_depth] = 0 if args[:overhangs_left_depth].nil?
Expand Down
6 changes: 3 additions & 3 deletions BuildResidentialHPXML/measure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<schema_version>3.1</schema_version>
<name>build_residential_hpxml</name>
<uid>a13a8983-2b01-4930-8af2-42030b6e4233</uid>
<version_id>3ab3483f-4492-4b8e-9e83-b277f7198a2d</version_id>
<version_modified>2024-11-04T16:17:20Z</version_modified>
<version_id>e0310568-0b18-4bcf-a7b0-b3b494fa12da</version_id>
<version_modified>2024-11-04T17:16:56Z</version_modified>
<xml_checksum>2C38F48B</xml_checksum>
<class_name>BuildResidentialHPXML</class_name>
<display_name>HPXML Builder</display_name>
Expand Down Expand Up @@ -7628,7 +7628,7 @@
<filename>measure.rb</filename>
<filetype>rb</filetype>
<usage_type>script</usage_type>
<checksum>1932949A</checksum>
<checksum>4F540029</checksum>
</file>
<file>
<filename>constants.rb</filename>
Expand Down

0 comments on commit ca1885e

Please sign in to comment.