On 3/23/26 06:23, andy pugh wrote:
On Sun, 22 Mar 2026 at 10:14, gene heskett <[email protected]> wrote:
While this discussion about expanding gcodes is going on
Who is talking about expanding G-codes?
i thought that was what you and TomP were discussing recently. by adding
Gx.y to already existing similar commands. This looked to me to be a
way to integrate some of the stuff borrowed from the OpenSCAD cylinder()
functions. which are common;y use for drilling small screw holes that
are self tapping once 3d printed. That function is similar to our g2/g3
but allows an env var marked as $fn to determine the shape of a circle
by using the rad or dia to determine the "chord" such that if $fn in the
current scope is used, it controls the motion such as to make the circle
into straight segments.
IOW if $fn=6 a hex pocket is created. We measure the widest points of a
small nut, add .1 to partially comp for the nozzles .2 radius and pass
that as the diameter of the cylinder(), arranging it to be placed on the
bolt center. The.1 mm added makes it a tight press fit for that nut to
be placed in the resultant pocket, tightness assured so the nut doesn't
easily fall out.
I've used that idea rather extensively in mounting nuts to retain 600mm
long sections of mgn9 linear rail bearings in my 3d printer rebuilds,
putting a 3mm bolt in every 3rd hole by printing two sticks 350mm long
with those hex pockets spaced the same as the boltholes with the 2nd
stick having a pad on the end to hold the first tight in the bore of a
carbon fiber 20mm x 20mm tube. Holes drilled in the cf tube by my go704
and the 2nd stick positioned to hold the nuts pressed into the first
sticks pockets in exact register for installing the bolts, Starting at
the center, when the last bolt is installed & tightened,, the 2nd stick
is reinstalled so as to extract the nuts from the first stick, freeing
the first stick to reload it with the nuts for the other half of he mgn9
bearing.
Do that so you've an mgn9 rail top and bottom and you have an X bar
that's far more rigid yet weights 1/3rd of what the usual 20x20 alu
extrusion the Y motor of an Ender 5 Plus has to throw around. An X bar
so heavy it limits the accel & top speed to 16 or 17mm/sec in the OEM
OOTB. Now it can move fast enough, around 200mm/sec before a 60 watt
hot end heater runs out of hot plastic. Easily 10x faster than OOTB.
With closed loop stepper/servo motors and a 36 volt bed heater, it still
runs 5x faster than OOTB while laying down polycarbonate filament. I
cannot buy a commercial printer with that capability for less than $12k
& I have about $3k in it.
I'm thinking of using some of Sam's single tooth code in my go704 by
adding that code so its available as g2.x/g3.x in the mapping. No use
with multiflute mills, but single tooth in a keyed boring head would
really be useful to LCNC.
Thank you Andy.
Cheers, Gene Heskett, CET.
--
"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
Don't poison our oceans, interdict drugs at the src.
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers