So, dividing it into batches didn't help, and i ran into a wall with
the projection idea. But thanks for the ideas anyways.

I'm still looking into the "pruning" method, but i don't wanna spend
at least a week trying to implement it, if it doesn't result in
increased performance.



/Thomas

On Apr 21, 12:47 am, bildsoe <[email protected]> wrote:
> Actually just had an idea, perhaps i could use project instead, don't
> know if it is faster, but worth a try. Since all rays emittet is
> inside the room, all lines will intersect/project onto some surface.
>
> /Thomas
>
> On Apr 21, 12:44 am, bildsoe <[email protected]> wrote:
>
>
>
> > I'm doing acoustic indicators for use in architecture, so there are
> > quite a bit of irregular surfaces that cannot be substituted by
> > planes.
>
> > It's 200 per line, 40 sec total - i remember playing Quake II just the
> > same way :)
>
> > /Thomas
>
> > On Apr 20, 11:13 pm, visose <[email protected]> wrote:
>
> > > 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 -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -

Reply via email to