GithubHelp home page GithubHelp logo

openstudiocoalition / openstudio-sketchup-plugin Goto Github PK

View Code? Open in Web Editor NEW
40.0 27.0 8.0 4.35 MB

The OpenStudio SketchUp Plug-in is an extension to Trimble’s popular 3D modeling tool that adds OpenStudio context to the SketchUp program.

Home Page: https://openstudiocoalition.org

License: Other

Ruby 97.18% HTML 1.93% CSS 0.04% JavaScript 0.85%
sketchup openstudio-coalition openstudio-sdk ruby energyplus openstudio hacktoberfest

openstudio-sketchup-plugin's Introduction

Important!

After the v1.0.0 final NREL software distribution (04/27/2020), the OpenStudio SketchUp Plug-in is now independently supported and maintained with open source contributions by The OpenStudio Coalition and members of the software community at the GitHub repository https://github.com/openstudiocoalition/openstudio-sketchup-plugin. The NREL OpenStudio SketchUp Plug-in repository no longer accepts new issues or pull requests. Please submit new issues or enhancement requests in the new OpenStudio Coalition repository at https://github.com/openstudiocoalition/openstudio-sketchup-plugin/issues.

The OpenStudio SketchUp Plug-in depends on the OpenStudio Application, follow the instructions at https://openstudiocoalition.org/getting_started/getting_started/ to install the OpenStudio Application first and then install the OpenStudio SketchUp Plug-in. After installing a new version of the OpenStudio Application, the OpenStudio SketchUp Plug-in can be configured to use the new OpenStudio Application version by pointing to the new installation directory using the OpenStudio SketchUp Plug-in's Preferences menu. The OpenStudio SketchUp Plug-in version compatibility-matrix details the versions of SketchUp, OpenStudio Application, and OpenStudio SketchUp Plug-in that are compatible with each other.

OpenStudio SketchUp Plug-in

The OpenStudio SketchUp Plug-in is an extension to Trimble’s popular 3D modeling tool that adds OpenStudio context to the SketchUp program. The Plug-in allows users to quickly create geometry needed for OpenStudio using the built-in functionality of Trimble SketchUp including existing drawing tools, integration with Google Earth, Building Maker, and Photo Match.

openstudio-sketchup-plugin's People

Contributors

axelstudios avatar brianlball avatar davidgoldwasser avatar github-actions[bot] avatar jmarrec avatar kbenne avatar macumber avatar ski90moo avatar tijcolem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openstudio-sketchup-plugin's Issues

Clean up dialogs and menus

  • Add reset OpenStudio Application Directory (requires restart)
  • Update About
  • Update Help
  • Update Preferences
  • Update Preferences->Check for Update
  • Add Preferences->OpenStudio App Dir
  • Remove Preferences->Text Editor Path
  • Remove Preferences->EnergyPlus Path
  • Remove Preferences->Template

OpenStudio Inspector does not recognize Imported EnergyPlus Idf Constructions and Schedules

There are 2 features involved here. To access them:

  • Extensions/OpenStudio/Import/Import EnergyPlus Idf Constructions
  • Extensions/OpenStudio/Import/Import EnergyPlus Idf Schedules

After importing Constructions and Schedules from EnergyPlus Idfs, the number of OS:DefaultConstructionSet and OS:DefaultScheduleSet within the OpenStudio Inspector does not increase.

This issue is present within the Mac and Windows versions of the Plugin.

Check For Updates Functionality Does Not Execute

The Check For Updates feature should return a dialogue box that reveals if there is/isn't a new update. To access this feature: Extensions/OpenStudio/Check For Update. Nothing happens after one clicks Check For Update. This issue is present within both the Windows and Mac Versions of the Plugin.

"Link OSM and SketchUp File" Functionality Failure

The SketchUp Plug-in Interface Guide describes an avenue to link a SketchUp File with its OSM counterpart. To do this, save the (opened) OpenStudio Model, then save the SketchUp Model. To test the functionality, close Sketchup, find the SketchUp Model, and double click to open it.

After SketchUp launches, the User receives an error message that reads, "Removing previously linked OpenStudio content". I also noticed that, when I launch the SketchUp App by opening a SketchUp Model, the Extensions Menu (which is associated with the Plugin) does not load with SketchUp.

This issue is present within the Mac and Windows versions of the Plugin.

OpenStudio Inspector does not recognised a "copied and pasted" Glare Sensor

In order to create a new object, a User can typically copy and paste an existing object. When an existing Glare Sensor is copied and pasted, the resulting new Glare Sensor is not recognized by the OpenStudio Inspector. The resulting error message reads, "Unknown object of type OpenStudio::GlareSensor added". This issue is present within both the Windows and Mac versions of the Plugin.

On scanning the OpenStudio Inspector, I realized that the name of the object type for a Glare Sensor is OpenStudio:Glare:Sensor. This contradicts the name of the object type for a pasted Glare Sensor, OpenStudio::GlareSensor. The location of the second colon within both names differ. I believe this discrepancy triggers this error.

SketchUp RuntimeError: bad_weak_ptr

I've experienced the following error in the OS 2.6.0 and 2.8.0 SketchUp plugin with SketchUp 2018. The error occurs after importing a DXF into SU and before creating OpenStudio geometry.

SketchUp 2018.skp.txt

Error: #<RuntimeError: bad_weak_ptr>
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/RenderingColor.rb:197:in `rebuildInspectorGadget'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/RenderingColor.rb:197:in `update_entity'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/DrawingInterface.rb:173:in `draw_entity'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/ModelInterface.rb:944:in `block in attach_openstudio_model'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/ModelInterface.rb:942:in `each'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/ModelInterface.rb:942:in `each_with_index'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/interfaces/ModelInterface.rb:942:in `attach_openstudio_model'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/ModelManager.rb:227:in `attach_openstudio_model'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/ModelManager.rb:177:in `open_openstudio'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/ModelManager.rb:142:in `new_from_path'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/ModelManager.rb:117:in `new_from_skp_model'
C:/openstudio-2.8.0/SketchUpPlugin/openstudio/sketchup_plugin/lib/observers/AppObserver.rb:63:in `onOpenModel'

The source code in the latest release rbz file is not the source code for that release

If you cross check the rbz contents with the zip contents from the same release, you will find they are very different. It is almost like an old rbz file was uploaded. I noticed this when attempting to use the "Create spaces from diagram" dialog, and eventually figuring out that old source code is being use, in particular source code that was attempting to reference "Sketchup::Face" constant, but instead was referencing "Face" causing the constant to resolve to the "OpenStudio" module and therefore not be found. See SpaceDiagramInterface.rb for an example of discrepancies between the rbz contents and the zip/master source contents.

OpenStudio plugin crashes Sketchup on Mac

Hi guys,

I installed Sketchup Studio 2019 and followed the installation steps here for installing the Openstudio plugin. However, when I click ok on the dialog box that appears for Openstudio Root that is automatically populated with /Applications/OpenStudioApplication-1.1.0, Sketchup crashes every single time, and the BugsplatReporter window shows up instead.
Screen Shot 2020-11-15 at 7 02 05 PM

Here's how my Application folder looks like:

$ ls /Applications/                            
Autodesk			Microsoft Excel.app		Microsoft Teams.app		OpenStudioApp			SketchUp 2019			Utilities
GarageBand.app			Microsoft OneNote.app		Microsoft Word.app		OpenStudioApplication-1.1.0	Skype.app			WhatsApp.app
Honey.app			Microsoft Outlook.app		Numbers.app			Pages.app			Slack.app			iMovie.app
Keynote.app			Microsoft PowerPoint.app	OneDrive.app			Safari.app			Spotify.app			zoom.us.app

How do I debug why I can't get the extension to load up?

Additional information:
OS: macOS Catalina
Sketchup version: tried it with both 2019 and 2020 with the same result

OS SketchUp Plug-in’s Luminaire Tool

The OS SketchUp Plug-in’s Luminaire Tool functionality is no longer working when using the toolbar and this appears to be deliberate as the ability to create load “definitions” (people/lights/equipment) was removed from the SketchUp Plugin.

This may have been forgotten to remove from the toolbar? If so, it can be safely removed.

MisMatch of Vertices for Surface-Matched Surfaces

This vertex mismatch error is very common where matched surfaces are comprised of more that four vertices:

** Severe ** RoofCeiling:Detailed="SURFACE ???", Vertex size mismatch between base surface :SURFACE ??? and outside boundary surface: SURFACE ???

I suspect Sketchup defines a surface not just based on its component vertices, but also shared vertices. So, for example, if two surfaces have a shared vertex, only one of the surfaces will have that vertex in its definition. The other surface will be missing the vertex in it's definition.

Here is a detailed video of the problem and work-around I developed to resolve the issue: https://1drv.ms/v/s!AseQmgZxffwzgbN01VYhYjiIjfhXaQ?e=62GZTC

OpenStudio Inspector does not support Imported Space Loads

The OpenStudio Inspector does not support Space Loads. Hence, a User cannot access imported Space Loads (Extensions/OpenStudio/Import/Import Space Loads). The issue is present within both the Mac and Windows versions of the Plugin.

Will this feature be removed from menu options, or will the OpenStudio Inspector be updated to support Space Loads?

Error Message - "Failed to import SDD file"

The Import SDD Model feature fails. To access this feature: Extensions/OpenStudio/Import/Import SDD Model. This issue is present within the Mac and Windows versions of the Plugin.

Model does not display in SketchUp

Model provided by @eringold (in issues repo) does not display in SketchUp when loaded. Double clicking spaces in the inspector causes the geometry to be shown. My guess is something is crashing silently when opening the file so that the sketchup entities are not created

No Hover Data Returned For OpenStudio Tools bar Icons

Hovering over icons on tool bars typically reveals the corresponding names of each icon. This is not the case for the OpenStudio Tools bar icons. This issue is only present within the Mac Version of the Plugin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.