GH
gene heskett
Sun, Dec 11, 2022 6:20 PM
Greetings all;
My math for trig funtions is failing me again.
Most small motor makers give their bolt circle specs in polar notation
but I'd like to make a test pattern on my 3d printer to test the fit
before I commit to carving up $50 worth of 7075T6 to make the real thing.
The 4 bolt pattern is on a 2.625" diameter circle, located at 45,135,225
and 315 degrees. In radius that is 33.3375mm
So, can OpenSCAD do this test layout using polar notation of the form of
distance@angle where the 0,0 point is a calculated known offset point in
2d space?
That's question one. if this is in BOSL2, question 2 is where is its
cheat sheet?
Or can I calclate the xy positions with the circles radius*sin(angle)
and cos(angle) for the point in each quadrant of the circle?
Thanks All.
Take care & stay well.
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.
Greetings all;
My math for trig funtions is failing me again.
Most small motor makers give their bolt circle specs in polar notation
but I'd like to make a test pattern on my 3d printer to test the fit
before I commit to carving up $50 worth of 7075T6 to make the real thing.
The 4 bolt pattern is on a 2.625" diameter circle, located at 45,135,225
and 315 degrees. In radius that is 33.3375mm
So, can OpenSCAD do this test layout using polar notation of the form of
distance@angle where the 0,0 point is a calculated known offset point in
2d space?
That's question one. if this is in BOSL2, question 2 is where is its
cheat sheet?
Or can I calclate the xy positions with the circles radius*sin(angle)
and cos(angle) for the point in each quadrant of the circle?
Thanks All.
Take care & stay well.
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/>
AM
Adrian Mariano
Sun, Dec 11, 2022 6:53 PM
Greetings all;
My math for trig funtions is failing me again.
Most small motor makers give their bolt circle specs in polar notation
but I'd like to make a test pattern on my 3d printer to test the fit
before I commit to carving up $50 worth of 7075T6 to make the real thing.
The 4 bolt pattern is on a 2.625" diameter circle, located at 45,135,225
and 315 degrees. In radius that is 33.3375mm
So, can OpenSCAD do this test layout using polar notation of the form of
distance@angle where the 0,0 point is a calculated known offset point in
2d space?
That's question one. if this is in BOSL2, question 2 is where is its
cheat sheet?
Or can I calclate the xy positions with the circles radius*sin(angle)
and cos(angle) for the point in each quadrant of the circle?
Thanks All.
Take care & stay well.
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.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Those points are just points on a square, so you could just place them at
sqrt(2) * the radius. If you want a generic BOSL2 solution that works for
arbitrary angles:
https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-rot_copies
https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-arc_copies
include <BOSL2/std.scad>
angles = [45,135,225,315];
r = 2.625*INCH/2;
rot_copies(angles) right(r) circle();
On Sun, Dec 11, 2022 at 1:21 PM gene heskett <gheskett@shentel.net> wrote:
> Greetings all;
>
> My math for trig funtions is failing me again.
>
> Most small motor makers give their bolt circle specs in polar notation
> but I'd like to make a test pattern on my 3d printer to test the fit
> before I commit to carving up $50 worth of 7075T6 to make the real thing.
>
> The 4 bolt pattern is on a 2.625" diameter circle, located at 45,135,225
> and 315 degrees. In radius that is 33.3375mm
>
> So, can OpenSCAD do this test layout using polar notation of the form of
> distance@angle where the 0,0 point is a calculated known offset point in
> 2d space?
>
> That's question one. if this is in BOSL2, question 2 is where is its
> cheat sheet?
> Or can I calclate the xy positions with the circles radius*sin(angle)
> and cos(angle) for the point in each quadrant of the circle?
>
> Thanks All.
>
> Take care & stay well.
>
> 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/>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
3
3dcase
Sun, Dec 11, 2022 7:03 PM
I like simple things.
for(a=[0:90:360]){
rotate([0,0,a])translate[(radius,0,0])cylinder(h=holedepth,d=boltsize,center=true);
}
And just difference this from your motormount as a module and translate it where you need it.
Maybe not the most elegant pieces of code, but sometimes overcomplicating things puts you in a hard spot.
Sent from Proton Mail mobile
-------- Original Message --------
On 11 Dec 2022, 20:53, Adrian Mariano < avm4@cornell.edu> wrote:
Those points are just points on a square, so you could just place them at sqrt(2) * the radius. If you want a generic BOSL2 solution that works for arbitrary angles:
[https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-rot_copies][https_github.com_revarbat_BOSL2_wiki_distributors.scad_module-rot_copies]
[https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-arc_copies][https_github.com_revarbat_BOSL2_wiki_distributors.scad_module-arc_copies]
include <BOSL2/std.scad>
angles = [45,135,225,315];
r = 2.625*INCH/2;
rot_copies(angles) right(r) circle();
On Sun, Dec 11, 2022 at 1:21 PM gene heskett <[gheskett@shentel.net][gheskett_shentel.net]> wrote:
Greetings all;
My math for trig funtions is failing me again.
Most small motor makers give their bolt circle specs in polar notation
but I'd like to make a test pattern on my 3d printer to test the fit
before I commit to carving up $50 worth of 7075T6 to make the real thing.
The 4 bolt pattern is on a 2.625" diameter circle, located at 45,135,225
and 315 degrees. In radius that is 33.3375mm
So, can OpenSCAD do this test layout using polar notation of the form of
distance@angle where the 0,0 point is a calculated known offset point in
2d space?
That's question one. if this is in BOSL2, question 2 is where is its
cheat sheet?
Or can I calclate the xy positions with the circles radius*sin(angle)
and cos(angle) for the point in each quadrant of the circle?
Thanks All.
Take care & stay well.
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/
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to [discuss-leave@lists.openscad.org][discuss-leave_lists.openscad.org]
I like simple things.
for(a=\[0:90:360\])\{
rotate(\[0,0,a\])translate\[(radius,0,0\])cylinder(h=holedepth,d=boltsize,center=true);
\}
And just difference this from your motormount as a module and translate it where you need it.
Maybe not the most elegant pieces of code, but sometimes overcomplicating things puts you in a hard spot.
Sent from Proton Mail mobile
\-------- Original Message --------
On 11 Dec 2022, 20:53, Adrian Mariano < avm4@cornell.edu> wrote:
>
>
>
> Those points are just points on a square, so you could just place them at sqrt(2) \* the radius. If you want a generic BOSL2 solution that works for arbitrary angles:
>
>
>
>
>
> [https://github.com/revarbat/BOSL2/wiki/distributors.scad\#module-rot\_copies][https_github.com_revarbat_BOSL2_wiki_distributors.scad_module-rot_copies]
>
> [https://github.com/revarbat/BOSL2/wiki/distributors.scad\#module-arc\_copies][https_github.com_revarbat_BOSL2_wiki_distributors.scad_module-arc_copies]
>
>
>
>
> include <BOSL2/std.scad>
>
> angles = \[45,135,225,315\];
> r = 2.625\*INCH/2;
>
> rot\_copies(angles) right(r) circle();
>
>
>
>
>
> On Sun, Dec 11, 2022 at 1:21 PM gene heskett <[gheskett@shentel.net][gheskett_shentel.net]> wrote:
>
>
> > Greetings all;
> >
> > My math for trig funtions is failing me again.
> >
> > Most small motor makers give their bolt circle specs in polar notation
> > but I'd like to make a test pattern on my 3d printer to test the fit
> > before I commit to carving up $50 worth of 7075T6 to make the real thing.
> >
> > The 4 bolt pattern is on a 2.625" diameter circle, located at 45,135,225
> > and 315 degrees. In radius that is 33.3375mm
> >
> > So, can OpenSCAD do this test layout using polar notation of the form of
> > distance@angle where the 0,0 point is a calculated known offset point in
> > 2d space?
> >
> > That's question one. if this is in BOSL2, question 2 is where is its
> > cheat sheet?
> > Or can I calclate the xy positions with the circles radius\*sin(angle)
> > and cos(angle) for the point in each quadrant of the circle?
> >
> > Thanks All.
> >
> > Take care & stay well.
> >
> > 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/>
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
> > OpenSCAD mailing list
> > To unsubscribe send an email to [discuss-leave@lists.openscad.org][discuss-leave_lists.openscad.org]
> >
[https_github.com_revarbat_BOSL2_wiki_distributors.scad_module-rot_copies]: https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-rot_copies
[https_github.com_revarbat_BOSL2_wiki_distributors.scad_module-arc_copies]: https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-arc_copies
[gheskett_shentel.net]: mailto:gheskett@shentel.net
[discuss-leave_lists.openscad.org]: mailto:discuss-leave@lists.openscad.org
RW
Raymond West
Sun, Dec 11, 2022 7:06 PM
found attached, if any use, while looking for something elser
On 11/12/2022 18:20, gene heskett wrote:
Greetings all;
My math for trig funtions is failing me again.
Most small motor makers give their bolt circle specs in polar notation
but I'd like to make a test pattern on my 3d printer to test the fit
before I commit to carving up $50 worth of 7075T6 to make the real thing.
The 4 bolt pattern is on a 2.625" diameter circle, located at
45,135,225 and 315 degrees. In radius that is 33.3375mm
So, can OpenSCAD do this test layout using polar notation of the form
of distance@angle where the 0,0 point is a calculated known offset
point in 2d space?
That's question one. if this is in BOSL2, question 2 is where is its
cheat sheet?
Or can I calclate the xy positions with the circles radius*sin(angle)
and cos(angle) for the point in each quadrant of the circle?
Thanks All.
Take care & stay well.
Cheers, Gene Heskett.
found attached, if any use, while looking for something elser
On 11/12/2022 18:20, gene heskett wrote:
> Greetings all;
>
> My math for trig funtions is failing me again.
>
> Most small motor makers give their bolt circle specs in polar notation
> but I'd like to make a test pattern on my 3d printer to test the fit
> before I commit to carving up $50 worth of 7075T6 to make the real thing.
>
> The 4 bolt pattern is on a 2.625" diameter circle, located at
> 45,135,225 and 315 degrees. In radius that is 33.3375mm
>
> So, can OpenSCAD do this test layout using polar notation of the form
> of distance@angle where the 0,0 point is a calculated known offset
> point in 2d space?
>
> That's question one. if this is in BOSL2, question 2 is where is its
> cheat sheet?
> Or can I calclate the xy positions with the circles radius*sin(angle)
> and cos(angle) for the point in each quadrant of the circle?
>
> Thanks All.
>
> Take care & stay well.
>
> Cheers, Gene Heskett.
NH
nop head
Sun, Dec 11, 2022 7:08 PM
Or simply:
r = 2.625*INCH/2;
for(a = [45,135,225,315])
rotate(a)
translate([r, 0])
circle();
On Sun, 11 Dec 2022 at 18:53, Adrian Mariano avm4@cornell.edu wrote:
Greetings all;
My math for trig funtions is failing me again.
Most small motor makers give their bolt circle specs in polar notation
but I'd like to make a test pattern on my 3d printer to test the fit
before I commit to carving up $50 worth of 7075T6 to make the real thing.
The 4 bolt pattern is on a 2.625" diameter circle, located at 45,135,225
and 315 degrees. In radius that is 33.3375mm
So, can OpenSCAD do this test layout using polar notation of the form of
distance@angle where the 0,0 point is a calculated known offset point in
2d space?
That's question one. if this is in BOSL2, question 2 is where is its
cheat sheet?
Or can I calclate the xy positions with the circles radius*sin(angle)
and cos(angle) for the point in each quadrant of the circle?
Thanks All.
Take care & stay well.
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.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Or simply:
r = 2.625*INCH/2;
for(a = [45,135,225,315])
rotate(a)
translate([r, 0])
circle();
On Sun, 11 Dec 2022 at 18:53, Adrian Mariano <avm4@cornell.edu> wrote:
> Those points are just points on a square, so you could just place them at
> sqrt(2) * the radius. If you want a generic BOSL2 solution that works for
> arbitrary angles:
>
> https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-rot_copies
> https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-arc_copies
>
> include <BOSL2/std.scad>
>
> angles = [45,135,225,315];
> r = 2.625*INCH/2;
>
> rot_copies(angles) right(r) circle();
>
> On Sun, Dec 11, 2022 at 1:21 PM gene heskett <gheskett@shentel.net> wrote:
>
>> Greetings all;
>>
>> My math for trig funtions is failing me again.
>>
>> Most small motor makers give their bolt circle specs in polar notation
>> but I'd like to make a test pattern on my 3d printer to test the fit
>> before I commit to carving up $50 worth of 7075T6 to make the real thing.
>>
>> The 4 bolt pattern is on a 2.625" diameter circle, located at 45,135,225
>> and 315 degrees. In radius that is 33.3375mm
>>
>> So, can OpenSCAD do this test layout using polar notation of the form of
>> distance@angle where the 0,0 point is a calculated known offset point in
>> 2d space?
>>
>> That's question one. if this is in BOSL2, question 2 is where is its
>> cheat sheet?
>> Or can I calclate the xy positions with the circles radius*sin(angle)
>> and cos(angle) for the point in each quadrant of the circle?
>>
>> Thanks All.
>>
>> Take care & stay well.
>>
>> 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/>
>> _______________________________________________
>> OpenSCAD mailing list
>> To unsubscribe send an email to discuss-leave@lists.openscad.org
>>
> _______________________________________________
> OpenSCAD mailing list
> To unsubscribe send an email to discuss-leave@lists.openscad.org
>
GH
gene heskett
Sun, Dec 11, 2022 7:49 PM
On 12/11/22 13:53, Adrian Mariano wrote:
I think got it figured out w/o BOSL2:
module bolt_holes()
{
for(i=[45:90:360])
{
c=cos(i);
s=sin(i);
echo(c,s);
translate([cmtrbltrad,smtrbltrad,0])cylinder(h=3,d=mtrblth,center=true);
}
};
looks right, plastic is cheap. I'm placing t-nut holes to hang it on the
ender5='s frame now, 7075t6 still in box.
Sometimes just got to think it out with the tools at hand ;o)>
Thanks Adrian, for another way to solve my problem.
When I get this started on the printer and it not raining, I'll go get
some fresh JBWeld to make it all happen, I'm putting flying parts on a
diet with carbon fiber tunes. Feeding the printer from a dryer box, I'm
getting a new appreciation for really dry filament.
Take care & stay well.
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.
On 12/11/22 13:53, Adrian Mariano wrote:
> Those points are just points on a square, so you could just place them at
> sqrt(2) * the radius. If you want a generic BOSL2 solution that works for
> arbitrary angles:
>
> https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-rot_copies
> https://github.com/revarbat/BOSL2/wiki/distributors.scad#module-arc_copies
>
> include <BOSL2/std.scad>
>
> angles = [45,135,225,315];
> r = 2.625*INCH/2;
>
> rot_copies(angles) right(r) circle();
>
I think got it figured out w/o BOSL2:
module bolt_holes()
{
for(i=[45:90:360])
{
c=cos(i);
s=sin(i);
echo(c,s);
translate([c*mtrbltrad,s*mtrbltrad,0])cylinder(h=3,d=mtrblth,center=true);
}
};
looks right, plastic is cheap. I'm placing t-nut holes to hang it on the
ender5='s frame now, 7075t6 still in box.
Sometimes just got to think it out with the tools at hand ;o)>
Thanks Adrian, for another way to solve my problem.
When I get this started on the printer and it not raining, I'll go get
some fresh JBWeld to make it all happen, I'm putting flying parts on a
diet with carbon fiber tunes. Feeding the printer from a dryer box, I'm
getting a new appreciation for really dry filament.
Take care & stay well.
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/>
GH
gene heskett
Sun, Dec 11, 2022 8:35 PM
On 12/11/22 14:03, 3dcase wrote:
Which did not survive t-birds reply logic, code damaged as well as the
text by html conversions, but I got the gist of it, and its essentially
what I've just fed the printer for a test part. If this fits, I'm out of
excuses to delay going after some fresh JBWeld and making real progress
on this printer rebuild to about a 20x faster printer.
Thank you, take care and stay well.
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.
On 12/11/22 14:03, 3dcase wrote:
Which did not survive t-birds reply logic, code damaged as well as the
text by html conversions, but I got the gist of it, and its essentially
what I've just fed the printer for a test part. If this fits, I'm out of
excuses to delay going after some fresh JBWeld and making real progress
on this printer rebuild to about a 20x faster printer.
Thank you, take care and stay well.
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/>
GH
gene heskett
Sun, Dec 11, 2022 8:40 PM
On 12/11/22 14:06, Raymond West wrote:
found attached, if any use, while looking for something elser
On 11/12/2022 18:20, gene heskett wrote:
Greetings all;
My math for trig funtions is failing me again.
Most small motor makers give their bolt circle specs in polar notation
but I'd like to make a test pattern on my 3d printer to test the fit
before I commit to carving up $50 worth of 7075T6 to make the real thing.
The 4 bolt pattern is on a 2.625" diameter circle, located at
45,135,225 and 315 degrees. In radius that is 33.3375mm
So, can OpenSCAD do this test layout using polar notation of the form
of distance@angle where the 0,0 point is a calculated known offset
point in 2d space?
That's question one. if this is in BOSL2, question 2 is where is its
cheat sheet?
Or can I calclate the xy positions with the circles radius*sin(angle)
and cos(angle) for the point in each quadrant of the circle?
Thanks All.
Take care & stay well.
Cheers, Gene Heskett.
A different approach, I'll save FFU. Thank you Ray.
Take care and stay well.
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.
On 12/11/22 14:06, Raymond West wrote:
> found attached, if any use, while looking for something elser
>
>
> On 11/12/2022 18:20, gene heskett wrote:
>> Greetings all;
>>
>> My math for trig funtions is failing me again.
>>
>> Most small motor makers give their bolt circle specs in polar notation
>> but I'd like to make a test pattern on my 3d printer to test the fit
>> before I commit to carving up $50 worth of 7075T6 to make the real thing.
>>
>> The 4 bolt pattern is on a 2.625" diameter circle, located at
>> 45,135,225 and 315 degrees. In radius that is 33.3375mm
>>
>> So, can OpenSCAD do this test layout using polar notation of the form
>> of distance@angle where the 0,0 point is a calculated known offset
>> point in 2d space?
>>
>> That's question one. if this is in BOSL2, question 2 is where is its
>> cheat sheet?
>> Or can I calclate the xy positions with the circles radius*sin(angle)
>> and cos(angle) for the point in each quadrant of the circle?
>>
>> Thanks All.
>>
>> Take care & stay well.
>>
>> Cheers, Gene Heskett.
>
A different approach, I'll save FFU. Thank you Ray.
Take care and stay well.
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/>
GH
gene heskett
Sun, Dec 11, 2022 8:42 PM
On 12/11/22 14:09, nop head wrote:
Or simply:
r = 2.625*INCH/2;
for(a = [45,135,225,315])
rotate(a)
translate([r, 0])
circle();
And that should work too. Marked FFUse, thank you nop head.
Take care and stay well.
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.
On 12/11/22 14:09, nop head wrote:
> Or simply:
> r = 2.625*INCH/2;
> for(a = [45,135,225,315])
> rotate(a)
> translate([r, 0])
> circle();
>
>
And that should work too. Marked FFUse, thank you nop head.
Take care and stay well.
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/>
DM
Douglas Miller
Mon, Dec 12, 2022 2:02 AM
Converting polar to rectangular:
x = r cos(theta)
y = r sin(theta)
On 12/11/2022 1:20 PM, gene heskett wrote:
Greetings all;
My math for trig funtions is failing me again.
Most small motor makers give their bolt circle specs in polar notation
but I'd like to make a test pattern on my 3d printer to test the fit
before I commit to carving up $50 worth of 7075T6 to make the real thing.
The 4 bolt pattern is on a 2.625" diameter circle, located at
45,135,225 and 315 degrees. In radius that is 33.3375mm
So, can OpenSCAD do this test layout using polar notation of the form
of distance@angle where the 0,0 point is a calculated known offset
point in 2d space?
That's question one. if this is in BOSL2, question 2 is where is its
cheat sheet?
Or can I calclate the xy positions with the circles radius*sin(angle)
and cos(angle) for the point in each quadrant of the circle?
Thanks All.
Take care & stay well.
Cheers, Gene Heskett.
Converting polar to rectangular:
x = r cos(theta)
y = r sin(theta)
On 12/11/2022 1:20 PM, gene heskett wrote:
> Greetings all;
>
> My math for trig funtions is failing me again.
>
> Most small motor makers give their bolt circle specs in polar notation
> but I'd like to make a test pattern on my 3d printer to test the fit
> before I commit to carving up $50 worth of 7075T6 to make the real thing.
>
> The 4 bolt pattern is on a 2.625" diameter circle, located at
> 45,135,225 and 315 degrees. In radius that is 33.3375mm
>
> So, can OpenSCAD do this test layout using polar notation of the form
> of distance@angle where the 0,0 point is a calculated known offset
> point in 2d space?
>
> That's question one. if this is in BOSL2, question 2 is where is its
> cheat sheet?
> Or can I calclate the xy positions with the circles radius*sin(angle)
> and cos(angle) for the point in each quadrant of the circle?
>
> Thanks All.
>
> Take care & stay well.
>
> Cheers, Gene Heskett.