On Sat, Jun 27, 2009 at 5:20 PM, Alan Battersby <[email protected]
> wrote:

> Hello everyone,
> I have written some software to generate gcode to cut patterns on flat
> surfaces. Now I want to extend this to curved surfaces. I restrict
> myself to surfaces with rotational symmetry around the z axis as I want
> to decorate turned wooden items. (I have a stepper attached to the
> headstock of my wood lathe and an inexpensive xy table on the lathe bed.
> The table x acts as radial movement from centre outwards. The table y is
> actually connected as z  giving positive depth movement towards the
> lathe headstock which rotates as a big rotary table as the A axis. I
> have a proxxon milling head mounted on the table at centre height, All
> steppers run under emc2) I have nearly finished the program that
> compensates for the surface when generating gcode and have ability to
> specify mathematically simple surfaces whose radial component is a
> collection of piecewise linear segments. Whew!!!
>
> Finally to the question. I have nearly finished building a simple probe
> and wish to use it to perform radial scans of a pre-turned wooden
> surface and produce a file I can import into my software. Unfortunately
> I haven't the faintest clue how to do this. Any suggestions or help
> would be appreciated.
>
> Thanks
> Alan


Have you looked at nc_files/gridprobe.ngc? This does probing in an X-Y
grid.
Probing is documented at
http://www.linuxcnc.org/docs/html/gcode_main.html#sub:G38.2:-Straight-Probe

If I understand your setup correctly, you need to move in an A-Z grid and
probe with G38.2 Xn, where if the center of the part is X0, n is smaller
than the smallest radius of the part.  G38.x does not return the probe to
the starting position, you must do that yourself before moving to the next
grid point.


Do you plan to release your software?  I'm sure that people would be
interested in it. It doesn't need to be perfect.

Regards,
Mark
------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to