Export to open studio not working. receiving error:cannot create a surface with vertices

I was following a tutorial online to perform an energy simulation however it used an old version of honeybee/ladybug where the simulator automatically generated an .idf file to send to energyplus (i think). I have installed openstudio however this is the complete error i receive:

Solution exception:C:\Git\OS\openstudiocore\src\model\PlanarSurface.cpp@644 : Cannot create a surface with vertices [[-0.0199062, -0.010716, 0.003], [-0.0199062, -0.010716, 0], [-0.0159062, -0.010716, 0], [-0.0159062, -0.010716, 0.003]]

I have uploaded my file below so whoever can see the error

PROJECT.zip (607.4 KB)

1 Like

I also checked your model. It ran without any fatal errors. please check if the unit in rhino is Meters. You can check this by typing Units in the command line of Rhino.

4 Likes

Hmm okay, I have not changed the units so it could be currently working in millimeters. I don’t have rhino/grasshopper available at home so will check in the morning.

But you think this could cause that error?

bobby

1 Like

Hello @oscar.perkins, It appears that you’re missing an avatar! Please set it up in your profile! Thanks. :slight_smile:

Goodmorning,

I think to have the same problem:

  1. Solution exception:C:\Git\OS\openstudiocore\src\model\PlanarSurface.cpp@644 : Cannot create a surface with vertices [[-261.589, 185.283, -6.43199e-013], [-261.589, 188.308, -1.2864e-012]]

Rhino is in meters.

I can’t upload files, so there is the WeTransfer link: https://we.tl/t-xdum3CIkJF
to show you the script. Any ideas?

Lots of thanks,
Sonia

1 Like

Looks that this is a 2 point only situation. From 2 points you can’t create a surface.
-A.

@oscar.perkins and @SoniaPorpiglia The solution stated by @devang works. It is due to mismatch in units. Go to Rhino change the units to ‘meters’. Then open grasshopper and open the .gh file. It solves the problem. I think am certain because I had the same issue today. If anyone has the same issue you may try this. Thanks

1 Like

not working pls help