Andrew Porter
04-14-2010, 04:09 PM
Hi, first time poster here. I'm not sure if I posting in the right place, but I have some questions about the shopbot programming language. I'm taking an introductory CNC course. I would like to cut a radiused dishes for making guitars. I want to do this by cutting a 12" radius channel several thousandths deep and then progressively smaller circles ending with a depth of 0.3"-0.5" thus defining a portion of a 20+ft sphere. I'd like to write a flexable program that would ask the user for the dish radius and sphere radius. It would need to calculate square roots. While I could write a routine to do this I thought there might be one in the language (though I did see one mentioned in the comref.pdf).
Another question concerning circles. When I generate shopbot code for a circle channel cut using Parts Works, I notice that there are 4 CG commands which each cut a quarter circle:
M3,3.526833,15.308437,-0.010000
CG, ,15.526833,3.308437,12.000000,0.000000,T,-1
CG, ,27.526833,15.308437,0.000000,12.000000,T,-1
CG, ,15.526833,27.308437,-12.000000,0.000000,T,-1
CG, ,3.526833,15.308437,0.000000,-12.000000,T,-1
Is there a particular reason for this? The comref.pdf seems to indicate that the CC or CG command could be used for a full circle. Is the somewhere that discusses the circle command syntax a little futher in depth?
Thanks for any help
Another question concerning circles. When I generate shopbot code for a circle channel cut using Parts Works, I notice that there are 4 CG commands which each cut a quarter circle:
M3,3.526833,15.308437,-0.010000
CG, ,15.526833,3.308437,12.000000,0.000000,T,-1
CG, ,27.526833,15.308437,0.000000,12.000000,T,-1
CG, ,15.526833,27.308437,-12.000000,0.000000,T,-1
CG, ,3.526833,15.308437,0.000000,-12.000000,T,-1
Is there a particular reason for this? The comref.pdf seems to indicate that the CC or CG command could be used for a full circle. Is the somewhere that discusses the circle command syntax a little futher in depth?
Thanks for any help