531,647 active members*
2,983 visitors online*
Register for free
Results 1 to 4 of 4
  1. #1

    How To handle Workpiece Rotation

    Can Planet CNC handle workpiece rotation and is yes, what’s the workflow.

    I would like to solve the following situation as an example:
    My stock material is a rectangle of 200mmx300mm
    In CAM the x&y 0 is set to the middle of the stock.
    The GCode should put a chamfer on the edge of the stock
    When putting the Material on the Bed the stock is not placed perfectly square and the Software needs to compensate for this.

    In my old software this was quite easy, measuring a few points, it automatically got the correct center of the part and the rotation. In TNG I was able to find a way to measure the angle of the stock, and a way to rotate the gcode. But the gcode is always rotated on the origin of the coordinate system, not the xy0 of the gcode. Additionally I have found no way to measure the middle of the part if the part is not square.


  2. #2
    Join Date
    Mar 2017

    Re: How To handle Workpiece Rotation

    In TNG you can also measure points and calculate rotation. This is called transformation, in this case, transformation from points.

    There are other ways to do rotation. Coordinate system rotation rotates whole system around its origin. With axis rotation (G68) you can specify rotation center.

  3. #3
    Is there some documentation or howto guide available that describes this process step by step?

  4. #4

    Re: How To handle Workpiece Rotation

    After a lot of tinkering, trying and testing I think I finally figured it out.

    I figured that G0, G1 and G38 moves are moving the axis correctly in a rotated Work Coordination system.
    With this information I basically combined the angle measurement routine with a rewrite of the Protrusion Measurement.
    I measure the rotation, use G10 to set it for the current coordination system and replaced all G53 moves with relative moves in the work coordination system.
    To not totally loose my head I restricted it to start always on the left side of the workpiece, measure the rotation, measure X position followed by Y position.
    Seems to work OK, but man programming C somehow seems no longer so bad, and I have the feeling I didn't even do anything fancy.

Similar Threads

  1. Combined straight handle and t-handle tap wrench!
    By northernmach in forum News Announcements
    Replies: 0
    Last Post: 08-20-2016, 02:32 AM
  2. workpiece counter
    By gtv-mucky in forum Fanuc
    Replies: 2
    Last Post: 04-09-2012, 11:55 AM
  3. using an stl file as workpiece
    By KrausMotor in forum SprutCAM
    Replies: 3
    Last Post: 03-27-2012, 07:38 PM
  4. Round workpiece
    By 4runner in forum HEIDENHAIN -> iTNC530 PC-SOFTWARE
    Replies: 4
    Last Post: 07-12-2008, 01:54 PM
  5. Cylindrical workpiece
    By MAX711 in forum SprutCAM
    Replies: 7
    Last Post: 12-04-2006, 03:11 AM

Tags for this Thread

Posting Permissions

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