On 11/2/22 13:23, John Dammeyer wrote:
Hi Chris,
-----Original Message-----
From: Chris Albertson [mailto:albertson.ch...@gmail.com]
Sent: November-02-22 9:55 AM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] CAM software
Here is why hand-coded g-code files can't be used for "real work".
I have a part (see link below) that is one of dozens of parts in a
quadruped robot.
https://a360.co/3sQkHm3
The above is a simple web-based viewer that you get for "free" with
Fusion360.
Also, I doubt any normal person could write the g-code for this part and
get it correct.
The problem is the moment you want that 4th Axis that can't be hand coded. At
that point Fusion360 becomes way more expensive than say MecSoft Visual CAD/CAM.
John
Careful how you toss out that the 4th can't be hand coded. ;o)
That maple screw uses all 4 axis's, and I wrote the code.
A decent calculator which linuxcnc has, and linuxcnc does the rest. That
20 some inches long screw is about 7 lines
of code in the subroutine that actually makes the sawdust.
First line calculates the distance from the current position on the
buttress to the fixed end stop.
The 2nd line is divided by the fixed pitch to get how many turns, and
makes it into degrees.
Any taper correction is done by the z axis as in the subroutine as the y
moves to the endstop
while B is being turned that many degrees. The bit is lifted 2mm and B
turned another 180 degrees.
2 lines of code for that. Z is restored to cutting depth,
last line runs y back to the starting point while driving B in reverse
to 180 degrees, end of sub.
Main loop rezeros B and positions cutter to y & z for next sub call.
Wash, rinse, repeat. About 260 LOC.
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users