Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: TheNigerian 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.
-
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
-
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.
-
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
-
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.
-
Look in the Mach Manual under Gcode parameters/variables.
(;-) TP
-
Thanks bud.
Will do and revert.
-
Wow: All of chapter 10.
Guys, I thank you very much indeed.
Deep regards.