Thank you for the replies. I think what phildavies is referring to is the disable redraw in Rhinoscript, as you said visose. It is however important for the project that it is done in Grasshopper.
I tried both RhUtil.RhinoCurveBrepIntersect and using the IntersectSurface method on an OnLine. The 40 sec result was for the RhUtil.RhinoCurveBrepIntersect and the IntersectSurface method took between 200-300 msec depending on how i defined the domain of the OnLine. So i'm looking for alternatives. I thought about manually implementing some sort of intersecting mechanism, i found a paper on a method called "pruning" i think, but this is way over my head, and i don't even know if the results will be better than using the ones mentioned above. /Thomas On Apr 20, 5:10 pm, visose <[email protected]> wrote: > > However, I have found that it runs almost > > instantly if I minimize rhino after I start the script. > > Have you tried disabling redraw? > > You can also create intersections between curves and surfaces in > vb.net. > Here's one method using > "RhUtil":http://en.wiki.mcneel.com/default.aspx/McNeel/IntersectCommandVB > > Another method is using the member function ".IntersectSurface" for > OnLine or OnCurve. > Here's an example using ".IntersectCurve", which is very > similar:http://en.wiki.mcneel.com/default.aspx/McNeel/SdkIntersectCurves > > As i understand it, the first method uses the rhino intersect and the > second method uses openurbs. > > On Apr 20, 4:29 pm, phildavis17 <[email protected]> wrote: > > > > > I have been using a rhino script to do the same thing, but with meshes > > rather than surfaces. It seems to take roughly the same amount of > > time that you describe. However, I have found that it runs almost > > instantly if I minimize rhino after I start the script. I don't know > > why this is the case, and I don't know how implementable this would be > > for a script in GH, but I'd give it a shot.- Hide quoted text - > > - Show quoted text -
