Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Jimmy Wakeford from Barefoot CNC

Resellers
  • Posts

    2,107
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Jimmy Wakeford from Barefoot CNC

  1. Mastercam 5ax definitely rocks at molds. One thing to keep in mind thought is that a lot of features on a mold are more efficiently ran as a 3+2 toolpath. I sometimes use a 5ax path in order to "tilt away" for clearance and also to get off the center of a ball cutter as well.

     

    Don't know if you guys have played with the new tilt away function or multi-ax roughing but here's a few vids. 

     

    https://www.youtube.com/watch?feature=player_embedded&v=PG-2F9Xnr3c

    https://www.youtube.com/watch?feature=player_embedded&v=vSNf7SOhj8Y

    https://www.youtube.com/watch?feature=player_embedded&v=vgk3UpAzRws

    • Like 2
  2. Had a customer call in today that was having problems with outputting manual entry comments. If the manul entry was posted by itself or first, then it would output. If it was after a toolpath operation it would not output. :headscratch:

     

    I tried with the default posts and had the same problem. After trying every trick I knew to try and get them to output I finally added this to the post to get manual entry to work properly:

     

    pcomment0$       #Comment from manual entry (must call pcomment2)
         pcomment2 #Required if doing boolean 'if' logic testing!
    

     

    HTH

  3. Here is a custom cycle I made for using heule tools to chamfer different depths:

     

    pmisc2$      # Canned Misc #2 Cycle 
    hole_cnt = 1
    p_get_cham
    n$,"(",*hole_cnt,")",e$
    n$,*x$,*y$,"(",*hole_cnt,")",e$
    chm_z = top_chm + chm_clr
    n$,"G0",*chm_z,e$
    chm_z = top_chm
    n$,"G1",*chm_z,pfr,e$
    chm_z = bot_chm - chm_clr
    n$,"G0",*chm_z,e$
    chm_z = bot_chm
    n$,"G1",*chm_z,e$
    chm_z = refht$
    n$,"G0",*chm_z,e$
    
    pmisc2_2$    # Canned Misc #2 Cycle 
    hole_cnt = hole_cnt + 1
    n$,*x$,*y$,"(",*hole_cnt,")",e$
    chm_z = top_chm + chm_clr
    n$,"G0",*chm_z,e$
    chm_z = top_chm
    n$,"G1",*chm_z,pfr,e$
    chm_z = bot_chm - chm_clr
    n$,"G0",*chm_z,e$
    chm_z = bot_chm
    n$,"G1",*chm_z,e$
    chm_z = refht$
    n$,"G0",*chm_z,e$
    
    
    
    chm_z : 0
    hole_cnt : 0
    chm_clr : 0
    top_chm : 0
    bot_ chm : 0
    fmt Z 1 chm_clr
    fmt Z 1 top_chm
    fmt Z 1 bot_chm
    fmt Z 1 chm_z
    fmt "HOLE="4 hole_cnt
    p_get_cham
    chm_clr = peck1$
    top_chm = dwell$
    bot_chm = shftdrl$
    #*chm_clr,*top_chm,*bot_chm,e$
    
    

     

    ...and the custom text:

    [misc2]
    1. "Custom Chamfer"
    2. "Feedrate"
    3. "Top Cham Z"
    4. "Initial height"
    5. "Reference height"
    6. "Depth"
    7. "cham clearance"
    8. ""
    9. ""
    10. ""
    11. "Bot Cham Z"
    

  4. You could find the length of the arc with something like this:

     

    #HomeMade variables
    arc_ratio : 0
    arc_length : 0
    
    pfind_arc_length        #Find arc_length by using sweep angle and radius
        arc_ratio = abs(sweep$) / 360                         # Find ratio from sweep angle / 360
        arc_length = ((arcrad$ * 2) * 3.14159)) * arc_ratio   # Find circumference of total cirlce then multiply by arc_ratio to get length
    

     

    I think this will work (as long as I got my variables right :) )

     

    Once you have the length you could add a ptimea post block for gcode$ = 2 or gcode$ = 3

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...