Author Topic: Toolpath from Surface  (Read 1411 times)

twinkie

  • Forum User
  • *
  • Posts: 6
    • View Profile
Toolpath from Surface
« on: February 01, 2022, 05:13:21 PM »
Hello,

I have two bamboo culms intersecting and I need one of the culms to be cut in an exact way so that it perfectly connects to the other one. I have an algorithm on Grasshopper which derives the intersection surface, however, I am not sure how to create a toolpath on KUKA prc from that surface, any ideas here?

I have attached a picture, the green part is the surface and the horizontal culm needs to be cut. The culms are hollow.

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 1361
    • View Profile
    • Robots in Architecture
Re: Toolpath from Surface
« Reply #1 on: February 01, 2022, 06:00:51 PM »
Hello,

I don't exactly see from the picture what you want to mill, but does that example file help you somehow?
If not it would be great if you could attach a 3DM file that shows clearly what you want to cut!

Best,
Johannes

twinkie

  • Forum User
  • *
  • Posts: 6
    • View Profile
Re: Toolpath from Surface
« Reply #2 on: February 01, 2022, 06:24:35 PM »
Hello,

So I isolated only the culm that needs to be cut so that you have a better view. The whole culm needs to be cut at exactly that location and the cut needs to be in that shape as the green surface, hope that you have a better view.

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 1361
    • View Profile
    • Robots in Architecture
Re: Toolpath from Surface
« Reply #3 on: February 01, 2022, 06:26:27 PM »
So the element is a pipe? In that case you could just use the tool's flank to cut the surface very rapidly!
You will just have the position it in a clever way so that your robot can cut a 360 degree rotation.

Best,
Johannes

twinkie

  • Forum User
  • *
  • Posts: 6
    • View Profile
Re: Toolpath from Surface
« Reply #4 on: February 01, 2022, 06:45:46 PM »
Hello Johannes,

Yes, we can consider it it as a pipe, however, my idea is that the green surface is not linear and I am not sure how to create a toolpath for the robot on KUKA|prc from that surface.

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 1361
    • View Profile
    • Robots in Architecture
Re: Toolpath from Surface
« Reply #5 on: February 01, 2022, 10:05:51 PM »
Well, here is a 10-minute try I gave it, hope that helps!
Best,
Johannes

twinkie

  • Forum User
  • *
  • Posts: 6
    • View Profile
Re: Toolpath from Surface
« Reply #6 on: February 02, 2022, 04:06:53 PM »
Hello Johannes,

This is actually really useful, thank you <3. I will have to spend a lot of time studying it but I really appreciate your help.

Have a nice day!

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 1361
    • View Profile
    • Robots in Architecture
Re: Toolpath from Surface
« Reply #7 on: February 02, 2022, 04:10:52 PM »
Excellent, all the best!

twinkie

  • Forum User
  • *
  • Posts: 6
    • View Profile
Re: Toolpath from Surface
« Reply #8 on: February 27, 2022, 04:07:36 PM »
Hello Johannes,

Working on the file you sent me, I tried my best to study it and ended up with this: I have uploaded my rhino model and my grasshopper file.

To provide some explanations on the files. The model in rhino has two tubes. The horizontal one has inner and outer surface and the vertical one has outer surface. Using grasshopper I derived the intersecting surface (going to call it reference surface) which in the grasshopper file is the black group. What I want is to cut the horizontal tube's inner and outer surface (going to call it just tube from now on) using the reference surface with the elite spindle.

I rotated both the tube and the reference surface so that both of them stand vertically. Afterwards, I tried implementing your grasshopper. The red group is where I started using your grasshopper with small modifications so that I try to make it work for me. However, I am still unable to make it work as both the Tween Curve and Vector 2Pt commands do not work as expected.

I will really appreciate some help here <3

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 1361
    • View Profile
    • Robots in Architecture
Re: Toolpath from Surface
« Reply #9 on: February 28, 2022, 08:06:54 AM »
Hello,

Could you put in some more annotations or sketches what you would like to achieve?
From the current file it's not fully clear to me where specifically you need some assistance.

Thanks!
Johannes

twinkie

  • Forum User
  • *
  • Posts: 6
    • View Profile
Re: Toolpath from Surface
« Reply #10 on: March 01, 2022, 11:58:19 AM »
Hello Johannes,

I created some pictures so that I can more clearly express my idea, please let me know if I need to clarify something else. I placed the pictures in an archive as they are 6. Here I will provide some more explanations for each picture.

1. Shows the two intersecting tubes
2. Shows specifications of the horizontal tube
3. Shows specifications of the vertical tube
4. Shows the place where the two tubes intersect and an intersection surface needs to be derived
5. In green is the intersection surface which in the grasshopper is a group shaded in black.
6. The horizontal tube and the intersection surface are rotated vertically so that a kuka robot can be used to cut the tube at the location of the intersection surface.

My idea is to use the intersection surface and cut the horizontal tube using kuka so that a perfect connection can be made between the two tubes.

Johannes @ Robots in Architecture

  • Lead Developer
  • Administrator
  • Forum User
  • *****
  • Posts: 1361
    • View Profile
    • Robots in Architecture
Re: Toolpath from Surface
« Reply #11 on: March 01, 2022, 02:52:01 PM »
Hello,

Here are some pointers: You don't have one nice surface, but your "ring" consists of several surfaces. I have therefore joined the edge curves and for the interior sections joined the surfaces into a BRep. It was then easier for me to get the normals from a mesh instead.
Finally, make sure to adjust the scale. You seem to be working in meters while the robot always uses millimeters. Ideally keep everything in-scale, rather than scaling afterwards.

Best,
Johannes