generative modeling for Rhino
Tags:
Permalink Reply by Hannes Löschke on March 13, 2012 at 5:44am Don't see any points going on in your images.
Do you mean, you want to cull items, that intersect your surface(region)?
Permalink Reply by Marie Kristensen on March 13, 2012 at 5:51am
Permalink Reply by Hannes Löschke on March 13, 2012 at 5:58am Two ideas:
1) extrude the surface to a closed BRep (extrude + cap) and use the Inside componnent
2) calculate SrfClosestPoints points that have a distance near 0.0 (don't check for 0.0 because of document tolerance) are inside or very close to the surface.
use the output as pattern to cull from the list of points.
Permalink Reply by Marie Kristensen on March 13, 2012 at 6:18am The Inside componnent does it remove/delete the point? Or what function does it have? Bacause when I put my value in B and P nothing happens.

It only tells you whether a point is inside the shape or not. You then have to take that True/False information and use it to cull your original points.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by Marie Kristensen on March 13, 2012 at 6:39am Now I have found the point in the surface with Cull function, but how can I delete the building on the point? The cull list gives one coordinate (the point in the surface) and I don’t know how to get it in to my system, so the building is deleted?
Permalink Reply by Marie Kristensen on March 13, 2012 at 9:20am Yes, but it is a little messy. I'm sorry :s I hope you can understand it. I want to delete the buildings that is in the surface, and I have found the point/points in the surface.
Permalink Reply by Nick on March 13, 2012 at 11:11am Ok Marie, here's what I suggest.
I would suggest using a containment component (found under analysis in curve menu).
The input P is your building control points and the C input is your curve (in this case the circle).
The output R generates a list of integer: 0 if point is coincident, 1 if point is on the curve and 2 if point is outside the curve region.
Using this, you could cull (cull pattern component) all buildings (connecting the building breps to the L input) according to if their are smaller (math/operators/smaller then) or equal to 1 by connecting the output of this component to the P input of the cull component.
Permalink Reply by Hannes Löschke on March 13, 2012 at 10:35am As David said, Inside tells whether a point is inside a BRep.
Cull actually selects and returns the all the points that correspond to "true" in the pattern. So it returns all points inside. You want the inverse to happen.
Boolean values can be inverted with the GateNOT. Every true becomes a false and the other way around.
Now Cull will return not what was inside, but what was outside the BRep.
Permalink Reply by Hannes Löschke on March 13, 2012 at 10:38am btw.: I always get confused by the cull component. My first encounter with the word was with "backface culling"... which actually does the inverse. It removes backfacing faces. :)
Permalink Reply by Marie Kristensen on March 13, 2012 at 12:05pm Thank you all for you answers! I think it works now :)
Added by Mgeorgio 0 Comments 0 Likes
Added by Mgeorgio 0 Comments 0 Likes
© 2013 Created by Scott Davidson.
Powered by