hwd_woodworking
04-09-2005, 07:46 AM
Hello,
I have been dabbling around with trying to learn how to write parametric part files. In other words, there would be IF/THEN commands in the code. and user INPUT numbers.
The First question is... IS there any books on writing g-code that can help me with this. I basically need to know a hand full of commands (or so I think) and I've seen some of what other people are doing so I am fairly confident that it can be done. In a nut shell if a parametric program could be writen for say cabinet sides and the user inputs depth, hieght, drawer hieght..etc then all the other parameters would be the same. Obviuosly I would have to have input on the bits I'm using as well but those would be a constant as well untill you sharpen them.
6 base cabinet sides fit nicely on one 4x8 shee, so my next hurtle would be a very basic nesting program.
I have writen a program the physically writes code in excel. This was for leading out inside corners after using a v carve. I then do a copy and paste and open up a file part do a save as and then paste my new code in there.
I know this is very primitive but in time I think it can be polished up to something that could be very useful.
Whitch leads me to my next question. Is there a way to link excel to a file part or part wizard. Or am I running in the completely wrong direction?
Nate
I have been dabbling around with trying to learn how to write parametric part files. In other words, there would be IF/THEN commands in the code. and user INPUT numbers.
The First question is... IS there any books on writing g-code that can help me with this. I basically need to know a hand full of commands (or so I think) and I've seen some of what other people are doing so I am fairly confident that it can be done. In a nut shell if a parametric program could be writen for say cabinet sides and the user inputs depth, hieght, drawer hieght..etc then all the other parameters would be the same. Obviuosly I would have to have input on the bits I'm using as well but those would be a constant as well untill you sharpen them.
6 base cabinet sides fit nicely on one 4x8 shee, so my next hurtle would be a very basic nesting program.
I have writen a program the physically writes code in excel. This was for leading out inside corners after using a v carve. I then do a copy and paste and open up a file part do a save as and then paste my new code in there.
I know this is very primitive but in time I think it can be polished up to something that could be very useful.
Whitch leads me to my next question. Is there a way to link excel to a file part or part wizard. Or am I running in the completely wrong direction?
Nate