Grasshopper

algorithmic modeling for Rhino

Hello, I'm trying to place the small open curve on the larger closed curve by orienting the two endpoints on the line. Then the closed curve has to be trimmed at the end points, so that I can make a new closed curve. The small open curve doesn't necessarily need to be adjustable.

hopefully someone can help me out.

Views: 911

Attachments:

Replies to This Discussion

Hi Robert,
I gave it a try, see if it helps.
You'll have to avoid the closed curve's seam when placing your curves. The 'check' I added isn't full proof: you need to visually check you didn't stack the oriented curves on top of eachother... Also, I reparameterized the closed curve in this example, you might want to use the original domain for your case.

Attachments:

Hi Pieter,
Thanks for the fast answer! This is a great help for me. Only when I use this on a curve without any straight lines, only one endpoint stays on the curve(also happens in corner radius on your domain curve). I'm having a hard time to built in a tool that makes sure that both end points of my open curve stay on the domain curve at all times. can you explane how to do that? Thanks in advance.

I thought I could just skip the round edges (not sure why I thought that~), your example image didn't show a curve without any straight segments...
Are all curves planar? can your shape to orient be bent?
Please upload some more info Robert, preferably a (rhino) sketch. Something close to what you're actually after...;)

Hi Pieter,

The domain curves that I use are rebuild curves from a 3D pointcloud. Because the tolerance is small, I sometimes have to use very large radii in stead of a straight line. (That's why both end points always have to be on the curve)
The 3D measurements have to be checked with a wooden template(see picture). In this case it's a front window for a yacht. 3 mm MDF is curved on a frame made of 15 mm thick plywood. All the recesses that have to be made in the plywood (see picture) to slide the parts into each other, I'm trying to automate also with grasshopper in the future.

After I created the developed surface, I put on the small open curves (separator between glass and rebate). So the curve is always planar.

This is what I'm trying to do. Hope this clarifies something for you.

Attachments:

Now it's a bit clearer Robert:) So the straight lines I saw in the example weren't straight lines...aha. Here's what I'm thinking now.

Note: the attached definition uses the Flow component from Jackalope, by Dale Fugier. I think that bit could be resolved differently, but this is easiest.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service