From e6ac94b95d73ee3ba4ce2baff662a9de889d053e Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Tue, 14 May 2024 16:28:39 +0200 Subject: [PATCH 1/7] File.exists? -> File.exist? --- developer/GitHubIssueStats.rb | 2 +- plugin/openstudio/lib/SimulationManager.rb | 10 +++++----- plugin/openstudio/lib/dialogs/PreferencesInterface.rb | 4 ++-- plugin/openstudio/lib/interfaces/ResultsInterface.rb | 2 +- plugin/openstudio/startup.rb | 4 ++-- .../resources/SpaceTypeGenerator.rb | 2 +- .../user_scripts/Reports/OSM_Diagnostic_Script.rb | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/developer/GitHubIssueStats.rb b/developer/GitHubIssueStats.rb index 4191c3e..2f2a522 100644 --- a/developer/GitHubIssueStats.rb +++ b/developer/GitHubIssueStats.rb @@ -11,7 +11,7 @@ repo = 'openstudio-sketchup-plugin' github = Github.new -if File.exists?(Dir.home + '/github_config.yml') +if File.exist?(Dir.home + '/github_config.yml') github_options = YAML.load_file(Dir.home + '/github_config.yml') token = github_options['oauth_token'] github = Github.new oauth_token: token diff --git a/plugin/openstudio/lib/SimulationManager.rb b/plugin/openstudio/lib/SimulationManager.rb index 2775e75..adc5242 100644 --- a/plugin/openstudio/lib/SimulationManager.rb +++ b/plugin/openstudio/lib/SimulationManager.rb @@ -87,14 +87,14 @@ def run_simulation return(false) end - if (not File.exists?(Plugin.energyplus_path)) + if (not File.exist?(Plugin.energyplus_path)) UI.messagebox("Cannot locate the EnergyPlus engine. Correct the EXE path and try again.") Plugin.dialog_manager.show(PreferencesInterface) return(false) end idd_path = Plugin.energyplus_dir + "/Energy+.idd" - if (not File.exists?(idd_path)) + if (not File.exist?(idd_path)) UI.messagebox("Cannot locate the input data dictionary (IDD) in the EnergyPlus directory. Correct the EXE path and try again.") Plugin.dialog_manager.show(PreferencesInterface) return(false) @@ -106,7 +106,7 @@ def run_simulation else expandobjects_path = Plugin.energyplus_dir + '/expandobjects' end - if (not File.exists?(expandobjects_path)) + if (not File.exist?(expandobjects_path)) UI.messagebox("Cannot locate ExpandObjects in the EnergyPlus directory. Correct the EXE path and try again.") Plugin.dialog_manager.show(PreferencesInterface) return(false) @@ -115,13 +115,13 @@ def run_simulation readvars_path = "" if (Plugin.platform == Platform_Windows) readvars_path = Plugin.energyplus_dir + '/PostProcess/ReadVarsESO.exe' - if (not File.exists?(readvars_path)) + if (not File.exist?(readvars_path)) readvars_path = Plugin.energyplus_dir + '/readvars.exe' end else readvars_path = Plugin.energyplus_dir + '/readvars' end - if (not File.exists?(readvars_path)) + if (not File.exist?(readvars_path)) UI.messagebox("Cannot locate ReadVarsESO in the EnergyPlus directory. Correct the EXE path and try again.") Plugin.dialog_manager.show(PreferencesInterface) return(false) diff --git a/plugin/openstudio/lib/dialogs/PreferencesInterface.rb b/plugin/openstudio/lib/dialogs/PreferencesInterface.rb index 442c949..c0dee26 100644 --- a/plugin/openstudio/lib/dialogs/PreferencesInterface.rb +++ b/plugin/openstudio/lib/dialogs/PreferencesInterface.rb @@ -67,9 +67,9 @@ def report if (openstudio_dir.nil? or openstudio_dir.empty?) # do nothing, assume user wants to clear - elsif (not File.exists?(openstudio_dir)) + elsif (not File.exist?(openstudio_dir)) UI.messagebox("WARNING: #{openstudio_dir} does not exist.") - elsif (not File.exists?(key_file)) + elsif (not File.exist?(key_file)) UI.messagebox("WARNING: #{key_file} does not exist.") end diff --git a/plugin/openstudio/lib/interfaces/ResultsInterface.rb b/plugin/openstudio/lib/interfaces/ResultsInterface.rb index aa629a2..5a134cb 100644 --- a/plugin/openstudio/lib/interfaces/ResultsInterface.rb +++ b/plugin/openstudio/lib/interfaces/ResultsInterface.rb @@ -68,7 +68,7 @@ def attach_output_file(output_file_path) openstudio_model = @model_interface.openstudio_model old_sql_file = openstudio_model.sqlFile - if File.exists?(output_file_path) + if File.exist?(output_file_path) begin new_sql_file = OpenStudio::SqlFile.new(OpenStudio::Path.new(output_file_path)) openstudio_model.setSqlFile(new_sql_file) diff --git a/plugin/openstudio/startup.rb b/plugin/openstudio/startup.rb index 26688e6..01a7c33 100644 --- a/plugin/openstudio/startup.rb +++ b/plugin/openstudio/startup.rb @@ -37,7 +37,7 @@ while true - if openstudio_dir.nil? || !File.exists?(openstudio_dir) + if openstudio_dir.nil? || !File.exist?(openstudio_dir) prompts = ["Path to OpenStudio Root Directory"] is_windows = (RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/) @@ -76,7 +76,7 @@ key_file = File.join(openstudio_dir, "Ruby/openstudio.rb") end - if File.exists?(key_file) + if File.exist?(key_file) Sketchup.write_default("OpenStudio", "OpenStudioDir", openstudio_dir) break else diff --git a/plugin/openstudio/user_scripts/On Demand Template Generators/resources/SpaceTypeGenerator.rb b/plugin/openstudio/user_scripts/On Demand Template Generators/resources/SpaceTypeGenerator.rb index dcc9407..4af46ec 100644 --- a/plugin/openstudio/user_scripts/On Demand Template Generators/resources/SpaceTypeGenerator.rb +++ b/plugin/openstudio/user_scripts/On Demand Template Generators/resources/SpaceTypeGenerator.rb @@ -436,7 +436,7 @@ def get_sch_from_lib(sch_name, model) #puts "component_dir = #{component_dir}" puts "creating directories" - FileUtils.rm_rf(component_dir) if File.exists?(component_dir) and File.directory?(component_dir) + FileUtils.rm_rf(component_dir) if File.exist?(component_dir) and File.directory?(component_dir) FileUtils.mkdir_p(component_dir) FileUtils.mkdir_p("#{component_dir}/files/") diff --git a/plugin/openstudio/user_scripts/Reports/OSM_Diagnostic_Script.rb b/plugin/openstudio/user_scripts/Reports/OSM_Diagnostic_Script.rb index bdea9f0..2ec7d56 100644 --- a/plugin/openstudio/user_scripts/Reports/OSM_Diagnostic_Script.rb +++ b/plugin/openstudio/user_scripts/Reports/OSM_Diagnostic_Script.rb @@ -495,7 +495,7 @@ def run(model, runner, user_arguments) if savediagnostic newfilename = open_path.gsub(".osm","_diagnostic.osm") - if File.exists? newfilename + if File.exist? newfilename # I would like to add a prompt to ask the user if they want to overwrite their file end puts "" From fc7d88ac9d55b0ec72fdef077bc51e4480c341ba Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Tue, 14 May 2024 16:37:40 +0200 Subject: [PATCH 2/7] Bump rubocop & workflow --- .github/workflows/rubocop.yml | 12 ++++++++---- .rubocop.yml | 4 +++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 52021e3..73a4cac 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -8,21 +8,25 @@ jobs: build: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' - name: Run rubocop shell: bash run: | which ruby which gem - sudo gem install rubocop -v 0.88 - sudo gem install rubocop-sketchup + gem install rubocop -v 1.50 + gem install rubocop-sketchup cd plugin rubocop -f extension_review -o report.html - name: Upload rubocop results as artifact if: ${{ always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: Rubocop-${{ github.sha }}-report.html path: plugin/report.html diff --git a/.rubocop.yml b/.rubocop.yml index f8ac13f..f082869 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,12 +4,14 @@ AllCops: DisabledByDefault: true DisplayStyleGuide: true Exclude: + - 'developer/ApplyCopyright.rb' - 'developer/GitHubIssueStats.rb' - 'plugin/openstudio/startup.rb' #\lib\rubocop\sketchup\no_comment_disable.rb SketchUp: SourcePath: plugin # Path to extension sources in project directory. EncryptedExtension: false # Enable if you plan to encrypt your extension. - TargetSketchUpVersion: 2019 + TargetSketchUpVersion: 2024.0 + TargetRubyVersion: 3.2 SketchupDeprecations: Enabled: true From 70936402549feec0dbb4c5abcc68f0cf444e56dc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 May 2024 14:43:07 +0000 Subject: [PATCH 3/7] @jmarrec has signed the CLA from Pull Request #137 --- signatures/version1/cla.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/signatures/version1/cla.json b/signatures/version1/cla.json index 8d91886..262c422 100644 --- a/signatures/version1/cla.json +++ b/signatures/version1/cla.json @@ -15,6 +15,14 @@ "created_at": "2023-05-02T11:33:48Z", "repoId": 175247722, "pullRequestNo": 118 + }, + { + "name": "jmarrec", + "id": 5479063, + "comment_id": 2110431287, + "created_at": "2024-05-14T14:42:51Z", + "repoId": 175247722, + "pullRequestNo": 137 } ] } \ No newline at end of file From 102d479f5654ab8f9cb07ad545bfe1a6d1f17630 Mon Sep 17 00:00:00 2001 From: Dan Macumber Date: Sun, 19 May 2024 20:33:55 -0600 Subject: [PATCH 4/7] Fix CI for rubocop-sketchup --- .github/workflows/rubocop.yml | 7 ++----- Gemfile | 3 +++ 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 Gemfile diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 73a4cac..3868620 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -17,12 +17,9 @@ jobs: - name: Run rubocop shell: bash run: | - which ruby - which gem - gem install rubocop -v 1.50 - gem install rubocop-sketchup + bundle install cd plugin - rubocop -f extension_review -o report.html + bundle exec rubocop -f extension_review -o report.html - name: Upload rubocop results as artifact if: ${{ always() }} diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..cd18f7a --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'rubocop-sketchup', git: 'https://github.com/openstudiocoalition/rubocop-sketchup' \ No newline at end of file From 4911d9b56f760642453843abbb20487fbece7cc4 Mon Sep 17 00:00:00 2001 From: Dan Macumber Date: Sat, 7 Sep 2024 11:02:07 -0600 Subject: [PATCH 5/7] Update version --- plugin/openstudio.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/openstudio.rb b/plugin/openstudio.rb index d37af24..7ca3dbf 100644 --- a/plugin/openstudio.rb +++ b/plugin/openstudio.rb @@ -32,7 +32,7 @@ module OpenStudio SKETCHUPPLUGIN_NAME = "OpenStudio" - SKETCHUPPLUGIN_VERSION = "1.7.0" + SKETCHUPPLUGIN_VERSION = "1.8.0" SKETCHUPPLUGIN_LAUNCH_GETTING_STARTED_ON_START = false end From fc1517960c213159482b25cb334bc50e874b5a88 Mon Sep 17 00:00:00 2001 From: Dan Macumber Date: Sat, 7 Sep 2024 11:19:55 -0600 Subject: [PATCH 6/7] Simplify copyright --- LICENSE.md | 2 +- plugin/openstudio.rb | 30 ++--------- plugin/openstudio/lib/AnimationManager.rb | 28 +---------- plugin/openstudio/lib/CommandManager.rb | 28 +---------- plugin/openstudio/lib/ConflictManager.rb | 28 +---------- plugin/openstudio/lib/DialogManager.rb | 28 +---------- plugin/openstudio/lib/GbXMLImporter.rb | 28 +---------- plugin/openstudio/lib/IdfImporter.rb | 28 +---------- plugin/openstudio/lib/MenuManager.rb | 32 ++---------- plugin/openstudio/lib/ModelManager.rb | 30 ++--------- plugin/openstudio/lib/OpenStudioImporter.rb | 28 +---------- plugin/openstudio/lib/PluginManager.rb | 28 +---------- plugin/openstudio/lib/PluginUserScript.rb | 28 +---------- .../openstudio/lib/PluginUserScriptRunner.rb | 28 +---------- plugin/openstudio/lib/SddImporter.rb | 28 +---------- plugin/openstudio/lib/SimulationManager.rb | 28 +---------- plugin/openstudio/lib/UpdateManager.rb | 34 ++----------- plugin/openstudio/lib/WorkspaceObject.rb | 28 +---------- plugin/openstudio/lib/dialogs/AboutDialog.rb | 28 +---------- .../openstudio/lib/dialogs/AboutInterface.rb | 28 +---------- .../lib/dialogs/AnimationSettingsDialog.rb | 28 +---------- .../lib/dialogs/AnimationSettingsInterface.rb | 28 +---------- .../lib/dialogs/ColorScaleDialog.rb | 28 +---------- .../lib/dialogs/ColorScaleInterface.rb | 28 +---------- .../lib/dialogs/DialogContainers.rb | 28 +---------- .../openstudio/lib/dialogs/DialogInterface.rb | 28 +---------- plugin/openstudio/lib/dialogs/Dialogs.rb | 28 +---------- .../lib/dialogs/LastReportDialog.rb | 28 +---------- .../lib/dialogs/LastReportInterface.rb | 28 +---------- .../lib/dialogs/LooseGeometryDialog.rb | 28 +---------- .../lib/dialogs/LooseGeometryInterface.rb | 28 +---------- .../lib/dialogs/PluginInspectorDialog.rb | 28 +---------- .../lib/dialogs/PreferencesDialog.rb | 28 +---------- .../lib/dialogs/PreferencesInterface.rb | 32 ++---------- .../openstudio/lib/dialogs/ProgressDialog.rb | 31 ++---------- .../lib/dialogs/SpaceAttributesInterface.rb | 28 +---------- .../lib/dialogs/SpaceDiagramInterface.rb | 28 +---------- .../lib/dialogs/SurfaceMatchingDialog.rb | 28 +---------- .../lib/dialogs/SurfaceMatchingInterface.rb | 28 +---------- .../lib/dialogs/SurfaceSearchDialog.rb | 28 +---------- .../lib/dialogs/SurfaceSearchInterface.rb | 28 +---------- plugin/openstudio/lib/interfaces/Building.rb | 28 +---------- .../lib/interfaces/BuildingStory.rb | 28 +---------- .../lib/interfaces/ConstructionBase.rb | 28 +---------- .../lib/interfaces/DaylightingControl.rb | 28 +---------- .../lib/interfaces/DrawingInterface.rb | 28 +---------- .../openstudio/lib/interfaces/DrawingUtils.rb | 28 +---------- .../openstudio/lib/interfaces/GlareSensor.rb | 28 +---------- .../lib/interfaces/IlluminanceMap.rb | 28 +---------- .../interfaces/InteriorPartitionSurface.rb | 28 +---------- .../InteriorPartitionSurfaceGroup.rb | 28 +---------- plugin/openstudio/lib/interfaces/Luminaire.rb | 28 +---------- .../lib/interfaces/MaterialsInterface.rb | 28 +---------- .../lib/interfaces/ModelInterface.rb | 28 +---------- .../lib/interfaces/PlanarSurface.rb | 28 +---------- .../lib/interfaces/RenderingColor.rb | 30 ++--------- .../lib/interfaces/ResultsInterface.rb | 28 +---------- .../lib/interfaces/SelectionInterface.rb | 28 +---------- .../lib/interfaces/ShadingSurface.rb | 28 +---------- .../lib/interfaces/ShadingSurfaceGroup.rb | 28 +---------- plugin/openstudio/lib/interfaces/Site.rb | 28 +---------- plugin/openstudio/lib/interfaces/Space.rb | 28 +---------- plugin/openstudio/lib/interfaces/SpaceType.rb | 28 +---------- .../openstudio/lib/interfaces/SubSurface.rb | 28 +---------- plugin/openstudio/lib/interfaces/Surface.rb | 28 +---------- .../openstudio/lib/interfaces/SurfaceGroup.rb | 28 +---------- .../openstudio/lib/interfaces/ThermalZone.rb | 28 +---------- .../openstudio/lib/observers/AppObserver.rb | 28 +---------- .../lib/observers/ComponentObserver.rb | 28 +---------- .../lib/observers/EntitiesObserver.rb | 28 +---------- .../lib/observers/EntityObserver.rb | 29 +---------- .../openstudio/lib/observers/FaceObserver.rb | 28 +---------- .../lib/observers/InstanceObserver.rb | 28 +---------- .../lib/observers/MaterialsObserver.rb | 28 +---------- .../lib/observers/ModelEntitiesObserver.rb | 28 +---------- .../openstudio/lib/observers/ModelObserver.rb | 28 +---------- .../lib/observers/SelectionObserver.rb | 28 +---------- .../lib/observers/ShadowInfoObserver.rb | 28 +---------- .../observers/SurfaceGroupEntitiesObserver.rb | 28 +---------- .../lib/observers/SurfaceGroupObserver.rb | 28 +---------- plugin/openstudio/lib/tools/InfoTool.rb | 28 +---------- .../lib/tools/NewDaylightingControlTool.rb | 28 +---------- .../lib/tools/NewGlareSensorTool.rb | 28 +---------- plugin/openstudio/lib/tools/NewGroupTool.rb | 28 +---------- .../lib/tools/NewIlluminanceMapTool.rb | 28 +---------- .../NewInteriorPartitionSurfaceGroupTool.rb | 28 +---------- .../openstudio/lib/tools/NewLuminaireTool.rb | 28 +---------- .../lib/tools/NewShadingSurfaceGroupTool.rb | 28 +---------- plugin/openstudio/lib/tools/NewSpaceTool.rb | 28 +---------- plugin/openstudio/lib/tools/Tool.rb | 28 +---------- .../lib/watchers/PluginModelObjectWatcher.rb | 28 +---------- .../lib/watchers/PluginModelWatcher.rb | 28 +---------- .../lib/watchers/PluginPathWatcher.rb | 30 ++--------- .../watchers/RenderableModelObjectWatcher.rb | 28 +---------- plugin/openstudio/mainpage.rb | 28 +---------- plugin/openstudio/sketchup/Geom.rb | 50 +++++-------------- plugin/openstudio/sketchup/Sketchup.rb | 48 +++++------------- plugin/openstudio/sketchup/UI.rb | 28 +---------- plugin/openstudio/startup.rb | 28 +---------- .../openstudio/test/PluginTemplates_Test.rb | 28 +---------- ...al_Zone_For_Spaces_With_No_Thermal_Zone.rb | 28 +---------- .../Add_Overhangs_by_Projection_Factor.rb | 28 +---------- .../Add_Photovoltaics.rb | 28 +---------- .../Add_Shading_Controls.rb | 28 +---------- .../Assign_Building_Stories.rb | 28 +---------- .../Change_Shading_Type.rb | 28 +---------- .../Cleanup_Origins.rb | 28 +---------- .../Export_Selected_Space_To_New_File.rb | 28 +---------- .../Import_Spaces_From_External_File.rb | 28 +---------- .../Intersect_Space_Geometry.rb | 28 +---------- .../Make_Selected_Surfaces_Adiabatic.rb | 28 +---------- .../Move_Selected_Surfaces_To_New_Space.rb | 28 +---------- .../Remove_Hard_Assigned_Constructions.rb | 28 +---------- ...emove_Loads_Directly_Assigned_To_Spaces.rb | 28 +---------- .../Remove_Orphan_Photovoltaics.rb | 28 +---------- .../Remove_Orphan_SubSurfaces.rb | 28 +---------- .../Remove_Photovoltaics.rb | 28 +---------- .../Remove_Unused_ThermalZones.rb | 28 +---------- ...ename_ThermalZones_Based_On_Space_Names.rb | 28 +---------- ...t_Interior_Partition_Height_Above_Floor.rb | 28 +---------- .../Set_Shading_Controls.rb | 28 +---------- .../Set_WindowProperty_FrameAndDivider.rb | 28 +---------- .../Set_Window_to_Wall_Ratio.rb | 28 +---------- .../Get_BCL_Weather_File.rb | 28 +---------- .../Set_Courtyard_Floor_Plan.rb | 28 +---------- .../Set_H-Shape_Floor_Plan.rb | 28 +---------- .../Set_L-Shape_Floor_Plan.rb | 28 +---------- .../Set_Rectangular_Floor_Plan.rb | 28 +---------- .../Set_T-Shape_Floor_Plan.rb | 28 +---------- .../Set_U-Shape_Floor_Plan.rb | 28 +---------- .../SpaceTypeAndConstructionSetWizard.rb | 28 +---------- .../resources/ConstructionSetGenerator.rb | 28 +---------- .../resources/OsLib_Constructions.rb | 28 +---------- .../resources/SpaceTypeGenerator.rb | 28 +---------- .../user_scripts/Reports/Export_RPX_File.rb | 28 +---------- .../Reports/OSM_Diagnostic_Script.rb | 28 +---------- .../user_scripts/Reports/SpaceType_Report.rb | 28 +---------- .../Find_Spaces_By_Space_Type.rb | 28 +---------- .../Find_Spaces_By_Thermal_Zone.rb | 28 +---------- .../Hide_Manifold_Solid_Spaces.rb | 28 +---------- .../Hide_Spaces_Included_In_Building_Area.rb | 28 +---------- ...Scene_For_Each_Building_Story_Floorplan.rb | 28 +---------- 142 files changed, 316 insertions(+), 3702 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index ed18a91..4f2cddd 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. +OpenStudio(R), Copyright (c) 2008-2024, OpenStudio Coalition and other contributors. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/plugin/openstudio.rb b/plugin/openstudio.rb index 7ca3dbf..3e8a806 100644 --- a/plugin/openstudio.rb +++ b/plugin/openstudio.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require 'extensions.rb' # defines the SketchupExtension class @@ -41,7 +17,7 @@ module OpenStudio ext.description = "Adds building energy modeling capabilities by coupling SketchUp to the OpenStudio suite of tools. \r\n\r\nVisit openstudio.net for more information." ext.version = OpenStudio::SKETCHUPPLUGIN_VERSION ext.creator = "OpenStudio Coalition" -ext.copyright = "2008-2023, OpenStudio Coalition and other contributors." +ext.copyright = "OpenStudio Coalition and other contributors." # 'true' automatically loads the extension the first time it is registered, e.g., after install Sketchup.register_extension(ext, true) diff --git a/plugin/openstudio/lib/AnimationManager.rb b/plugin/openstudio/lib/AnimationManager.rb index aa9f0c2..276cc73 100644 --- a/plugin/openstudio/lib/AnimationManager.rb +++ b/plugin/openstudio/lib/AnimationManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/CommandManager.rb b/plugin/openstudio/lib/CommandManager.rb index 741d21a..9c76ff9 100644 --- a/plugin/openstudio/lib/CommandManager.rb +++ b/plugin/openstudio/lib/CommandManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/PreferencesDialog") diff --git a/plugin/openstudio/lib/ConflictManager.rb b/plugin/openstudio/lib/ConflictManager.rb index 75767cd..121db5e 100644 --- a/plugin/openstudio/lib/ConflictManager.rb +++ b/plugin/openstudio/lib/ConflictManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/DialogManager.rb b/plugin/openstudio/lib/DialogManager.rb index 5a73ef8..7886e7a 100644 --- a/plugin/openstudio/lib/DialogManager.rb +++ b/plugin/openstudio/lib/DialogManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("set") diff --git a/plugin/openstudio/lib/GbXMLImporter.rb b/plugin/openstudio/lib/GbXMLImporter.rb index 0075cfb..8f8386a 100644 --- a/plugin/openstudio/lib/GbXMLImporter.rb +++ b/plugin/openstudio/lib/GbXMLImporter.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/ModelManager") diff --git a/plugin/openstudio/lib/IdfImporter.rb b/plugin/openstudio/lib/IdfImporter.rb index 76eda0c..457d4d6 100644 --- a/plugin/openstudio/lib/IdfImporter.rb +++ b/plugin/openstudio/lib/IdfImporter.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/ModelManager") diff --git a/plugin/openstudio/lib/MenuManager.rb b/plugin/openstudio/lib/MenuManager.rb index 3681ab0..abdfd90 100644 --- a/plugin/openstudio/lib/MenuManager.rb +++ b/plugin/openstudio/lib/MenuManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/IdfImporter") @@ -324,8 +300,8 @@ def create_commands @inspector_dialog_cmd.large_icon = Plugin.dir + "/lib/resources/icons/OSC_inspector" + Plugin.image_ext @inspector_dialog_cmd.tooltip = "Inspector" @inspector_dialog_cmd.status_bar_text = "Display and edit the selected object" - @inspector_dialog_cmd.set_validation_proc { - Plugin.dialog_manager.validate(PluginInspectorDialog) if (Plugin.dialog_manager) + @inspector_dialog_cmd.set_validation_proc { + Plugin.dialog_manager.validate(PluginInspectorDialog) if (Plugin.dialog_manager) } @surface_search_cmd = UI::Command.new("Surface Search") { Plugin.dialog_manager.show(SurfaceSearchInterface) } diff --git a/plugin/openstudio/lib/ModelManager.rb b/plugin/openstudio/lib/ModelManager.rb index 1d2c5cf..be1e5c7 100644 --- a/plugin/openstudio/lib/ModelManager.rb +++ b/plugin/openstudio/lib/ModelManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/ProgressDialog") @@ -102,7 +78,7 @@ def new_from_skp_model(skp_model) openstudio_path = OpenStudio.get_openstudio_path(skp_model) openstudio_entities = OpenStudio.get_openstudio_entities(skp_model) openstudio_materials = OpenStudio.get_openstudio_materials(skp_model) - + if (openstudio_path && !openstudio_path.empty?) || (openstudio_entities.size > 0) || (openstudio_materials.size > 0) message = "Removing previously linked OpenStudio content." diff --git a/plugin/openstudio/lib/OpenStudioImporter.rb b/plugin/openstudio/lib/OpenStudioImporter.rb index 6066537..beb5c39 100644 --- a/plugin/openstudio/lib/OpenStudioImporter.rb +++ b/plugin/openstudio/lib/OpenStudioImporter.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/ModelManager") diff --git a/plugin/openstudio/lib/PluginManager.rb b/plugin/openstudio/lib/PluginManager.rb index 84724c6..59a0413 100644 --- a/plugin/openstudio/lib/PluginManager.rb +++ b/plugin/openstudio/lib/PluginManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/PluginUserScript.rb b/plugin/openstudio/lib/PluginUserScript.rb index 4590789..a816eeb 100644 --- a/plugin/openstudio/lib/PluginUserScript.rb +++ b/plugin/openstudio/lib/PluginUserScript.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/PluginUserScriptRunner.rb b/plugin/openstudio/lib/PluginUserScriptRunner.rb index e93050d..e3ec4c9 100644 --- a/plugin/openstudio/lib/PluginUserScriptRunner.rb +++ b/plugin/openstudio/lib/PluginUserScriptRunner.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/PluginUserScript") diff --git a/plugin/openstudio/lib/SddImporter.rb b/plugin/openstudio/lib/SddImporter.rb index 534a119..d858b62 100644 --- a/plugin/openstudio/lib/SddImporter.rb +++ b/plugin/openstudio/lib/SddImporter.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/ModelManager") diff --git a/plugin/openstudio/lib/SimulationManager.rb b/plugin/openstudio/lib/SimulationManager.rb index adc5242..317c0e5 100644 --- a/plugin/openstudio/lib/SimulationManager.rb +++ b/plugin/openstudio/lib/SimulationManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("fileutils") diff --git a/plugin/openstudio/lib/UpdateManager.rb b/plugin/openstudio/lib/UpdateManager.rb index 8267d5f..acf6a39 100644 --- a/plugin/openstudio/lib/UpdateManager.rb +++ b/plugin/openstudio/lib/UpdateManager.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio @@ -35,12 +11,12 @@ def initialize(verbose) super("openstudiocoalition", "openstudio-sketchup-plugin") @verbose = verbose Sketchup.status_text = "OpenStudio checking for update" - - proc = Proc.new { + + proc = Proc.new { self.waitForFinished self.onFinished } - + Plugin.add_event( proc ) end diff --git a/plugin/openstudio/lib/WorkspaceObject.rb b/plugin/openstudio/lib/WorkspaceObject.rb index 69f91fb..dc9d3de 100644 --- a/plugin/openstudio/lib/WorkspaceObject.rb +++ b/plugin/openstudio/lib/WorkspaceObject.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/dialogs/AboutDialog.rb b/plugin/openstudio/lib/dialogs/AboutDialog.rb index 048cf08..1836554 100644 --- a/plugin/openstudio/lib/dialogs/AboutDialog.rb +++ b/plugin/openstudio/lib/dialogs/AboutDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/Dialogs") diff --git a/plugin/openstudio/lib/dialogs/AboutInterface.rb b/plugin/openstudio/lib/dialogs/AboutInterface.rb index 6b5d799..709ff70 100644 --- a/plugin/openstudio/lib/dialogs/AboutInterface.rb +++ b/plugin/openstudio/lib/dialogs/AboutInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/DialogInterface") diff --git a/plugin/openstudio/lib/dialogs/AnimationSettingsDialog.rb b/plugin/openstudio/lib/dialogs/AnimationSettingsDialog.rb index f9346a0..5e9cd35 100644 --- a/plugin/openstudio/lib/dialogs/AnimationSettingsDialog.rb +++ b/plugin/openstudio/lib/dialogs/AnimationSettingsDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/Dialogs") diff --git a/plugin/openstudio/lib/dialogs/AnimationSettingsInterface.rb b/plugin/openstudio/lib/dialogs/AnimationSettingsInterface.rb index 6f594c6..cd60ab7 100644 --- a/plugin/openstudio/lib/dialogs/AnimationSettingsInterface.rb +++ b/plugin/openstudio/lib/dialogs/AnimationSettingsInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/DialogInterface") diff --git a/plugin/openstudio/lib/dialogs/ColorScaleDialog.rb b/plugin/openstudio/lib/dialogs/ColorScaleDialog.rb index 1d0f782..131edff 100644 --- a/plugin/openstudio/lib/dialogs/ColorScaleDialog.rb +++ b/plugin/openstudio/lib/dialogs/ColorScaleDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/Dialogs") diff --git a/plugin/openstudio/lib/dialogs/ColorScaleInterface.rb b/plugin/openstudio/lib/dialogs/ColorScaleInterface.rb index e4a68c6..9a8e30c 100644 --- a/plugin/openstudio/lib/dialogs/ColorScaleInterface.rb +++ b/plugin/openstudio/lib/dialogs/ColorScaleInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/DialogInterface") diff --git a/plugin/openstudio/lib/dialogs/DialogContainers.rb b/plugin/openstudio/lib/dialogs/DialogContainers.rb index 02518fa..1c27323 100644 --- a/plugin/openstudio/lib/dialogs/DialogContainers.rb +++ b/plugin/openstudio/lib/dialogs/DialogContainers.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/dialogs/DialogInterface.rb b/plugin/openstudio/lib/dialogs/DialogInterface.rb index ad00de0..5ea5482 100644 --- a/plugin/openstudio/lib/dialogs/DialogInterface.rb +++ b/plugin/openstudio/lib/dialogs/DialogInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/dialogs/Dialogs.rb b/plugin/openstudio/lib/dialogs/Dialogs.rb index 74c6b11..cd05901 100644 --- a/plugin/openstudio/lib/dialogs/Dialogs.rb +++ b/plugin/openstudio/lib/dialogs/Dialogs.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/dialogs/LastReportDialog.rb b/plugin/openstudio/lib/dialogs/LastReportDialog.rb index 6dc12ad..9816b71 100644 --- a/plugin/openstudio/lib/dialogs/LastReportDialog.rb +++ b/plugin/openstudio/lib/dialogs/LastReportDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/Dialogs") diff --git a/plugin/openstudio/lib/dialogs/LastReportInterface.rb b/plugin/openstudio/lib/dialogs/LastReportInterface.rb index c95be86..12b784d 100644 --- a/plugin/openstudio/lib/dialogs/LastReportInterface.rb +++ b/plugin/openstudio/lib/dialogs/LastReportInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/DialogInterface") diff --git a/plugin/openstudio/lib/dialogs/LooseGeometryDialog.rb b/plugin/openstudio/lib/dialogs/LooseGeometryDialog.rb index b9d911d..862ed72 100644 --- a/plugin/openstudio/lib/dialogs/LooseGeometryDialog.rb +++ b/plugin/openstudio/lib/dialogs/LooseGeometryDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/Dialogs") diff --git a/plugin/openstudio/lib/dialogs/LooseGeometryInterface.rb b/plugin/openstudio/lib/dialogs/LooseGeometryInterface.rb index 4259a95..defc45d 100644 --- a/plugin/openstudio/lib/dialogs/LooseGeometryInterface.rb +++ b/plugin/openstudio/lib/dialogs/LooseGeometryInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/DialogInterface") diff --git a/plugin/openstudio/lib/dialogs/PluginInspectorDialog.rb b/plugin/openstudio/lib/dialogs/PluginInspectorDialog.rb index 0c2a897..8dbfe46 100644 --- a/plugin/openstudio/lib/dialogs/PluginInspectorDialog.rb +++ b/plugin/openstudio/lib/dialogs/PluginInspectorDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/dialogs/PreferencesDialog.rb b/plugin/openstudio/lib/dialogs/PreferencesDialog.rb index 3afacaa..3687537 100644 --- a/plugin/openstudio/lib/dialogs/PreferencesDialog.rb +++ b/plugin/openstudio/lib/dialogs/PreferencesDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/Dialogs") diff --git a/plugin/openstudio/lib/dialogs/PreferencesInterface.rb b/plugin/openstudio/lib/dialogs/PreferencesInterface.rb index c0dee26..7415798 100644 --- a/plugin/openstudio/lib/dialogs/PreferencesInterface.rb +++ b/plugin/openstudio/lib/dialogs/PreferencesInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/DialogInterface") @@ -56,7 +32,7 @@ def populate_hash def report openstudio_dir = @hash['OPENSTUDIO_DIR'] - + key_file = nil sketchup_version = Sketchup.version.split('.').first.to_i if sketchup_version >= 19 @@ -64,7 +40,7 @@ def report else key_file = File.join(openstudio_dir, "Ruby/openstudio.rb") end - + if (openstudio_dir.nil? or openstudio_dir.empty?) # do nothing, assume user wants to clear elsif (not File.exist?(openstudio_dir)) diff --git a/plugin/openstudio/lib/dialogs/ProgressDialog.rb b/plugin/openstudio/lib/dialogs/ProgressDialog.rb index 0885881..8108c6e 100644 --- a/plugin/openstudio/lib/dialogs/ProgressDialog.rb +++ b/plugin/openstudio/lib/dialogs/ProgressDialog.rb @@ -1,34 +1,9 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## - module OpenStudio if defined?(OpenStudio::Modeleditor::OSProgressBar) @@ -36,7 +11,7 @@ module OpenStudio else OpenStudioProgressBarClass = OpenStudio::ProgressBar end - + ProgressDialog = Class.new(OpenStudio::OpenStudioProgressBarClass) do def initialize(message) diff --git a/plugin/openstudio/lib/dialogs/SpaceAttributesInterface.rb b/plugin/openstudio/lib/dialogs/SpaceAttributesInterface.rb index 78ec60e..eb77e4d 100644 --- a/plugin/openstudio/lib/dialogs/SpaceAttributesInterface.rb +++ b/plugin/openstudio/lib/dialogs/SpaceAttributesInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/dialogs/SpaceDiagramInterface.rb b/plugin/openstudio/lib/dialogs/SpaceDiagramInterface.rb index 9d92441..a64c7d4 100644 --- a/plugin/openstudio/lib/dialogs/SpaceDiagramInterface.rb +++ b/plugin/openstudio/lib/dialogs/SpaceDiagramInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/dialogs/SurfaceMatchingDialog.rb b/plugin/openstudio/lib/dialogs/SurfaceMatchingDialog.rb index c8685f3..7d92ac3 100644 --- a/plugin/openstudio/lib/dialogs/SurfaceMatchingDialog.rb +++ b/plugin/openstudio/lib/dialogs/SurfaceMatchingDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/Dialogs") diff --git a/plugin/openstudio/lib/dialogs/SurfaceMatchingInterface.rb b/plugin/openstudio/lib/dialogs/SurfaceMatchingInterface.rb index 0e6ff72..c219a93 100644 --- a/plugin/openstudio/lib/dialogs/SurfaceMatchingInterface.rb +++ b/plugin/openstudio/lib/dialogs/SurfaceMatchingInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/DialogInterface") diff --git a/plugin/openstudio/lib/dialogs/SurfaceSearchDialog.rb b/plugin/openstudio/lib/dialogs/SurfaceSearchDialog.rb index ea5cad4..feebfec 100644 --- a/plugin/openstudio/lib/dialogs/SurfaceSearchDialog.rb +++ b/plugin/openstudio/lib/dialogs/SurfaceSearchDialog.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/Dialogs") diff --git a/plugin/openstudio/lib/dialogs/SurfaceSearchInterface.rb b/plugin/openstudio/lib/dialogs/SurfaceSearchInterface.rb index 5d0f71c..bc6da24 100644 --- a/plugin/openstudio/lib/dialogs/SurfaceSearchInterface.rb +++ b/plugin/openstudio/lib/dialogs/SurfaceSearchInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/dialogs/DialogInterface") diff --git a/plugin/openstudio/lib/interfaces/Building.rb b/plugin/openstudio/lib/interfaces/Building.rb index 2e91c4a..6b0316a 100644 --- a/plugin/openstudio/lib/interfaces/Building.rb +++ b/plugin/openstudio/lib/interfaces/Building.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/BuildingStory.rb b/plugin/openstudio/lib/interfaces/BuildingStory.rb index cc8f925..d59082a 100644 --- a/plugin/openstudio/lib/interfaces/BuildingStory.rb +++ b/plugin/openstudio/lib/interfaces/BuildingStory.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/ConstructionBase.rb b/plugin/openstudio/lib/interfaces/ConstructionBase.rb index 0eff41a..9b22a2b 100644 --- a/plugin/openstudio/lib/interfaces/ConstructionBase.rb +++ b/plugin/openstudio/lib/interfaces/ConstructionBase.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/DaylightingControl.rb b/plugin/openstudio/lib/interfaces/DaylightingControl.rb index 8551123..9c6b309 100644 --- a/plugin/openstudio/lib/interfaces/DaylightingControl.rb +++ b/plugin/openstudio/lib/interfaces/DaylightingControl.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/DrawingInterface.rb b/plugin/openstudio/lib/interfaces/DrawingInterface.rb index d604d7c..19b1a29 100644 --- a/plugin/openstudio/lib/interfaces/DrawingInterface.rb +++ b/plugin/openstudio/lib/interfaces/DrawingInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/watchers/PluginModelObjectWatcher") diff --git a/plugin/openstudio/lib/interfaces/DrawingUtils.rb b/plugin/openstudio/lib/interfaces/DrawingUtils.rb index ee16f4b..314e430 100644 --- a/plugin/openstudio/lib/interfaces/DrawingUtils.rb +++ b/plugin/openstudio/lib/interfaces/DrawingUtils.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/sketchup/Sketchup") diff --git a/plugin/openstudio/lib/interfaces/GlareSensor.rb b/plugin/openstudio/lib/interfaces/GlareSensor.rb index 7462fcf..c9fda0c 100644 --- a/plugin/openstudio/lib/interfaces/GlareSensor.rb +++ b/plugin/openstudio/lib/interfaces/GlareSensor.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/IlluminanceMap.rb b/plugin/openstudio/lib/interfaces/IlluminanceMap.rb index 97011e5..918b56c 100644 --- a/plugin/openstudio/lib/interfaces/IlluminanceMap.rb +++ b/plugin/openstudio/lib/interfaces/IlluminanceMap.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/InteriorPartitionSurface.rb b/plugin/openstudio/lib/interfaces/InteriorPartitionSurface.rb index 8d69c4e..818b83d 100644 --- a/plugin/openstudio/lib/interfaces/InteriorPartitionSurface.rb +++ b/plugin/openstudio/lib/interfaces/InteriorPartitionSurface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/PlanarSurface") diff --git a/plugin/openstudio/lib/interfaces/InteriorPartitionSurfaceGroup.rb b/plugin/openstudio/lib/interfaces/InteriorPartitionSurfaceGroup.rb index cefae3c..bb466c5 100644 --- a/plugin/openstudio/lib/interfaces/InteriorPartitionSurfaceGroup.rb +++ b/plugin/openstudio/lib/interfaces/InteriorPartitionSurfaceGroup.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/SurfaceGroup") diff --git a/plugin/openstudio/lib/interfaces/Luminaire.rb b/plugin/openstudio/lib/interfaces/Luminaire.rb index 66719e5..dcc3fa5 100644 --- a/plugin/openstudio/lib/interfaces/Luminaire.rb +++ b/plugin/openstudio/lib/interfaces/Luminaire.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/MaterialsInterface.rb b/plugin/openstudio/lib/interfaces/MaterialsInterface.rb index d9424e5..3e687e0 100644 --- a/plugin/openstudio/lib/interfaces/MaterialsInterface.rb +++ b/plugin/openstudio/lib/interfaces/MaterialsInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/observers/MaterialsObserver.rb") diff --git a/plugin/openstudio/lib/interfaces/ModelInterface.rb b/plugin/openstudio/lib/interfaces/ModelInterface.rb index 8d8d8dd..8ef1827 100644 --- a/plugin/openstudio/lib/interfaces/ModelInterface.rb +++ b/plugin/openstudio/lib/interfaces/ModelInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/Site") diff --git a/plugin/openstudio/lib/interfaces/PlanarSurface.rb b/plugin/openstudio/lib/interfaces/PlanarSurface.rb index b1e224b..4911407 100644 --- a/plugin/openstudio/lib/interfaces/PlanarSurface.rb +++ b/plugin/openstudio/lib/interfaces/PlanarSurface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/RenderingColor.rb b/plugin/openstudio/lib/interfaces/RenderingColor.rb index ae60827..ed9586d 100644 --- a/plugin/openstudio/lib/interfaces/RenderingColor.rb +++ b/plugin/openstudio/lib/interfaces/RenderingColor.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") @@ -190,7 +166,7 @@ def update_entity if @model_object.name.get != @entity.name Plugin.log(OpenStudio::Debug, "Failed to set Material entity name to " + @model_object.name.get) Plugin.log(OpenStudio::Debug, "Setting RenderingColor model object name to " + @entity.name) - + had_watcher = disable_watcher @model_object.setName(@entity.name) add_watcher if had_watcher diff --git a/plugin/openstudio/lib/interfaces/ResultsInterface.rb b/plugin/openstudio/lib/interfaces/ResultsInterface.rb index 5a134cb..76cc0a4 100644 --- a/plugin/openstudio/lib/interfaces/ResultsInterface.rb +++ b/plugin/openstudio/lib/interfaces/ResultsInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/interfaces/SelectionInterface.rb b/plugin/openstudio/lib/interfaces/SelectionInterface.rb index a3c0a77..2158ad2 100644 --- a/plugin/openstudio/lib/interfaces/SelectionInterface.rb +++ b/plugin/openstudio/lib/interfaces/SelectionInterface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/observers/SelectionObserver.rb") diff --git a/plugin/openstudio/lib/interfaces/ShadingSurface.rb b/plugin/openstudio/lib/interfaces/ShadingSurface.rb index d760118..f8d16b8 100644 --- a/plugin/openstudio/lib/interfaces/ShadingSurface.rb +++ b/plugin/openstudio/lib/interfaces/ShadingSurface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/PlanarSurface") diff --git a/plugin/openstudio/lib/interfaces/ShadingSurfaceGroup.rb b/plugin/openstudio/lib/interfaces/ShadingSurfaceGroup.rb index 0a963f7..4404384 100644 --- a/plugin/openstudio/lib/interfaces/ShadingSurfaceGroup.rb +++ b/plugin/openstudio/lib/interfaces/ShadingSurfaceGroup.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/SurfaceGroup") diff --git a/plugin/openstudio/lib/interfaces/Site.rb b/plugin/openstudio/lib/interfaces/Site.rb index 5bbe673..1144503 100644 --- a/plugin/openstudio/lib/interfaces/Site.rb +++ b/plugin/openstudio/lib/interfaces/Site.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/Space.rb b/plugin/openstudio/lib/interfaces/Space.rb index 5aefb20..daec25d 100644 --- a/plugin/openstudio/lib/interfaces/Space.rb +++ b/plugin/openstudio/lib/interfaces/Space.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/SurfaceGroup") diff --git a/plugin/openstudio/lib/interfaces/SpaceType.rb b/plugin/openstudio/lib/interfaces/SpaceType.rb index fe07217..7428555 100644 --- a/plugin/openstudio/lib/interfaces/SpaceType.rb +++ b/plugin/openstudio/lib/interfaces/SpaceType.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/SubSurface.rb b/plugin/openstudio/lib/interfaces/SubSurface.rb index 7630d1b..4bb57e2 100644 --- a/plugin/openstudio/lib/interfaces/SubSurface.rb +++ b/plugin/openstudio/lib/interfaces/SubSurface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingUtils") diff --git a/plugin/openstudio/lib/interfaces/Surface.rb b/plugin/openstudio/lib/interfaces/Surface.rb index 5b34817..63458f4 100644 --- a/plugin/openstudio/lib/interfaces/Surface.rb +++ b/plugin/openstudio/lib/interfaces/Surface.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/PlanarSurface") diff --git a/plugin/openstudio/lib/interfaces/SurfaceGroup.rb b/plugin/openstudio/lib/interfaces/SurfaceGroup.rb index f6f28e6..a621166 100644 --- a/plugin/openstudio/lib/interfaces/SurfaceGroup.rb +++ b/plugin/openstudio/lib/interfaces/SurfaceGroup.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/interfaces/ThermalZone.rb b/plugin/openstudio/lib/interfaces/ThermalZone.rb index 9568294..2479ad2 100644 --- a/plugin/openstudio/lib/interfaces/ThermalZone.rb +++ b/plugin/openstudio/lib/interfaces/ThermalZone.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingInterface") diff --git a/plugin/openstudio/lib/observers/AppObserver.rb b/plugin/openstudio/lib/observers/AppObserver.rb index 47f3aa2..2951664 100644 --- a/plugin/openstudio/lib/observers/AppObserver.rb +++ b/plugin/openstudio/lib/observers/AppObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/observers/ComponentObserver.rb b/plugin/openstudio/lib/observers/ComponentObserver.rb index 6872c8a..f40e773 100644 --- a/plugin/openstudio/lib/observers/ComponentObserver.rb +++ b/plugin/openstudio/lib/observers/ComponentObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingUtils") diff --git a/plugin/openstudio/lib/observers/EntitiesObserver.rb b/plugin/openstudio/lib/observers/EntitiesObserver.rb index d8bda00..c2d0b9f 100644 --- a/plugin/openstudio/lib/observers/EntitiesObserver.rb +++ b/plugin/openstudio/lib/observers/EntitiesObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingUtils") diff --git a/plugin/openstudio/lib/observers/EntityObserver.rb b/plugin/openstudio/lib/observers/EntityObserver.rb index 718db7e..7f051c8 100644 --- a/plugin/openstudio/lib/observers/EntityObserver.rb +++ b/plugin/openstudio/lib/observers/EntityObserver.rb @@ -1,32 +1,7 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## - require("openstudio/lib/interfaces/DrawingUtils") module OpenStudio diff --git a/plugin/openstudio/lib/observers/FaceObserver.rb b/plugin/openstudio/lib/observers/FaceObserver.rb index 23f60c6..0b03414 100644 --- a/plugin/openstudio/lib/observers/FaceObserver.rb +++ b/plugin/openstudio/lib/observers/FaceObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingUtils") diff --git a/plugin/openstudio/lib/observers/InstanceObserver.rb b/plugin/openstudio/lib/observers/InstanceObserver.rb index 9314fc2..20a1cb9 100644 --- a/plugin/openstudio/lib/observers/InstanceObserver.rb +++ b/plugin/openstudio/lib/observers/InstanceObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/observers/MaterialsObserver.rb b/plugin/openstudio/lib/observers/MaterialsObserver.rb index 840eb8a..9e7eadf 100644 --- a/plugin/openstudio/lib/observers/MaterialsObserver.rb +++ b/plugin/openstudio/lib/observers/MaterialsObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/ModelInterface") diff --git a/plugin/openstudio/lib/observers/ModelEntitiesObserver.rb b/plugin/openstudio/lib/observers/ModelEntitiesObserver.rb index 0d3d446..13d990f 100644 --- a/plugin/openstudio/lib/observers/ModelEntitiesObserver.rb +++ b/plugin/openstudio/lib/observers/ModelEntitiesObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/observers/ModelObserver.rb b/plugin/openstudio/lib/observers/ModelObserver.rb index 8b82429..eed5f78 100644 --- a/plugin/openstudio/lib/observers/ModelObserver.rb +++ b/plugin/openstudio/lib/observers/ModelObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/observers/SelectionObserver.rb b/plugin/openstudio/lib/observers/SelectionObserver.rb index f358bd0..17f1ae4 100644 --- a/plugin/openstudio/lib/observers/SelectionObserver.rb +++ b/plugin/openstudio/lib/observers/SelectionObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/observers/ShadowInfoObserver.rb b/plugin/openstudio/lib/observers/ShadowInfoObserver.rb index 9717286..5fd1015 100644 --- a/plugin/openstudio/lib/observers/ShadowInfoObserver.rb +++ b/plugin/openstudio/lib/observers/ShadowInfoObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/observers/SurfaceGroupEntitiesObserver.rb b/plugin/openstudio/lib/observers/SurfaceGroupEntitiesObserver.rb index 9d0f817..d726ad2 100644 --- a/plugin/openstudio/lib/observers/SurfaceGroupEntitiesObserver.rb +++ b/plugin/openstudio/lib/observers/SurfaceGroupEntitiesObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/DrawingUtils") diff --git a/plugin/openstudio/lib/observers/SurfaceGroupObserver.rb b/plugin/openstudio/lib/observers/SurfaceGroupObserver.rb index 4406aaf..0c58057 100644 --- a/plugin/openstudio/lib/observers/SurfaceGroupObserver.rb +++ b/plugin/openstudio/lib/observers/SurfaceGroupObserver.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/tools/InfoTool.rb b/plugin/openstudio/lib/tools/InfoTool.rb index dbb0cf5..6585fa9 100644 --- a/plugin/openstudio/lib/tools/InfoTool.rb +++ b/plugin/openstudio/lib/tools/InfoTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/tools/Tool") diff --git a/plugin/openstudio/lib/tools/NewDaylightingControlTool.rb b/plugin/openstudio/lib/tools/NewDaylightingControlTool.rb index 7f4fe6c..a95cb26 100644 --- a/plugin/openstudio/lib/tools/NewDaylightingControlTool.rb +++ b/plugin/openstudio/lib/tools/NewDaylightingControlTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/tools/Tool") diff --git a/plugin/openstudio/lib/tools/NewGlareSensorTool.rb b/plugin/openstudio/lib/tools/NewGlareSensorTool.rb index 84152ab..a9af8d2 100644 --- a/plugin/openstudio/lib/tools/NewGlareSensorTool.rb +++ b/plugin/openstudio/lib/tools/NewGlareSensorTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/tools/Tool") diff --git a/plugin/openstudio/lib/tools/NewGroupTool.rb b/plugin/openstudio/lib/tools/NewGroupTool.rb index 1e9842d..45b40a2 100644 --- a/plugin/openstudio/lib/tools/NewGroupTool.rb +++ b/plugin/openstudio/lib/tools/NewGroupTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/tools/Tool") diff --git a/plugin/openstudio/lib/tools/NewIlluminanceMapTool.rb b/plugin/openstudio/lib/tools/NewIlluminanceMapTool.rb index e25f3b0..371d7e4 100644 --- a/plugin/openstudio/lib/tools/NewIlluminanceMapTool.rb +++ b/plugin/openstudio/lib/tools/NewIlluminanceMapTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/tools/Tool") diff --git a/plugin/openstudio/lib/tools/NewInteriorPartitionSurfaceGroupTool.rb b/plugin/openstudio/lib/tools/NewInteriorPartitionSurfaceGroupTool.rb index 09eda53..5ec1ecb 100644 --- a/plugin/openstudio/lib/tools/NewInteriorPartitionSurfaceGroupTool.rb +++ b/plugin/openstudio/lib/tools/NewInteriorPartitionSurfaceGroupTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/InteriorPartitionSurfaceGroup") diff --git a/plugin/openstudio/lib/tools/NewLuminaireTool.rb b/plugin/openstudio/lib/tools/NewLuminaireTool.rb index fdfdf18..8d5a44c 100644 --- a/plugin/openstudio/lib/tools/NewLuminaireTool.rb +++ b/plugin/openstudio/lib/tools/NewLuminaireTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/tools/Tool") diff --git a/plugin/openstudio/lib/tools/NewShadingSurfaceGroupTool.rb b/plugin/openstudio/lib/tools/NewShadingSurfaceGroupTool.rb index 749a61c..8ae2055 100644 --- a/plugin/openstudio/lib/tools/NewShadingSurfaceGroupTool.rb +++ b/plugin/openstudio/lib/tools/NewShadingSurfaceGroupTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/ShadingSurfaceGroup") diff --git a/plugin/openstudio/lib/tools/NewSpaceTool.rb b/plugin/openstudio/lib/tools/NewSpaceTool.rb index f311c89..e30f043 100644 --- a/plugin/openstudio/lib/tools/NewSpaceTool.rb +++ b/plugin/openstudio/lib/tools/NewSpaceTool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/interfaces/Space") diff --git a/plugin/openstudio/lib/tools/Tool.rb b/plugin/openstudio/lib/tools/Tool.rb index d6f98b1..722c621 100644 --- a/plugin/openstudio/lib/tools/Tool.rb +++ b/plugin/openstudio/lib/tools/Tool.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/watchers/PluginModelObjectWatcher.rb b/plugin/openstudio/lib/watchers/PluginModelObjectWatcher.rb index 0aa6f0d..851634e 100644 --- a/plugin/openstudio/lib/watchers/PluginModelObjectWatcher.rb +++ b/plugin/openstudio/lib/watchers/PluginModelObjectWatcher.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/watchers/PluginModelWatcher.rb b/plugin/openstudio/lib/watchers/PluginModelWatcher.rb index d566249..15fc0b4 100644 --- a/plugin/openstudio/lib/watchers/PluginModelWatcher.rb +++ b/plugin/openstudio/lib/watchers/PluginModelWatcher.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/lib/watchers/PluginPathWatcher.rb b/plugin/openstudio/lib/watchers/PluginPathWatcher.rb index 4ff7bf6..0b7ca0a 100644 --- a/plugin/openstudio/lib/watchers/PluginPathWatcher.rb +++ b/plugin/openstudio/lib/watchers/PluginPathWatcher.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## @@ -37,7 +13,7 @@ module OpenStudio end PluginPathWatcher = Class.new(OpenStudio::OpenStudioPathWatcherClass) do - + def initialize(model_interface, path) super(path) diff --git a/plugin/openstudio/lib/watchers/RenderableModelObjectWatcher.rb b/plugin/openstudio/lib/watchers/RenderableModelObjectWatcher.rb index 10f3654..5b5c861 100644 --- a/plugin/openstudio/lib/watchers/RenderableModelObjectWatcher.rb +++ b/plugin/openstudio/lib/watchers/RenderableModelObjectWatcher.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/lib/watchers/PluginModelObjectWatcher") diff --git a/plugin/openstudio/mainpage.rb b/plugin/openstudio/mainpage.rb index 046ddac..d4b6430 100644 --- a/plugin/openstudio/mainpage.rb +++ b/plugin/openstudio/mainpage.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## ###################################################################### diff --git a/plugin/openstudio/sketchup/Geom.rb b/plugin/openstudio/sketchup/Geom.rb index 8fb13b3..1bbbb81 100644 --- a/plugin/openstudio/sketchup/Geom.rb +++ b/plugin/openstudio/sketchup/Geom.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio @@ -73,7 +49,7 @@ def self.point_on_line_segment?(point, line) end end - + # return a Geom::Transformation from a OpenStudio::Transformation def self.transformation_from_openstudio(t) os_array = t.vector @@ -93,7 +69,7 @@ def self.transformation_to_openstudio(t) os_array[15] = skp_array[15].to_f return OpenStudio::Transformation.new(os_array) end - + # This is a surrogate class for things I can't do directly with the regular Sketchup::Loop class. # The pure geometric analog of the Sketchup::Loop class. @@ -601,8 +577,8 @@ def self.point_in_polygon_loop(point, polygon_loop, include_border = false) else return(true) # Odd: According to Crossing Number Algorithm => inside of polygon end - - end + + end # check if a point is inside a polygon @@ -625,8 +601,8 @@ def self.point_in_polygon(point, polygon, include_border = false) end end - - + + # Crossing Number version # This version is computationally faster, but has problems with multiple vertices on a shared edge. # That's why I'm trying the Midpoint Test version @@ -701,8 +677,8 @@ def self.find_shared_line_segments_old(points1, points2) return(line_segments) end - - + + # Midpoint Test version # def self.find_shared_line_segments(polygon1, polygon2) @@ -889,8 +865,8 @@ def self.intersect_polygon_polygon(polygon1, polygon2) return(polygons) # an array of polygons end - - + + # the following are test methods which rely on the SketchUp API, they can be called manually @@ -952,7 +928,7 @@ def self.test_intersect def self.test_intersect_polygon_polygon - + polygon1 = Polygon.new( [ Point3d.new(0,0,0), Point3d.new(0,5,0), Point3d.new(5,5,0), Point3d.new(5,0,0) ] ) #points2 = [ Point3d.new(5,0,0), Point3d.new(5,5,0), Point3d.new(10,5,0), Point3d.new(10,0,0) ] diff --git a/plugin/openstudio/sketchup/Sketchup.rb b/plugin/openstudio/sketchup/Sketchup.rb index d54393f..4988bba 100644 --- a/plugin/openstudio/sketchup/Sketchup.rb +++ b/plugin/openstudio/sketchup/Sketchup.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require("openstudio/sketchup/Geom") @@ -114,7 +90,7 @@ def self.set_hsba(color, color_array) end return(color) end - + def self.get_openstudio_path(skp_model) return(skp_model.get_attribute('OpenStudio', 'OpenStudioPath')) end @@ -124,7 +100,7 @@ def self.set_openstudio_path(skp_model, path) skp_model.set_attribute('OpenStudio', 'OpenStudioPath', path) end - + def self.get_model_interface(skp_model) object = nil if (id_string = skp_model.get_attribute('OpenStudio', 'ModelInterface')) @@ -148,19 +124,19 @@ def self.set_model_interface(skp_model, object) skp_model.set_attribute('OpenStudio', 'ModelInterface', object.object_id.to_s) end - + def self.get_openstudio_entities(skp_model) result = [] skp_model.entities.each {|e| result << e if self.get_model_object_handle(e) } return result end - + def self.get_openstudio_materials(skp_model) result = [] skp_model.materials.each {|m| result << m if self.get_model_object_handle(m) } return result end - + def self.delete_openstudio_entities(skp_model) # DLM: for some reason there is no delete_attribute for SketchUp::Model # delete_attribute('OpenStudio') # deletes entire attribute dictionary @@ -168,7 +144,7 @@ def self.delete_openstudio_entities(skp_model) skp_model.set_attribute('OpenStudio', 'ModelInterface', nil) skp_model.entities.erase_entities(self.get_openstudio_entities(skp_model)) end - + # returns a string def self.get_model_object_handle(entity) return(entity.get_attribute('OpenStudio', 'Handle')) @@ -207,7 +183,7 @@ def self.set_drawing_interface(entity, object) entity.set_attribute('OpenStudio', 'DrawingInterface', object.object_id.to_s) end - + def self.get_polygon_loop(loop) points = [] loop.vertices.each do |vertex| @@ -218,7 +194,7 @@ def self.get_polygon_loop(loop) end return(OpenStudio::PolygonLoop.new(points)) end - + def self.get_outer_polygon(face) return(OpenStudio::Polygon.new(OpenStudio.get_polygon_loop(face.outer_loop))) end @@ -240,7 +216,7 @@ def self.face_contains_point?(face, point, include_border = false) def self.intersect_faces(face, other_face) return(OpenStudio.intersect_polygon_polygon(self.get_full_polygon(face), self.get_full_polygon(other_face))) # array of polygons end - + def self.get_time(shadow_info) # API bug: ShadowTime is returning the hour incorrectly in UTC/GMT time, but the time zone is (correctly) the local one. # Also year is ALWAYS 2002. @@ -266,7 +242,7 @@ def self.get_sunrise(shadow_info) def self.get_sunset(shadow_info) return(self.convert_to_utc(shadow_info['SunSet'])) end - + def self.get_north_angle(shadow_info) return(shadow_info['NorthAngle']) end diff --git a/plugin/openstudio/sketchup/UI.rb b/plugin/openstudio/sketchup/UI.rb index 33996b8..58fcbff 100644 --- a/plugin/openstudio/sketchup/UI.rb +++ b/plugin/openstudio/sketchup/UI.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/startup.rb b/plugin/openstudio/startup.rb index 01a7c33..6609497 100644 --- a/plugin/openstudio/startup.rb +++ b/plugin/openstudio/startup.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require 'extensions.rb' # defines the SketchupExtension class diff --git a/plugin/openstudio/test/PluginTemplates_Test.rb b/plugin/openstudio/test/PluginTemplates_Test.rb index ed84845..5130fd7 100644 --- a/plugin/openstudio/test/PluginTemplates_Test.rb +++ b/plugin/openstudio/test/PluginTemplates_Test.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require 'openstudio' diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_New_Thermal_Zone_For_Spaces_With_No_Thermal_Zone.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_New_Thermal_Zone_For_Spaces_With_No_Thermal_Zone.rb index 77b75e1..34ca07b 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_New_Thermal_Zone_For_Spaces_With_No_Thermal_Zone.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_New_Thermal_Zone_For_Spaces_With_No_Thermal_Zone.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Overhangs_by_Projection_Factor.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Overhangs_by_Projection_Factor.rb index 9e45cb5..c98c82e 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Overhangs_by_Projection_Factor.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Overhangs_by_Projection_Factor.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Photovoltaics.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Photovoltaics.rb index 4fb5280..287e3a6 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Photovoltaics.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Photovoltaics.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Shading_Controls.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Shading_Controls.rb index 5e9dc73..6c1eaa4 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Shading_Controls.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Add_Shading_Controls.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Assign_Building_Stories.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Assign_Building_Stories.rb index 6b9467d..ac0be8a 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Assign_Building_Stories.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Assign_Building_Stories.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Change_Shading_Type.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Change_Shading_Type.rb index 46044fc..7e9a297 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Change_Shading_Type.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Change_Shading_Type.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Cleanup_Origins.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Cleanup_Origins.rb index 9048a55..aa3702b 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Cleanup_Origins.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Cleanup_Origins.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Export_Selected_Space_To_New_File.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Export_Selected_Space_To_New_File.rb index 17f5dfc..5a704c3 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Export_Selected_Space_To_New_File.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Export_Selected_Space_To_New_File.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Import_Spaces_From_External_File.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Import_Spaces_From_External_File.rb index fcfd271..58be3ea 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Import_Spaces_From_External_File.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Import_Spaces_From_External_File.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Intersect_Space_Geometry.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Intersect_Space_Geometry.rb index 48cf2c4..99258d3 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Intersect_Space_Geometry.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Intersect_Space_Geometry.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Make_Selected_Surfaces_Adiabatic.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Make_Selected_Surfaces_Adiabatic.rb index 161b2a2..a2596f3 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Make_Selected_Surfaces_Adiabatic.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Make_Selected_Surfaces_Adiabatic.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Move_Selected_Surfaces_To_New_Space.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Move_Selected_Surfaces_To_New_Space.rb index 636282a..a992138 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Move_Selected_Surfaces_To_New_Space.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Move_Selected_Surfaces_To_New_Space.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Hard_Assigned_Constructions.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Hard_Assigned_Constructions.rb index 82fde5a..174b732 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Hard_Assigned_Constructions.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Hard_Assigned_Constructions.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Loads_Directly_Assigned_To_Spaces.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Loads_Directly_Assigned_To_Spaces.rb index 07c90b7..5162e8c 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Loads_Directly_Assigned_To_Spaces.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Loads_Directly_Assigned_To_Spaces.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Orphan_Photovoltaics.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Orphan_Photovoltaics.rb index 26f46ad..635470d 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Orphan_Photovoltaics.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Orphan_Photovoltaics.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Orphan_SubSurfaces.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Orphan_SubSurfaces.rb index b73d438..877277f 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Orphan_SubSurfaces.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Orphan_SubSurfaces.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Photovoltaics.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Photovoltaics.rb index a8f7156..18149be 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Photovoltaics.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Photovoltaics.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Unused_ThermalZones.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Unused_ThermalZones.rb index d8e5373..0ac4ffe 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Unused_ThermalZones.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Remove_Unused_ThermalZones.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Rename_ThermalZones_Based_On_Space_Names.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Rename_ThermalZones_Based_On_Space_Names.rb index 5f8210d..22bc8de 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Rename_ThermalZones_Based_On_Space_Names.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Rename_ThermalZones_Based_On_Space_Names.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Interior_Partition_Height_Above_Floor.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Interior_Partition_Height_Above_Floor.rb index ee45980..7c7ffe1 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Interior_Partition_Height_Above_Floor.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Interior_Partition_Height_Above_Floor.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Shading_Controls.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Shading_Controls.rb index 151b0c1..69be937 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Shading_Controls.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Shading_Controls.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_WindowProperty_FrameAndDivider.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_WindowProperty_FrameAndDivider.rb index 3571583..54224ea 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_WindowProperty_FrameAndDivider.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_WindowProperty_FrameAndDivider.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Window_to_Wall_Ratio.rb b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Window_to_Wall_Ratio.rb index 315e624..84d3596 100644 --- a/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Window_to_Wall_Ratio.rb +++ b/plugin/openstudio/user_scripts/Alter or Add Model Elements/Set_Window_to_Wall_Ratio.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Building Component Library/Get_BCL_Weather_File.rb b/plugin/openstudio/user_scripts/Building Component Library/Get_BCL_Weather_File.rb index 3778189..1dc0405 100644 --- a/plugin/openstudio/user_scripts/Building Component Library/Get_BCL_Weather_File.rb +++ b/plugin/openstudio/user_scripts/Building Component Library/Get_BCL_Weather_File.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_Courtyard_Floor_Plan.rb b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_Courtyard_Floor_Plan.rb index c93bf64..338c87f 100644 --- a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_Courtyard_Floor_Plan.rb +++ b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_Courtyard_Floor_Plan.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_H-Shape_Floor_Plan.rb b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_H-Shape_Floor_Plan.rb index 9af7412..64bc339 100644 --- a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_H-Shape_Floor_Plan.rb +++ b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_H-Shape_Floor_Plan.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_L-Shape_Floor_Plan.rb b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_L-Shape_Floor_Plan.rb index b22ec2b..ed0f535 100644 --- a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_L-Shape_Floor_Plan.rb +++ b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_L-Shape_Floor_Plan.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_Rectangular_Floor_Plan.rb b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_Rectangular_Floor_Plan.rb index d47a45a..3c4687d 100644 --- a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_Rectangular_Floor_Plan.rb +++ b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_Rectangular_Floor_Plan.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_T-Shape_Floor_Plan.rb b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_T-Shape_Floor_Plan.rb index 769ce61..866607e 100644 --- a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_T-Shape_Floor_Plan.rb +++ b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_T-Shape_Floor_Plan.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_U-Shape_Floor_Plan.rb b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_U-Shape_Floor_Plan.rb index b0ed2c5..b71bf82 100644 --- a/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_U-Shape_Floor_Plan.rb +++ b/plugin/openstudio/user_scripts/Create Standard Building Shapes/Set_U-Shape_Floor_Plan.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/On Demand Template Generators/SpaceTypeAndConstructionSetWizard.rb b/plugin/openstudio/user_scripts/On Demand Template Generators/SpaceTypeAndConstructionSetWizard.rb index dd4ba53..b3cdea2 100644 --- a/plugin/openstudio/user_scripts/On Demand Template Generators/SpaceTypeAndConstructionSetWizard.rb +++ b/plugin/openstudio/user_scripts/On Demand Template Generators/SpaceTypeAndConstructionSetWizard.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## require "#{File.dirname(__FILE__)}/resources/SpaceTypeGenerator" diff --git a/plugin/openstudio/user_scripts/On Demand Template Generators/resources/ConstructionSetGenerator.rb b/plugin/openstudio/user_scripts/On Demand Template Generators/resources/ConstructionSetGenerator.rb index e7e3fdf..ce87163 100644 --- a/plugin/openstudio/user_scripts/On Demand Template Generators/resources/ConstructionSetGenerator.rb +++ b/plugin/openstudio/user_scripts/On Demand Template Generators/resources/ConstructionSetGenerator.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## #require 'rubygems' diff --git a/plugin/openstudio/user_scripts/On Demand Template Generators/resources/OsLib_Constructions.rb b/plugin/openstudio/user_scripts/On Demand Template Generators/resources/OsLib_Constructions.rb index c0452fe..67032c0 100644 --- a/plugin/openstudio/user_scripts/On Demand Template Generators/resources/OsLib_Constructions.rb +++ b/plugin/openstudio/user_scripts/On Demand Template Generators/resources/OsLib_Constructions.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/On Demand Template Generators/resources/SpaceTypeGenerator.rb b/plugin/openstudio/user_scripts/On Demand Template Generators/resources/SpaceTypeGenerator.rb index 4af46ec..9df2799 100644 --- a/plugin/openstudio/user_scripts/On Demand Template Generators/resources/SpaceTypeGenerator.rb +++ b/plugin/openstudio/user_scripts/On Demand Template Generators/resources/SpaceTypeGenerator.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## #require 'rubygems' diff --git a/plugin/openstudio/user_scripts/Reports/Export_RPX_File.rb b/plugin/openstudio/user_scripts/Reports/Export_RPX_File.rb index 8f48c7d..53404ee 100644 --- a/plugin/openstudio/user_scripts/Reports/Export_RPX_File.rb +++ b/plugin/openstudio/user_scripts/Reports/Export_RPX_File.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Reports/OSM_Diagnostic_Script.rb b/plugin/openstudio/user_scripts/Reports/OSM_Diagnostic_Script.rb index 2ec7d56..230bfe8 100644 --- a/plugin/openstudio/user_scripts/Reports/OSM_Diagnostic_Script.rb +++ b/plugin/openstudio/user_scripts/Reports/OSM_Diagnostic_Script.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Reports/SpaceType_Report.rb b/plugin/openstudio/user_scripts/Reports/SpaceType_Report.rb index 3ffd0ea..4775d43 100644 --- a/plugin/openstudio/user_scripts/Reports/SpaceType_Report.rb +++ b/plugin/openstudio/user_scripts/Reports/SpaceType_Report.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Visualization/Find_Spaces_By_Space_Type.rb b/plugin/openstudio/user_scripts/Visualization/Find_Spaces_By_Space_Type.rb index 33f45c7..60654f4 100644 --- a/plugin/openstudio/user_scripts/Visualization/Find_Spaces_By_Space_Type.rb +++ b/plugin/openstudio/user_scripts/Visualization/Find_Spaces_By_Space_Type.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Visualization/Find_Spaces_By_Thermal_Zone.rb b/plugin/openstudio/user_scripts/Visualization/Find_Spaces_By_Thermal_Zone.rb index 54ae7c6..2f0d478 100644 --- a/plugin/openstudio/user_scripts/Visualization/Find_Spaces_By_Thermal_Zone.rb +++ b/plugin/openstudio/user_scripts/Visualization/Find_Spaces_By_Thermal_Zone.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Visualization/Hide_Manifold_Solid_Spaces.rb b/plugin/openstudio/user_scripts/Visualization/Hide_Manifold_Solid_Spaces.rb index 69cb19c..39643a7 100644 --- a/plugin/openstudio/user_scripts/Visualization/Hide_Manifold_Solid_Spaces.rb +++ b/plugin/openstudio/user_scripts/Visualization/Hide_Manifold_Solid_Spaces.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Visualization/Hide_Spaces_Included_In_Building_Area.rb b/plugin/openstudio/user_scripts/Visualization/Hide_Spaces_Included_In_Building_Area.rb index a89563b..ee51245 100644 --- a/plugin/openstudio/user_scripts/Visualization/Hide_Spaces_Included_In_Building_Area.rb +++ b/plugin/openstudio/user_scripts/Visualization/Hide_Spaces_Included_In_Building_Area.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio diff --git a/plugin/openstudio/user_scripts/Visualization/Make_SketchUp_Scene_For_Each_Building_Story_Floorplan.rb b/plugin/openstudio/user_scripts/Visualization/Make_SketchUp_Scene_For_Each_Building_Story_Floorplan.rb index 1be3fad..2b58486 100644 --- a/plugin/openstudio/user_scripts/Visualization/Make_SketchUp_Scene_For_Each_Building_Story_Floorplan.rb +++ b/plugin/openstudio/user_scripts/Visualization/Make_SketchUp_Scene_For_Each_Building_Story_Floorplan.rb @@ -1,30 +1,6 @@ ######################################################################################################################## -# OpenStudio(R), Copyright (c) 2008-2023, OpenStudio Coalition and other contributors. All rights reserved. -# -# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the -# following conditions are met: -# -# (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following -# disclaimer. -# -# (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following -# disclaimer in the documentation and/or other materials provided with the distribution. -# -# (3) Neither the name of the copyright holder nor the names of any contributors may be used to endorse or promote products -# derived from this software without specific prior written permission from the respective party. -# -# (4) Other than as required in clauses (1) and (2), distributions in any form of modifications or other derivative works -# may not use the "OpenStudio" trademark, "OS", "os", or any other confusingly similar designation without specific prior -# written permission from Alliance for Sustainable Energy, LLC. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) AND ANY CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, -# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S), ANY CONTRIBUTORS, THE UNITED STATES GOVERNMENT, OR THE UNITED -# STATES DEPARTMENT OF ENERGY, NOR ANY OF THEIR EMPLOYEES, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF -# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# OpenStudio(R), Copyright (c) OpenStudio Coalition and other contributors. +# See also https://openstudiocoalition.org/about/software_license/ ######################################################################################################################## module OpenStudio From 8259472f4cfca1eb0fa946b07575942479fe6c78 Mon Sep 17 00:00:00 2001 From: Dan Macumber Date: Sat, 7 Sep 2024 14:27:03 -0600 Subject: [PATCH 7/7] Filter out incompatible versions of OpenStudio Application --- plugin/openstudio/startup.rb | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/plugin/openstudio/startup.rb b/plugin/openstudio/startup.rb index 6609497..d3ee029 100644 --- a/plugin/openstudio/startup.rb +++ b/plugin/openstudio/startup.rb @@ -17,17 +17,35 @@ prompts = ["Path to OpenStudio Root Directory"] is_windows = (RbConfig::CONFIG['host_os'] =~ /mswin|mingw|cygwin/) + base_dir = nil if is_windows if sketchup_version >= 19 - defaults = Dir.glob('C:/openstudioapplication-*').sort.reverse + base_dir = 'C:/openstudioapplication-*' else - defaults = Dir.glob('C:/openstudio-2.*').sort.reverse + base_dir = 'C:/openstudio-2.*' end else if sketchup_version >= 19 - defaults = Dir.glob('/Applications/OpenStudioApplication-*').sort.reverse + base_dir = '/Applications/OpenStudioApplication-*' else - defaults = ['/Applications/OpenStudio-2*'] + base_dir = '/Applications/OpenStudio-2*' + end + end + + defaults = Dir.glob(base_dir).sort.reverse + if sketchup_version >= 19 + defaults.reject! do |file| + if md = /openstudioapplication-(\d+)\.(\d+)/i.match(file) + if sketchup_version >= 24 + # SketchUp 2024 requires OpenStudio Application 1.8.0 or higher + md[1].to_i == 1 and md[2].to_i < 8 + else + # SketchUp 2019-2023 requires OpenStudio Application 1.7.0 or lower + md[1].to_i > 1 or md[2].to_i > 7 + end + else + true + end end end