Skip to content

Easy ? to add workpiece registration to electronically correct misalignment (and optionally scaling) in the XY plane #19

@dirkvdb2

Description

@dirkvdb2

There are no tools in many low-end CNC machines to accurately position a milling or laser plan relative the workpiece.
This would be required eg. to work with a DIY PCB that has holes already drilled and need to be laser exposed, or to place a mill or laser plan in some existing feature of the workpiece.

A solution would be to allow calibrated transformation of (X, Y) cordinate into a new coordinate system based on two known workpiece-referenced tool positions (eg. fiducials).
The current plugin corrects already the Z-coordinate, could perhaps easily be extended to allow calibration based on two known (X1,Y1) and (X2,Y2) points.
A practical mechanism could be to move the tool to a known position, register that, than jog to the correct position and register that as well. . Repend for a second point far away from the first point. This is sufficient to calculate the four elements of a transformation matrix,

A further enhancement could be to allow multiple redundant calibrating positions and do a least squares approximation, with X-scaling, Y-scaling on/off (In some instances scaling (X, Y, both) could be useful, in other (like PCB exposure or milling) absolutely not).

Describe alternatives you've considered
Mechanically repositioning the workpiece is very cumbersome and inaccurate, and does not allow for scaling.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions