Hello Guest it is April 24, 2024, 03:05:40 AM

Author Topic: G CODE TO CUT PARAMETRIC CURVES.  (Read 5582 times)

0 Members and 1 Guest are viewing this topic.

G CODE TO CUT PARAMETRIC CURVES.
« on: September 15, 2010, 09:46:47 AM »
Greetings.

I am looking for information about writing GCode to cut mathematical curves in wood.

For example, code to cut a sin curve.

If I can see an example, I am sure I can take it from there.

Help appreciated.
Re: G CODE TO CUT PARAMETRIC CURVES.
« Reply #1 on: September 15, 2010, 08:32:30 PM »
make a mcode and call it up in a program
m1212.m1s

For varX = 1 To 10
    varY = Sin (varX)
    Code "g0 X"& varX & "Y"& varY
Next varX
Re: G CODE TO CUT PARAMETRIC CURVES.
« Reply #2 on: September 17, 2010, 09:45:26 AM »
I thank you bud.

Obviously, it is not the stroll in the park I imagined it would be.

Do you have any references to custom mcode coding please. I want to do some reading.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G CODE TO CUT PARAMETRIC CURVES.
« Reply #3 on: September 17, 2010, 04:45:59 PM »
There is also a parametric side of Gcode that you may want to look at. It has most of the math processes you may need such as sin cosin,etc

Just a thought, (;-) TP
Re: G CODE TO CUT PARAMETRIC CURVES.
« Reply #4 on: September 20, 2010, 01:51:35 AM »
Hi.

I am very intersted in that too.

Can you point me in the direction of texts/sample parametric gcode please?

I just want to control my shapes very directly in mach3.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: G CODE TO CUT PARAMETRIC CURVES.
« Reply #5 on: September 20, 2010, 11:34:43 AM »
Look in the Mach Manual under Gcode parameters/variables.

(;-) TP
Re: G CODE TO CUT PARAMETRIC CURVES.
« Reply #6 on: September 20, 2010, 11:36:13 AM »
Thanks bud.

Will do and revert.
Re: G CODE TO CUT PARAMETRIC CURVES.
« Reply #7 on: September 21, 2010, 06:10:53 AM »
Wow: All of chapter 10.

Guys, I thank you very much indeed.

Deep regards.