586,062 active members*
4,574 visitors online*
Register for free
Login
Results 1 to 18 of 18
  1. #1
    Join Date
    May 2006
    Posts
    309

    Need g-code for 4 axis semi-spheres.

    I need a g-code program for making spheres on a rope with 4 axis milling or semi-spheres with 3 axis.
    Can anybody help me?

  2. #2
    Join Date
    Jul 2003
    Posts
    1220
    jaru-eri
    Is this the path with a 'A' rotation you require?
    Attached Thumbnails Attached Thumbnails RopeProfile.JPG  

  3. #3
    Join Date
    May 2006
    Posts
    309
    something like this with one or two spheres.
    Attached Thumbnails Attached Thumbnails sphere drawing.JPG  

  4. #4
    Join Date
    Jul 2003
    Posts
    1220
    I've never used or programed for a rotating axis.
    Would the code be something like this?????

    G01 X-100 Y0 Z5 A0
    G01 X-99 Y0 Z7 A360
    G01 X-98 Y0 Z9 A360

    The X and Z following the arc while the A axis rotates 360 deg. on each block??????
    Is 'A' the correct letter to use??
    If I can get the basics right, I will look into writing a generator.

  5. #5
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by jaru-eri View Post
    something like this with one or two spheres.
    If you can tolerate a small fillet where the sphere blends into the shaft between the spheres you can do this by helical interpolation in X and Y while the A axis rotates continuously; the Z axis would move from the OD of the original stock down to the OD of the shaft between the spheres

    The axis of the spindle has to be aligned with the A axis and (of course) with the center position of the sphere.
    An open mind is a virtue...so long as all the common sense has not leaked out.

  6. #6
    Join Date
    May 2006
    Posts
    309
    Quote Originally Posted by Kiwi View Post
    I've never used or programed for a rotating axis.
    Would the code be something like this?????

    G01 X-100 Y0 Z5 A0
    G01 X-99 Y0 Z7 A360
    G01 X-98 Y0 Z9 A360

    The X and Z following the arc while the A axis rotates 360 deg. on each block??????
    Is 'A' the correct letter to use??
    If I can get the basics right, I will look into writing a generator.
    I´m just a beginner in this game, so I don´t know what the best choice will be. Maybe it wil be better to let the x axis go the full length and rotate the a-axis step by step between each x movements? It depends on which axis which is best to maintain against wear and of course to keep the operation as silent as possible.

  7. #7
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by jaru-eri View Post
    I´m just a beginner in this game, so I don´t know what the best choice will be.....
    Read what I suggested, and wave your arms around or do some sketches until you understand what I am getting at. It will work and you do not need anything other than plain G-code. You may have to do a little experimenting to get sizes correct but that is all.
    An open mind is a virtue...so long as all the common sense has not leaked out.

  8. #8
    Join Date
    Jul 2003
    Posts
    1220
    Geof's idea sounds good but the cutter will need to have a larger overhang, so will need to be a larger diameter which will leave a bigger fillet.
    This could be re-machined with a smaller cutter.

    Quote Originally Posted by jaru-eri View Post
    Maybe it will be better to let the x axis go the full length and rotate the a-axis step by step between each x movements?
    This will leave larger cusps at the longer radius with excessive cutting on the shorter radius relative to the rotating axis.

  9. #9
    Join Date
    Jul 2005
    Posts
    12177
    Quote Originally Posted by Kiwi View Post
    Geof's idea sounds good but the cutter will need to have a larger overhang, so will need to be a larger diameter which will leave a bigger fillet.....
    The length of the can be less than the radius of the sphere, maybe considerably less because the curvature of the sphere provides clearance for the nose of the holder. This is why I say you interpolate X and Y and come down in Z with A rotating constantly.

    I have done thousands of partial spheres on manual machines using an inward facing fly-cutter rotating around the center of the sphere while the sphere was rotated under the cutter. The interpolation method I describe here is completely equivalent.

    Have a look at the pictures in Post #10 in this thread:
    http://www.cnczone.com/forums/showthread.php?t=35881
    An open mind is a virtue...so long as all the common sense has not leaked out.

  10. #10
    Join Date
    Jul 2003
    Posts
    1220
    jaru-eri
    What are the sphere and rope diameters.
    Also what material are you using, plastic, wood or metal?

  11. #11
    Join Date
    May 2006
    Posts
    309
    Quote Originally Posted by Kiwi View Post
    jaru-eri
    What are the sphere and rope diameters.
    Also what material are you using, plastic, wood or metal?
    Spheres 1" rope 3/8" I use wood.

  12. #12
    Join Date
    Jul 2003
    Posts
    1220
    jaru-eri
    Not sure if this is what you are wanting.
    Program attached which creates a stepped arc on the XZ plane with 'A' rotation.
    Attached Files Attached Files

  13. #13
    Join Date
    May 2006
    Posts
    309
    Quote Originally Posted by Kiwi View Post
    jaru-eri
    Not sure if this is what you are wanting.
    Program attached which creates a stepped arc on the XZ plane with 'A' rotation.
    Thankyou very much Kiwi. I will try out your programs. You have been to great help.

  14. #14
    Join Date
    May 2006
    Posts
    309
    Quote Originally Posted by Kiwi View Post
    jaru-eri
    Not sure if this is what you are wanting.
    Program attached which creates a stepped arc on the XZ plane with 'A' rotation.
    KIWI
    I´ve now tried this program. The problem is that it doesn´t generates any feedrates (there should be two feed options because the rotary axis moves slow).

    The other problem is that the A - destiny repeats itself to 360 and because of that it stops up. It should instead advance with 360 between each zx movement. Like 360 - 720 - 1080....

  15. #15
    Join Date
    Jul 2003
    Posts
    1220
    jaru-eri
    Modified version attached. To alter Feed Rate use Find and Replace in NotePad.
    I will add the feed rates as Inputs if required.
    Attached Files Attached Files

  16. #16
    Join Date
    May 2007
    Posts
    781
    Looks like a lathe part to me.

  17. #17
    Join Date
    May 2006
    Posts
    309
    Quote Originally Posted by Kiwi View Post
    jaru-eri
    Modified version attached. To alter Feed Rate use Find and Replace in NotePad.
    I will add the feed rates as Inputs if required.
    This file got a vbp extension. My computer ask me for a program to open it within. What shall I do?

  18. #18
    Join Date
    Jul 2003
    Posts
    1220
    jaru-eri
    Sorry sent the wrong file. I will replace the one posted on #15

Similar Threads

  1. Semi-rigid tapping on SX3
    By presslab in forum Syil Products
    Replies: 0
    Last Post: 02-22-2008, 08:22 PM
  2. Semi Automate a Spindle
    By racear*2865 in forum Stepper Motors / Drives
    Replies: 14
    Last Post: 08-02-2007, 06:35 PM
  3. Help me decide -- MTC Semi-Pro or Ez-Router
    By Hyrum R in forum Commercial CNC Wood Routers
    Replies: 16
    Last Post: 04-24-2007, 12:46 AM
  4. Looking for semi-cheap CAD software
    By Burn in forum Uncategorised CAM Discussion
    Replies: 16
    Last Post: 05-22-2006, 10:34 AM
  5. Semi-automatic oiler
    By ozzie34231 in forum MetalWork Discussion
    Replies: 2
    Last Post: 02-18-2006, 07:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •