Grasshopper

algorithmic modeling for Rhino

I made a wedge shape brep (in python) that intersects a grid of points.  I am using the inside component to test which points are included.  The results are just the opposite of what you would expect.  Points clearly outside the brep are labeled true and point inside are labeled false.  I baked the wedge and brought it back into GH and it works correctly? Not sure what the problem is?  I'm sure its the python script but it seams simple enough. Any help would be appreciated.  Thanks

Marshall   

Views: 782

Attachments:

Replies to This Discussion

What version of Grasshopper are you using?

The most recent: 0.8.0066

There was bug in gh that was producing insideout breps. I just wondered if this was the cause. Although you are creating your own, which way do the normals go.

Is that bug still unresolved? That seems to be the problem.  I thought capping a brep unified the normals in the right direction, but that didn't seem to happen. I can change the way I make the wedge so that its correct in this case but that issued should probably be resolved. Thanks for your help.       

Version 0.8.0063 had this in the update:

 Pipe would create inside/out breps, this is hopefully fixed.

EDIT: David returns on the 30th March so I cannot say if its the same thing or different. I would suggest you move this discussion to the bugs, errors and oversights area so it doesn't get lost in the VB C# activity. You can do this in the options button at the top of the discussion

Hi Marshall,

this was a Rhino.Python library issue that I just addressed in a commit. You can download the new version of surface.py from here:

https://raw.github.com/mcneel/rhinopython/master/scripts/rhinoscrip...

The rhinoscript.surface.CapPlanarHoles function will now flip the brep when necessary. Thanks,

- Giulio
________________
giulio@mcneel.com

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