Author Topic: Spiral Toolpath from Profile  (Read 31343 times)

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4622
    • View Profile
Spiral Toolpath from Profile
« on: January 25, 2016, 12:15:54 pm »
I thought, what if you could draw a profile shape with one polyline, then trurn that into a 3D spiral toolpath.

This is just a test, comments, suggestions please

1. Unzip the Helix_Test.dll into CamBam Plugins folder
2. Open the file Helix_Test.cb in CamBam
3. Select the polyline
4. In the plugins dropdown click on 'Helix'

Now draw your own profile shape and try it again.

The next thing to think about is how to generate toolpaths, roughing and finishing. ???

Edit: test dll file removed

« Last Edit: January 26, 2016, 13:45:15 pm by EddyCurrent »
Made in England

Offline klystron

  • Ewok
  • *
  • Posts: 36
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #1 on: January 25, 2016, 18:32:32 pm »
Hello  Eddy Current ,
very interesting plugin.
Yves.

Offline klystron

  • Ewok
  • *
  • Posts: 36
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #2 on: January 25, 2016, 19:14:03 pm »

Current eddy goodnight,
in the same configuration, can we set the turns?
Yves

Offline Garyhlucas

  • CNC Jedi
  • *****
  • Posts: 1391
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #3 on: January 25, 2016, 22:01:13 pm »
Eddy,
That is absolutely freaking awesome!  I have just designed some new housings where I need to cut internal grooves using a saw on an arbor.  I've been doing the tool paths in Rhino by sweeping a helix around a surface and getting the intersection. This will make it a lot easier.

Thanks for your efforts.
Gary H. Lucas

Have you read my blog?
 http://a-little-business.blogspot.com/

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4622
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #4 on: January 25, 2016, 22:19:38 pm »
Gary,
Thanks for your feedback, remember this is just a test of the plugin, I've not added a form yet to allow changes in resolution etc, or even thought about how to rough out the interior space.
« Last Edit: January 26, 2016, 09:50:38 am by EddyCurrent »
Made in England

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4622
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #5 on: January 25, 2016, 22:22:04 pm »

Current eddy goodnight,
in the same configuration, can we set the turns?
Yves

This is just a test of the plugin , all parameters that can be changed will be on a Windows Form in the final release.
Made in England

Offline dave benson

  • CNC Jedi
  • *****
  • Posts: 1386
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #6 on: January 25, 2016, 23:12:07 pm »
HI Eddy
I made some cool shapes with the plugin Good Idea.
If you want to generate the roughing tool paths hack on the paraboliod script.
Dave

Offline Bubba

  • CNC Jedi
  • *****
  • Posts: 3085
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #7 on: January 26, 2016, 01:50:49 am »
Hi Eddy, For some reason after converting your test polyline to an inch the helix plugin create this. It appears it is a helix but very loosely spaced. I don't see a option to adjust.. Thanks.
My 2ยข

Win10 (64 bit, CB(1.0)rc 1(64 bit) Mach3, ESS, G540, Endurance Laser.

Offline Garyhlucas

  • CNC Jedi
  • *****
  • Posts: 1391
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #8 on: January 26, 2016, 02:18:27 am »
Gary,
Thanks for your feedback, remember this is just a test of the plugin, I've not added a form yet to allow changes in resolution etc, or even thought about how to rough out the interior space.
To be honest the amount of feedback thus far is quite disappointing.

Eddy,
I am working with HDPE and PVC pipe sections, no interior to rough out. Allow me to adjust step over distance and we can do everything we need. We can also use it to cut the outside chamfer and a groove around the outside too. I was really surprised when you showed this.

Now if you really want to get creative instead of just sweeping around an axis, sweep the profile along a polyline path. That would make it useful for lots of shapes that are difficult to program now, except by using a 3D STL surface.
Gary H. Lucas

Have you read my blog?
 http://a-little-business.blogspot.com/

Offline tau

  • Storm Trooper
  • ***
  • Posts: 144
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #9 on: January 26, 2016, 07:54:13 am »
To be honest the amount of feedback thus far is quite disappointing.
Eddy,

You can be sure that everybody appreciates the efforts that you already put in extending CamBam's features!

I downloaded your test ballon and gave it a spin last night and i was hoping to be able to machine a flat circular pocket with it!

So unless there is another way of machining pockets with a helix path in CamBam, i'd find it useful for such an application to add a asymptotic run out to the circle boundary (hope you find my description useful?!).

But for now, your plugin is a great idea!

Cheers,  Tunc

Offline klystron

  • Ewok
  • *
  • Posts: 36
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #10 on: January 26, 2016, 10:03:27 am »
Hello Eddy ,
thereafter, it would be nice to parameterize the pitch of the spiral, if possible?
Yves.

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4622
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #11 on: January 26, 2016, 10:05:16 am »
Dave,
Thanks, I'll have a look at the paraboloid roughing code.

Bubba,
It's only a test at the moment, I will try to add a form today that allows some adjustment, thanks for the feedback.

Gary,
I think step over is going to be a function of the number of turns in the spiral, I'm hoping to get a form made today to allow adjustment.

Tau (et al)
I removed the line about about disappointing feedback this morning, I think I was at a brief low point last night, things seem brighter this morning.
Yes I understand what you mean about the asymptotic run out at the boundary.

Yves,
Yes that will be possible with the Windows Form I hope.





Made in England

Offline klystron

  • Ewok
  • *
  • Posts: 36
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #12 on: January 26, 2016, 10:26:38 am »
Hello again Eddy ,
rich idea that principle.
good day.
Yves.

Offline Garyhlucas

  • CNC Jedi
  • *****
  • Posts: 1391
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #13 on: January 26, 2016, 12:31:25 pm »
Eddy,
I said step over but what I was referring to was actually just adjusting the pitch. Step over of course would be useful but for our work not really necessary.
Gary H. Lucas

Have you read my blog?
 http://a-little-business.blogspot.com/

Offline EddyCurrent

  • CNC Jedi
  • *****
  • Posts: 4622
    • View Profile
Re: Spiral Toolpath from Profile
« Reply #14 on: January 26, 2016, 13:44:17 pm »
PLEASE DELETE the previous, Helix_Test.dll file from your plugins foldler first

Please try this next version.

Changes:

1. Name changed to 'Profile2Helix'
2. Added a form to change 'steps (line smoothness)' and 'z increment'
3. Added translation text
4. The value for 'z increment' detects which units you are using, mm/inches, and adjusts the default value.

'steps (line smoothness)' is the number of sides in the approximate circle drawn by the helix, you want to keep the value low, just enough for your purposes.

The value, 'z increment' is not exactly that. What the plugin does behind the scenes is to add a Pointlist to the
selected profile polyline using the 'Step Around Geometry' method and 'z increment' is the step distance.
Where the helix is vertical it equates to, Z Depth Increment, where the helix is horizontal it equates to Step Over.

« Last Edit: January 26, 2016, 13:51:22 pm by EddyCurrent »
Made in England