1. Hey guyz. Welcome to the All New Phlatforum!



    Sign Up and take a look around. There are so many awesome new features.

    The Phlatforum is a place we can all hang out and

    have fun sharing our RC adventures!

  2. Dismiss Notice

Pocket Face Tool produces G-Code counter clockwise (ccw)

Discussion in 'SketchUcam Bugs' started by xyz123, Jan 24, 2014.

  1. xyz123

    xyz123 New Member

    Offline
    Messages:
    2
    Trophy Points:
    1
    SketchUcam Version 1.1b
    SketchUp Version 7.1.6860

    Is there any way to use the Pocket Face Tool to generate G-Code clockwise instead of counter clockwise?
    - Overhead Gantry
    - Reversing Faces

    does not fix the problem.

    Today I pointed out the same problem on the Plung Tool. Holes are milled counter clockwise which ends up in bad milling quality and of course wrong diameter.

    Any suggestions?
     
  2. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    This is the correct direction for a 'climb milling' finishing cut. If it is coming out rough:
    sharpen tool
    stiffen machine
    slow down feed rate
    (-
     
  3. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    You can change the direction of plunge bored holes by editing one of the program files.
    Line 52 of PhlatMill.rb reads
    Code:
          @cw =  false          #swarfer: spiral cut direction
    change it to read
    Code:
          @cw =  true          #swarfer: spiral cut direction
    and any new gcode generated will use cw arcs for plunge holes.

    The file is in (sketchup system folder)/Plugins/Phlatboyz/ where the 'sketchup 7 system folder' is usually in c:\program files\google\google sketchup 7\ but your system may vary.

    NOTE
    PhlatMill.rb is a program file and as such is sensitive to grammar, spelling and case.
    If you don't do it exactly right, SketchUcam will fail to load entirely.

    I have bored a number of holes using the plunge tool, from 8mm with a 3.2mm bit in foam to 25mm with a 6mm bit in 19mm plywood and the finish has always been very smooth.
     
  4. xyz123

    xyz123 New Member

    Offline
    Messages:
    2
    Trophy Points:
    1
    @swarfer
    thanks for your hints! I read about the theoretical stuff about milling directions.
    After reading I agree with you.
    Means the direction for Pocket Face and Plunge Tool are correct implemented.

    Anyhow, I had trouble with the correct hole sizes (pocket and arcs) after milling. A pocket milled ccw was smaller 0.02mm than expected. So in comparison I got better results if I used the cw direction. The overall quality was better. After your answer I guess it has something to do with my machine stiffness.
    So for me in my case it is very good to know how to change the spiral cut direction. Thanks alot.
    I figured out in the PhPocketTool.rb the possibility to change the direction of the pocket by changing
    cface = model.entities.add_face(contour_points.reverse!)
    to
    cface = model.entities.add_face(contour_points)
    Or is there any other "smart" way to do?
     
  5. swarfer

    swarfer Moderator Staff Member

    Offline
    Messages:
    808
    Trophy Points:
    28
    Location:
    Grahamstown, South Africa
    No, there is no other way, well done for finding that.
     

Share This Page