Grasshopper

algorithmic modeling for Rhino

Hi all,

I am working in Grasshopper with the example THERM export workflow and when coming to step 3A) "Write the Polygons + Boundaries into a THERM XML File" I get the issue Solution exception:'Brep' object has no attribute 'DuplicateNakedEdgeCurves'. I've attached an image to show my problem. Am I simply overlooking something? How would I sort this problem out.

Thanks all.

Views: 632

Attachments:

Replies to This Discussion

I don't know enough about the component but DuplicateNakedEdgeCurves is a method for meshes and not breps. There should be a confusion between meshes and breps. I would send this question to Ladybug group (http://www.grasshopper3d.com/group/ladybug/forum) so Chris can get back to you.

Chris and Mostapha,

Thank you for posting the issue.  Chris, if you could post the GH file with the error, that will help me understand if this is an issue that is specific to your machine or one that I can replicate.

I can verify that DuplicateNakedEdgeCurves is a method for breps according to the Rhinocommon documentation:

http://4.rhino3d.com/5/rhinocommon/

However, from your comment, Mostapha, I am thinking that this could be a method similar to Brep.Vertices as opposed to Bre.DuplicateVertices (where we know the latter works on all machines but not the former).  If you have any other recommendations on how to do a similar operation with a different method, let me know.  Otherwise, I will try converting the brep to a mesh and using the same method as you suggest here.

-Chris

Chris,

I realized that I could be a bit more preemptive about this. Could you send me the readout of the readMe! on the component?

-Chris

I went home and attempted to run the therm example again on my own laptop which ended up being successful. I returned to work to attempt it again on their computers and I am still have issues. The read out of the readme! file is below:

Current working directory is set to: C:\Users\Matej.Culanic\AppData\Roaming\Ladybug\thermExample\THERM\
TypeError('Value cannot be null.\r\nParameter name: source',)
Failed to copy the object. Returning the original objects...
This can cause strange behaviour!
TypeError('Value cannot be null.\r\nParameter name: source',)
Failed to copy the object. Returning the original objects...
This can cause strange behaviour!
TypeError('Value cannot be null.\r\nParameter name: source',)
Failed to copy the object. Returning the original objects...
This can cause strange behaviour!
TypeError('Value cannot be null.\r\nParameter name: source',)
Failed to copy the object. Returning the original objects...
This can cause strange behaviour!
Runtime error (MissingMemberException): 'Brep' object has no attribute 'DuplicateNakedEdgeCurves'
Traceback:
line 238, in checkTheInputs, "<string>"
line 863, in script

Chris,

I am sorry for such a late reply.  This past week was very busy.

There seem to be a couple of issues on your office's machines.  First, I see that you are missing the copy library but I realized from Mostapha's comments in his code that this absence is a common situation: (https://github.com/mostaphaRoudsari/Honeybee/blob/63cfdc75bfa7d7815...). I just re-written the some of the functions in the component to get around this as Mostapha suggests in his code so you will hopefully not encounter that warning anymore.

As for the actual error that was stopping the export, I think that I have also found a work-around for the problem.  If you let me know whether the attached file works for you, I will make a change to the code base that will avoid this issue on your work machines.

-Chris

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service