generative 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
Permalink Reply by Danny Boyes on March 25, 2012 at 1:33pm What version of Grasshopper are you using?
Permalink Reply by marshall prado on March 25, 2012 at 1:41pm The most recent: 0.8.0066
Permalink Reply by Danny Boyes on March 25, 2012 at 2:07pm 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.
Permalink Reply by marshall prado on March 25, 2012 at 2:49pm 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.
Permalink Reply by Danny Boyes on March 25, 2012 at 3:12pm 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
Permalink Reply by Giulio Piacentino on March 26, 2012 at 7:22am 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
© 2013 Created by Scott Davidson.
Powered by