Here is a post I did a short while ago.
milling an elipse
And playing with it a bit more, I added some Sin wave noise to the ellipse.
Here is a good book for learning this type of programming.Code:G0X0Y0 #100=1.0(X RADIUS) #101=2.0(Y RADIUS) #102=0.25(ANGLE STEP) #104=30.0(ROTATE PATTERN) #106=60.0(MULTIPLIER FOR NOISE FREQ) #107=0.3(MULTIPLIER FOR NOISE AMP) (****************) #103=-1(COUNTER) G68X0Y0R#104 #105=#107*SIN[#106*#103] G1G41X[[#100+#105]*COS[#103]] Y[[#101+#105]*SIN[#103]] D1 F10.0 WHILE [#103 LE 360] DO1 #105=#107*SIN[#106*#103] G1X[[#100+#105]*COS[#103]] Y[[#101+#105]*SIN[#103]] F10.0 #103=#103+#102 END1 G1G40X0Y0 G69
Not all of it will apply to controls like Mach3 but still a good referance.
http://books.google.com/books?id=YKv...sec=frontcover


LinkBack URL
About LinkBacks





