Can the surfaces be substituted by planes? That will really speed up
the intersect, but since you have 1400 surfaces, i doubt you can
substitute them (planes have no boundary).

> 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.

200 msec per line or total?  If it's total, that's pretty much real-
time.
I remember playing Quake II with 200 msec ping (latency) before
broadband and i was able to deliver a fair amount of damage, of course
it required some really good predictions skills since you had to aim
where the other guy was going to be, not where he was.

On Apr 20, 10:04 pm, bildsoe <[email protected]> wrote:
> 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 -

Reply via email to