Closed kronz closed 10 years ago
More details on API: Face class got in r2014 Intersect(Face^ face, [Out] Curve^% result) method. Only one curve is returning even if intersection has more curves (like in case of plane intersecting cylinder while parallel to its axis).
Needs testing for plane intersecting sphere: is full circle returned or first half-circle?
Probably node needs explanation on this complication, not sure how.
Also should request be filed for getting List of intersecting curves between 2 faces in API?
Lev, The node is in there. I also added a test model. You're right we should test those other cases. Not sure why the API would only return one curve for intersection but that's what it says :) I'm closing the issue though because the node is now available.
I see it now after pull, Ian. You just added the node. The API method however will fail for 2 or more intersection curves, as the utility API based on is from old code used for dormer opening. We might consider improving it. Plus node does not use reflection, so will not build for r2013. Are we still supporting it?
may I ask the name of this node, or where can i get it? I need this function for daily use, thanks a lot.
Use Geometry.Intersect
thanks for your help
API to derive a curve from a 2 surface intersections was added to Revit 2014. We need a node: Inputs: Surface 1, Surface 2 Output: Curve