Array and align curves along a list of breps?

I’ve searched the forum, but I don’t think I’m asking the right question… I’ve attached a simplified Rhino file version of what it is I’m trying to do.

  1. I have an extruded curve normal to the surface of a sphere (grown on the surface of).

  2. I’d like to create a V-channel which follows the maze-like line of extruded curves…

  3. I cannot fathom how to orient the V-curve perpendicular to the first edge of each brep.

I’m still in the process of understanding lists, some YouTube videos have been helpful but I’ve not been able to extrapolate the specifics for this simple problem.

Regarding trimming, I thought I’d scale the breps from the area centroid and trim them between two surfaces and then trim the connection between each connecting face by hand.

Any help would be greatly appreciated!

Andy

Align and extrude.3dm (130.1 KB)

Unable to open R7 file, can you ‘File | Save as’ R6?

You can achieve what you want using Sweep 1


Sweep1_reV1.gh (10.1 KB)

1 Like

Hi HS_Kim,

Thank you for the response, the content is really helpful! Apologies, I should have provided more information. The idea is that the groove is normal to the surface of a sphere I’m working on.

@Joseph_Oster I’ve set the info within grasshopper so there are no legacy issues, thanks for the response.

3D Path V1.gh (427.7 KB)


3D Path V1_re.gh (433.2 KB)

1 Like

Your Brep - sphere is not internalized so I created a sphere using the distance from origin to start point as radius.

3D Path V1

Then I used Surface Closest Point and Evaluate Surface to properly orient the ‘V’ polyline, but that’s only at the start of the curve so fails to sweep properly. So I used discontinuity points on the curve instead of only the start point to get many sections…

I guess @HS_Kim got the answer first.

1 Like

Wow! That was quick. That’s exactly what I need - I knew it would require lists, just wasn’t sure how to appraoch it.

Thank you very much, I’ll spend some time going over it.

Andy :slight_smile:

I think that migt be as it was done in version 7? It was internalised. I’ve noted that if I back save a V7 as V5 and try and open it directly in something like Keyshot 10 I it doesn’t work. I have to open in in Rhino 5 and save it for it to work.

Thanks for all your help

R7 vs. R6 affects only the .3dm file, not GH eh?

I actually had it but didn’t see it because it was obscured by the sphere and Brep on surface (which I didn’t use). Also, the ‘Data 1’ slider value was set too high, I reduced it to 4 to match @HS_Kim’s model.

I see some overlaps and places (only one?) where the sweep falls apart and doesn’t behave well but it works better than I expected with only one station curve.


3D Path V1_2021Jan20a.gh (437.8 KB)

P.S. Four results instead of one:

3D Path V1_2021Jan20a2

And because your Crv on surface is a polyline with straight segments, the width of the ‘V’ groove varies as it intersects the sphere.


3D Path V1_2021Jan20b.gh (438.4 KB)

1 Like

Pulling the segmented Crv on surface to the sphere causes Sweep1 to break, yielding 433 results instead of four (or better yet, one) and SDiff to run very slowly.

Using Discontinuity points for IntCrv looked promising at first but Pull left a huge gap that contributed to poor results.


3D Path V1_2021Jan20d.gh (441.1 KB)

Hi Joseph,

Sorry for the late reply, I’ve been away from my computer for a few days. Pulling the curve to the surface also creates lots of smaller segments, this makes a mess of the Brep on surface walls, some become triangulated and resulting vertical edges not perpendicular to the sphere.

I found that making the extruded wall deeper than the surface of the sphere and intersecting with the sphere gave better results than pull. Then I exploded the resulting curves and rebuilt them with fewer, evenly distributed points - this seemed to solve the problem of the faceted grooves.

Thanks

Andy

11 DAYS LATER

1 Like

I didn’t realise I was being timed? :slightly_smiling_face:

HS_Kim posted the solution which worked really well, thanks for your contribution though!

You received prompt replies to your initial post, yet didn’t bother to acknowledge them for 11 days.

I responded promplty - 12 days ago… It’s 12:49 here in the UK and 04:49AM in Oregon - are you OK?

On ignore for you bud!

1 Like