GH
gene heskett
Sat, Sep 20, 2025 1:27 PM
I am in the process of replacing a failed, shop made tally switch
assembly on the head gear shift of my grizzly Go704 milling machine.
Strangely, it took a decade for the shoe-goo I built it with to migrate
and lock one of the switches in the n.o. position.
This consists of two mini microswitches with roller tipped levers, which
drop into a notch carved in the skirt of the knob that turns to shift
the gears.
This would be considerably easier to if I had a quick method of specing
the switch location in a half moon shaped printed bracket if I had a way
to translate the switches locations using polar-rectangular input so the
radius in mm and the degree was that starting data. But that is
something I was never in the same room with until linuxcnc. Where it has
been handier than sliced bread. As far as I know, openscad does not do
those conversions.
Can it be done, but I haven't spotted it? If so, how? I suspect sin
and cos are somehow involved.
Thanks all.
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.
I am in the process of replacing a failed, shop made tally switch
assembly on the head gear shift of my grizzly Go704 milling machine.
Strangely, it took a decade for the shoe-goo I built it with to migrate
and lock one of the switches in the n.o. position.
This consists of two mini microswitches with roller tipped levers, which
drop into a notch carved in the skirt of the knob that turns to shift
the gears.
This would be considerably easier to if I had a quick method of specing
the switch location in a half moon shaped printed bracket if I had a way
to translate the switches locations using polar-rectangular input so the
radius in mm and the degree was that starting data. But that is
something I was never in the same room with until linuxcnc. Where it has
been handier than sliced bread. As far as I know, openscad does not do
those conversions.
Can it be done, but I haven't spotted it? If so, how? I suspect sin
and cos are somehow involved.
Thanks all.
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
NH
nop head
Sat, Sep 20, 2025 1:36 PM
I think this would do it:
rotate(angle) translate([r, 0])
On Sat, 20 Sept 2025 at 14:28, gene heskett via Discuss <
discuss@lists.openscad.org> wrote:
I am in the process of replacing a failed, shop made tally switch assembly
on the head gear shift of my grizzly Go704 milling machine. Strangely, it
took a decade for the shoe-goo I built it with to migrate and lock one of
the switches in the n.o. position.
This consists of two mini microswitches with roller tipped levers, which
drop into a notch carved in the skirt of the knob that turns to shift the
gears.
This would be considerably easier to if I had a quick method of specing
the switch location in a half moon shaped printed bracket if I had a way to
translate the switches locations using polar-rectangular input so the
radius in mm and the degree was that starting data. But that is something I
was never in the same room with until linuxcnc. Where it has been handier
than sliced bread. As far as I know, openscad does not do those
conversions.
Can it be done, but I haven't spotted it? If so, how? I suspect sin and
cos are somehow involved.
Thanks all.
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.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
I think this would do it:
rotate(angle) translate([r, 0])
On Sat, 20 Sept 2025 at 14:28, gene heskett via Discuss <
discuss@lists.openscad.org> wrote:
> I am in the process of replacing a failed, shop made tally switch assembly
> on the head gear shift of my grizzly Go704 milling machine. Strangely, it
> took a decade for the shoe-goo I built it with to migrate and lock one of
> the switches in the n.o. position.
>
> This consists of two mini microswitches with roller tipped levers, which
> drop into a notch carved in the skirt of the knob that turns to shift the
> gears.
>
> This would be considerably easier to if I had a quick method of specing
> the switch location in a half moon shaped printed bracket if I had a way to
> translate the switches locations using polar-rectangular input so the
> radius in mm and the degree was that starting data. But that is something I
> was never in the same room with until linuxcnc. Where it has been handier
> than sliced bread. As far as I know, openscad does not do those
> conversions.
>
> Can it be done, but I haven't spotted it? If so, how? I suspect sin and
> cos are somehow involved.
>
> Thanks all.
>
> 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
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
GS
Guenther Sohler
Sat, Sep 20, 2025 2:19 PM
It appears to me that you want to rotate a point around ALPHA with a given
CENTER position ?
On Sat, Sep 20, 2025 at 3:28 PM gene heskett via Discuss <
discuss@lists.openscad.org> wrote:
I am in the process of replacing a failed, shop made tally switch assembly
on the head gear shift of my grizzly Go704 milling machine. Strangely, it
took a decade for the shoe-goo I built it with to migrate and lock one of
the switches in the n.o. position.
This consists of two mini microswitches with roller tipped levers, which
drop into a notch carved in the skirt of the knob that turns to shift the
gears.
This would be considerably easier to if I had a quick method of specing
the switch location in a half moon shaped printed bracket if I had a way to
translate the switches locations using polar-rectangular input so the
radius in mm and the degree was that starting data. But that is something I
was never in the same room with until linuxcnc. Where it has been handier
than sliced bread. As far as I know, openscad does not do those
conversions.
Can it be done, but I haven't spotted it? If so, how? I suspect sin and
cos are somehow involved.
Thanks all.
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.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
It appears to me that you want to rotate a point around ALPHA with a given
CENTER position ?
On Sat, Sep 20, 2025 at 3:28 PM gene heskett via Discuss <
discuss@lists.openscad.org> wrote:
> I am in the process of replacing a failed, shop made tally switch assembly
> on the head gear shift of my grizzly Go704 milling machine. Strangely, it
> took a decade for the shoe-goo I built it with to migrate and lock one of
> the switches in the n.o. position.
>
> This consists of two mini microswitches with roller tipped levers, which
> drop into a notch carved in the skirt of the knob that turns to shift the
> gears.
>
> This would be considerably easier to if I had a quick method of specing
> the switch location in a half moon shaped printed bracket if I had a way to
> translate the switches locations using polar-rectangular input so the
> radius in mm and the degree was that starting data. But that is something I
> was never in the same room with until linuxcnc. Where it has been handier
> than sliced bread. As far as I know, openscad does not do those
> conversions.
>
> Can it be done, but I haven't spotted it? If so, how? I suspect sin and
> cos are somehow involved.
>
> Thanks all.
>
> 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
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
GH
gene heskett
Sat, Sep 20, 2025 2:53 PM
On 9/20/25 09:37, nop head via Discuss wrote:
I think this would do it:
rotate(angle) translate([r, 0])
Pix attached. Some variations of this theme worked fine. the extra
notches are lever roller clearance when depressed by the knob rim.
They are longer than the switch body. Thank you nop head.
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.
On 9/20/25 09:37, nop head via Discuss wrote:
> I think this would do it:
>
> rotate(angle) translate([r, 0])
Pix attached. Some variations of this theme worked fine. the extra
notches are lever roller clearance when depressed by the knob rim.
They are longer than the switch body. Thank you nop head.
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
GH
gene heskett
Sat, Sep 20, 2025 9:49 PM
On 9/20/25 10:19, Guenther Sohler wrote:
It appears to me that you want to rotate a point around ALPHA with a given
CENTER position ?
Basically yes. nop-head gave me something that works nicely. Now I
suspect the 1/2 drop of superglue I'm fixing the switches mounting with,
is migrating into the switches, giving me a semi false high R contact
closure that should go away when the switch discovers it is switching a
12 volt logic signal. That is not quite a dry circuit but I'm letting
the glue cure to be sure before I commit to installing it..
Thank you Guenther.
I am in the process of replacing a failed, shop made tally switch assembly
on the head gear shift of my grizzly Go704 milling machine. Strangely, it
took a decade for the shoe-goo I built it with to migrate and lock one of
the switches in the n.o. position.
This consists of two mini microswitches with roller tipped levers, which
drop into a notch carved in the skirt of the knob that turns to shift the
gears.
This would be considerably easier to if I had a quick method of specing
the switch location in a half moon shaped printed bracket if I had a way to
translate the switches locations using polar-rectangular input so the
radius in mm and the degree was that starting data. But that is something I
was never in the same room with until linuxcnc. Where it has been handier
than sliced bread. As far as I know, openscad does not do those
conversions.
Can it be done, but I haven't spotted it? If so, how? I suspect sin and
cos are somehow involved.
Thanks all.
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.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
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.
On 9/20/25 10:19, Guenther Sohler wrote:
> It appears to me that you want to rotate a point around ALPHA with a given
> CENTER position ?
Basically yes. nop-head gave me something that works nicely. Now I
suspect the 1/2 drop of superglue I'm fixing the switches mounting with,
is migrating into the switches, giving me a semi false high R contact
closure that should go away when the switch discovers it is switching a
12 volt logic signal. That is not quite a dry circuit but I'm letting
the glue cure to be sure before I commit to installing it..
Thank you Guenther.
> On Sat, Sep 20, 2025 at 3:28 PM gene heskett via Discuss <
> discuss@lists.openscad.org> wrote:
>
>> I am in the process of replacing a failed, shop made tally switch assembly
>> on the head gear shift of my grizzly Go704 milling machine. Strangely, it
>> took a decade for the shoe-goo I built it with to migrate and lock one of
>> the switches in the n.o. position.
>>
>> This consists of two mini microswitches with roller tipped levers, which
>> drop into a notch carved in the skirt of the knob that turns to shift the
>> gears.
>>
>> This would be considerably easier to if I had a quick method of specing
>> the switch location in a half moon shaped printed bracket if I had a way to
>> translate the switches locations using polar-rectangular input so the
>> radius in mm and the degree was that starting data. But that is something I
>> was never in the same room with until linuxcnc. Where it has been handier
>> than sliced bread. As far as I know, openscad does not do those
>> conversions.
>>
>> Can it be done, but I haven't spotted it? If so, how? I suspect sin and
>> cos are somehow involved.
>>
>> Thanks all.
>>
>> 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
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email to discuss-leave@lists.openscad.org
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
DM
Douglas Miller
Sun, Sep 21, 2025 11:01 PM
Gene,
I see that your immediate issue has apparently been solved, but this may
be useful as reference in the future.
To convert polar coordinates (r, Θ) to rectangular coordinates (x, y):
- x = r cos(Θ)
- y = r sin(Θ)
To convert rectangular coordinates (x, y) to polar coordinates (r, Θ):
- r = sqrt(x^2 + y^2)
- Θ = atan(y/x)
On 9/20/2025 9:27 AM, gene heskett wrote:
I am in the process of replacing a failed, shop made tally switch
assembly on the head gear shift of my grizzly Go704 milling machine.
Strangely, it took a decade for the shoe-goo I built it with to
migrate and lock one of the switches in the n.o. position.
This consists of two mini microswitches with roller tipped levers,
which drop into a notch carved in the skirt of the knob that turns to
shift the gears.
This would be considerably easier to if I had a quick method of
specing the switch location in a half moon shaped printed bracket if I
had a way to translate the switches locations using polar-rectangular
input so the radius in mm and the degree was that starting data. But
that is something I was never in the same room with until linuxcnc.
Where it has been handier than sliced bread. As far as I know,
openscad does not do those conversions.
Can it be done, but I haven't spotted it? If so, how? I suspect sin
and cos are somehow involved.
Thanks all.
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.
Gene,
I see that your immediate issue has apparently been solved, but this may
be useful as reference in the future.
To convert polar coordinates (r, Θ) to rectangular coordinates (x, y):
* x = r cos(Θ)
* y = r sin(Θ)
To convert rectangular coordinates (x, y) to polar coordinates (r, Θ):
* r = sqrt(x^2 + y^2)
* Θ = atan(y/x)
On 9/20/2025 9:27 AM, gene heskett wrote:
> I am in the process of replacing a failed, shop made tally switch
> assembly on the head gear shift of my grizzly Go704 milling machine.
> Strangely, it took a decade for the shoe-goo I built it with to
> migrate and lock one of the switches in the n.o. position.
>
> This consists of two mini microswitches with roller tipped levers,
> which drop into a notch carved in the skirt of the knob that turns to
> shift the gears.
>
> This would be considerably easier to if I had a quick method of
> specing the switch location in a half moon shaped printed bracket if I
> had a way to translate the switches locations using polar-rectangular
> input so the radius in mm and the degree was that starting data. But
> that is something I was never in the same room with until linuxcnc.
> Where it has been handier than sliced bread. As far as I know,
> openscad does not do those conversions.
>
> Can it be done, but I haven't spotted it? If so, how? I suspect sin
> and cos are somehow involved.
>
> Thanks all.
>
> 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
GH
gene heskett
Mon, Sep 22, 2025 3:39 AM
On 9/21/25 19:02, Douglas Miller via Discuss wrote:
Gene,
I see that your immediate issue has apparently been solved, but this
may be useful as reference in the future.
printed to join my stacjk of FFR stuffs.
To convert polar coordinates (r, Θ) to rectangular coordinates (x, y):
* x = r cos(Θ)
* y = r sin(Θ)
To convert rectangular coordinates (x, y) to polar coordinates (r, Θ):
* r = sqrt(x^2 + y^2)
* Θ = atan(y/x)
I was thinking of something along those lines, thanks. I might be
forced to do that for another project involving linuxcnc and some edm
operations I am contemplating doing. Specifically I must expand a hole
by edm methods while maintaining the exact center but I think I have
that figured out already. thanks again Douglas Miller.
On 9/20/2025 9:27 AM, gene heskett wrote:
I am in the process of replacing a failed, shop made tally switch
assembly on the head gear shift of my grizzly Go704 milling machine.
Strangely, it took a decade for the shoe-goo I built it with to
migrate and lock one of the switches in the n.o. position.
This consists of two mini microswitches with roller tipped levers,
which drop into a notch carved in the skirt of the knob that turns to
shift the gears.
This would be considerably easier to if I had a quick method of
specing the switch location in a half moon shaped printed bracket if
I had a way to translate the switches locations using
polar-rectangular input so the radius in mm and the degree was that
starting data. But that is something I was never in the same room
with until linuxcnc. Where it has been handier than sliced bread. As
far as I know, openscad does not do those conversions.
Can it be done, but I haven't spotted it? If so, how? I suspect sin
and cos are somehow involved.
Thanks all.
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
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.
On 9/21/25 19:02, Douglas Miller via Discuss wrote:
> Gene,
>
> I see that your immediate issue has apparently been solved, but this
> may be useful as reference in the future.
printed to join my stacjk of FFR stuffs.
>
> To convert polar coordinates (r, Θ) to rectangular coordinates (x, y):
>
> * x = r cos(Θ)
> * y = r sin(Θ)
>
> To convert rectangular coordinates (x, y) to polar coordinates (r, Θ):
>
> * r = sqrt(x^2 + y^2)
> * Θ = atan(y/x)
I was thinking of something along those lines, thanks. I might be
forced to do that for another project involving linuxcnc and some edm
operations I am contemplating doing. Specifically I must expand a hole
by edm methods while maintaining the exact center but I think I have
that figured out already. thanks again Douglas Miller.
>
>
> On 9/20/2025 9:27 AM, gene heskett wrote:
>> I am in the process of replacing a failed, shop made tally switch
>> assembly on the head gear shift of my grizzly Go704 milling machine.
>> Strangely, it took a decade for the shoe-goo I built it with to
>> migrate and lock one of the switches in the n.o. position.
>>
>> This consists of two mini microswitches with roller tipped levers,
>> which drop into a notch carved in the skirt of the knob that turns to
>> shift the gears.
>>
>> This would be considerably easier to if I had a quick method of
>> specing the switch location in a half moon shaped printed bracket if
>> I had a way to translate the switches locations using
>> polar-rectangular input so the radius in mm and the degree was that
>> starting data. But that is something I was never in the same room
>> with until linuxcnc. Where it has been handier than sliced bread. As
>> far as I know, openscad does not do those conversions.
>>
>> Can it be done, but I haven't spotted it? If so, how? I suspect sin
>> and cos are somehow involved.
>>
>> Thanks all.
>>
>> 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
>
>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
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
GS
Guenther Sohler
Mon, Sep 22, 2025 6:57 AM
In PythonSCAD, rotate got a ref parameter in the latest build.
Basically you can not write:
rotated = shape.rotate([0,0,10], ref=[5,5,0])
basically: specifying the center of rotation.
Internally i case ref is specified will add 2 additional translation nodes
On Sat, Sep 20, 2025 at 11:49 PM gene heskett gheskett@shentel.net wrote:
On 9/20/25 10:19, Guenther Sohler wrote:
It appears to me that you want to rotate a point around ALPHA with a
Basically yes. nop-head gave me something that works nicely. Now I
suspect the 1/2 drop of superglue I'm fixing the switches mounting with,
is migrating into the switches, giving me a semi false high R contact
closure that should go away when the switch discovers it is switching a
12 volt logic signal. That is not quite a dry circuit but I'm letting
the glue cure to be sure before I commit to installing it..
Thank you Guenther.
I am in the process of replacing a failed, shop made tally switch
on the head gear shift of my grizzly Go704 milling machine. Strangely,
took a decade for the shoe-goo I built it with to migrate and lock one
the switches in the n.o. position.
This consists of two mini microswitches with roller tipped levers, which
drop into a notch carved in the skirt of the knob that turns to shift
gears.
This would be considerably easier to if I had a quick method of specing
the switch location in a half moon shaped printed bracket if I had a
translate the switches locations using polar-rectangular input so the
radius in mm and the degree was that starting data. But that is
was never in the same room with until linuxcnc. Where it has been
than sliced bread. As far as I know, openscad does not do those
conversions.
Can it be done, but I haven't spotted it? If so, how? I suspect sin
cos are somehow involved.
Thanks all.
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
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.
In PythonSCAD, rotate got a ref parameter in the latest build.
Basically you can not write:
rotated = shape.rotate([0,0,10], ref=[5,5,0])
# basically: specifying the center of rotation.
Internally i case ref is specified will add 2 additional translation nodes
On Sat, Sep 20, 2025 at 11:49 PM gene heskett <gheskett@shentel.net> wrote:
> On 9/20/25 10:19, Guenther Sohler wrote:
> > It appears to me that you want to rotate a point around ALPHA with a
> given
> > CENTER position ?
> Basically yes. nop-head gave me something that works nicely. Now I
> suspect the 1/2 drop of superglue I'm fixing the switches mounting with,
> is migrating into the switches, giving me a semi false high R contact
> closure that should go away when the switch discovers it is switching a
> 12 volt logic signal. That is not quite a dry circuit but I'm letting
> the glue cure to be sure before I commit to installing it..
>
> Thank you Guenther.
> > On Sat, Sep 20, 2025 at 3:28 PM gene heskett via Discuss <
> > discuss@lists.openscad.org> wrote:
> >
> >> I am in the process of replacing a failed, shop made tally switch
> assembly
> >> on the head gear shift of my grizzly Go704 milling machine. Strangely,
> it
> >> took a decade for the shoe-goo I built it with to migrate and lock one
> of
> >> the switches in the n.o. position.
> >>
> >> This consists of two mini microswitches with roller tipped levers, which
> >> drop into a notch carved in the skirt of the knob that turns to shift
> the
> >> gears.
> >>
> >> This would be considerably easier to if I had a quick method of specing
> >> the switch location in a half moon shaped printed bracket if I had a
> way to
> >> translate the switches locations using polar-rectangular input so the
> >> radius in mm and the degree was that starting data. But that is
> something I
> >> was never in the same room with until linuxcnc. Where it has been
> handier
> >> than sliced bread. As far as I know, openscad does not do those
> >> conversions.
> >>
> >> Can it be done, but I haven't spotted it? If so, how? I suspect sin
> and
> >> cos are somehow involved.
> >>
> >> Thanks all.
> >>
> >> 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
> >>
> >> _______________________________________________
> >> OpenSCAD mailing list
> >> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
> 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
>
>
>
GH
gene heskett
Mon, Sep 22, 2025 12:13 PM
On 9/22/25 02:58, Guenther Sohler via Discuss wrote:
In PythonSCAD, rotate got a ref parameter in the latest build.
Basically you can not write:
rotated = shape.rotate([0,0,10], ref=[5,5,0])
basically: specifying the center of rotation.
Internally i case ref is specified will add 2 additional translation nodes
On Sat, Sep 20, 2025 at 11:49 PM gene heskett gheskett@shentel.net wrote:
On 9/20/25 10:19, Guenther Sohler wrote:
It appears to me that you want to rotate a point around ALPHA with a
x0,y0 (center found by g38 based subroutine using linuxcnc probing
facility. Accuracy=fraction of micron)
And the quick/dirty way to write an expanding hole routine is to spec
the radius r as the expansion control, then write as g-code:
g1 fspeed x-r y-r
g3 fspeed xr yr z-5 p10 (which may not be syntacticly correct, but you
get the idea while the exact center of the hole remains at x0,y0)
g1 fspeed x-r y-r
g3 fspeed xr yr z0 p10 (which them withdraws the z feed)
This becomes the working edm operation. Surrounding that will be the
logic that tracks whether or not there has been an arc event.
If there was not an arc event, increment r a few microns and try again.
Thereby achieving an automatic feed to keep it arcing. The z motion is
to equalize to a quite low value of the erosion of the electrode by
distributing its wear over several mm of its length, the thickness of
the material being eroded is .3 mm of steel. Not fast by comparison to
a production wire edm, but doable for a hobby shop like mine. Dielectric
fluid could be k2, or for this small a job, distilled water as its an
excellent dielectric until contaminated by the arc debris. It also
quenches any fire hazard. The water becomes opaque from the debris,
hiding the arc, before it gets so conductive it shorts out the edm power
supply. So the arc requires a detection circuit to be made. Easy since
I am a CET.
Those parts to make a simple rc discharge circuit are already on hand.
As is the detection circuit stuffs.
Basically yes. nop-head gave me something that works nicely. Now I
suspect the 1/2 drop of superglue I'm fixing the switches mounting with,
is migrating into the switches, giving me a semi false high R contact
closure that should go away when the switch discovers it is switching a
12 volt logic signal. That is not quite a dry circuit but I'm letting
the glue cure to be sure before I commit to installing it..
Thank you Guenther.
[...]
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.
On 9/22/25 02:58, Guenther Sohler via Discuss wrote:
> In PythonSCAD, rotate got a ref parameter in the latest build.
>
> Basically you can not write:
>
> rotated = shape.rotate([0,0,10], ref=[5,5,0])
> # basically: specifying the center of rotation.
> Internally i case ref is specified will add 2 additional translation nodes
>
>
>
> On Sat, Sep 20, 2025 at 11:49 PM gene heskett <gheskett@shentel.net> wrote:
>
>> On 9/20/25 10:19, Guenther Sohler wrote:
>>> It appears to me that you want to rotate a point around ALPHA with a
>> given
>>> CENTER position ?
x0,y0 (center found by g38 based subroutine using linuxcnc probing
facility. Accuracy=fraction of micron)
And the quick/dirty way to write an expanding hole routine is to spec
the radius r as the expansion control, then write as g-code:
g1 fspeed x-r y-r
g3 fspeed xr yr z-5 p10 (which may not be syntacticly correct, but you
get the idea while the exact center of the hole remains at x0,y0)
g1 fspeed x-r y-r
g3 fspeed xr yr z0 p10 (which them withdraws the z feed)
This becomes the working edm operation. Surrounding that will be the
logic that tracks whether or not there has been an arc event.
If there was not an arc event, increment r a few microns and try again.
Thereby achieving an automatic feed to keep it arcing. The z motion is
to equalize to a quite low value of the erosion of the electrode by
distributing its wear over several mm of its length, the thickness of
the material being eroded is .3 mm of steel. Not fast by comparison to
a production wire edm, but doable for a hobby shop like mine. Dielectric
fluid could be k2, or for this small a job, distilled water as its an
excellent dielectric until contaminated by the arc debris. It also
quenches any fire hazard. The water becomes opaque from the debris,
hiding the arc, before it gets so conductive it shorts out the edm power
supply. So the arc requires a detection circuit to be made. Easy since
I am a CET.
Those parts to make a simple rc discharge circuit are already on hand.
As is the detection circuit stuffs.
>> Basically yes. nop-head gave me something that works nicely. Now I
>> suspect the 1/2 drop of superglue I'm fixing the switches mounting with,
>> is migrating into the switches, giving me a semi false high R contact
>> closure that should go away when the switch discovers it is switching a
>> 12 volt logic signal. That is not quite a dry circuit but I'm letting
>> the glue cure to be sure before I commit to installing it..
>>
>> Thank you Guenther.
[...]
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