discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Blind assistance

H
Hendrik
Thu, Mar 3, 2022 6:23 AM
<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} -->Hi all

I am new to openscad and need to design some parts. But the view or render do not help me since I am blind.

So for me to be able to do anything I need to understand some basic stuff so please bepatent with me.

I do understand the coordination system so what I firstly need to make 100% sure of is if I create a cylinder and make center=true is the circle vertically placed with the center of the cylinder vertically going up the y axis and the bottom of the cylinder at x0,y0,z0.

Cylinder(d=5, h=10, center=true)

So in my head I see it as follow:

Left bottom of cylinder at x=-2.5, y= 0, z= 0

Bottom Middle of cylinder at x=0, y=0,z=0

Right bottom of cylinder x=2.5, y=0, z=0

Top left of cylinder x=-2.5, y=10, z=0

Top middle of cylinder x =0, y=10,z=0

Top right of cylinder x=2.5, y=10, z=0

Back bottom of cylinder x=0, y=0, z=-2.5

Front bottom of cylinder = x=0,y=0, z=2.5

Back top of cylinder x=0, y=10, z=-2.5

Front top of cylinder x=0, y=10,z=2.5

So it will give me a upright cylinder.

Do I understand that correctly?

Thank you

Best Regards

Hendrik

Sent from Mail for Windows

ML
Matthias Liffers
Thu, Mar 3, 2022 6:37 AM

Hi Hendrik,

The rendered cylinder will be upright, with its very centre at the origin
(0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its
centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal
circle of diameter 5 with its centre at x=0, y=0, z=-5.

Hope this helps.

Regards,

Matthias.

On Thu, 3 Mar 2022 at 14:23, Hendrik blindguydiy@gmail.com wrote:

Hi all

I am new to openscad and need to design some parts.  But the view or
render do not help me since I am blind.

So for me to be able to do anything I need to understand some basic stuff
so please bepatent with me.

I do understand the coordination system so what I firstly need to make
100% sure of is if I create a cylinder and make center=true is the circle
vertically placed with the center of the cylinder vertically going up the y
axis and the bottom of the cylinder at x0,y0,z0.

Cylinder(d=5, h=10, center=true)

So in my head I see it as follow:

Left bottom of cylinder at x=-2.5, y= 0, z= 0

Bottom Middle of cylinder at x=0, y=0,z=0

Right bottom of cylinder x=2.5, y=0, z=0

Top left of cylinder x=-2.5, y=10, z=0

Top middle of cylinder x =0, y=10,z=0

Top right of cylinder x=2.5, y=10, z=0

Back bottom of cylinder x=0, y=0, z=-2.5

Front bottom of cylinder = x=0,y=0, z=2.5

Back top of cylinder x=0, y=10, z=-2.5

Front top of cylinder x=0, y=10,z=2.5

So it will give me a upright cylinder.

Do I understand that correctly?

Thank you

Best Regards

Hendrik

Sent from Mail https://go.microsoft.com/fwlink/?LinkId=550986 for
Windows


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Hi Hendrik, The rendered cylinder will be upright, with its very centre at the origin (0,0,0). The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5. Hope this helps. Regards, Matthias. On Thu, 3 Mar 2022 at 14:23, Hendrik <blindguydiy@gmail.com> wrote: > Hi all > > > > I am new to openscad and need to design some parts. But the view or > render do not help me since I am blind. > > > > So for me to be able to do anything I need to understand some basic stuff > so please bepatent with me. > > > > I do understand the coordination system so what I firstly need to make > 100% sure of is if I create a cylinder and make center=true is the circle > vertically placed with the center of the cylinder vertically going up the y > axis and the bottom of the cylinder at x0,y0,z0. > > > > Cylinder(d=5, h=10, center=true) > > > > So in my head I see it as follow: > > > > Left bottom of cylinder at x=-2.5, y= 0, z= 0 > > Bottom Middle of cylinder at x=0, y=0,z=0 > > Right bottom of cylinder x=2.5, y=0, z=0 > > Top left of cylinder x=-2.5, y=10, z=0 > > Top middle of cylinder x =0, y=10,z=0 > > Top right of cylinder x=2.5, y=10, z=0 > > Back bottom of cylinder x=0, y=0, z=-2.5 > > Front bottom of cylinder = x=0,y=0, z=2.5 > > Back top of cylinder x=0, y=10, z=-2.5 > > Front top of cylinder x=0, y=10,z=2.5 > > > > So it will give me a upright cylinder. > > > > Do I understand that correctly? > > > > Thank you > > > > Best Regards > > > > Hendrik > > > > > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
JB
Jordan Brown
Thu, Mar 3, 2022 6:43 AM

On 3/2/2022 10:23 PM, Hendrik wrote:

I do understand the coordination system so what I firstly need to make
100% sure of is if I create a cylinder and make center=true is the
circle vertically placed with the center of the cylinder vertically
going up the y axis and the bottom of the cylinder at x0,y0,z0.

No.

First:  in the conventional orientation, X is left-right, Y is
forward-back (into and out of the screen), and Z is up-down.  2D objects
like circles are in the XY plane, at Z=0.

What you describe is the behavior with center=false.  Cylinders are
always centered on X and Y.  The "center" parameter on a cylinder
controls vertical centering.  With center=false, they extend up from
Z=0.  With center=true, they are vertically centered, so in Z they
extend from  negative height/2 to positive height/2.

By the way:  I think I've seen a video showing using OpenSCAD with a
tactile display.  I don't immediately find it, but I do find a few
relevant-looking pages at
https://www.google.com/search?q=openscad+blind+tactile+display .

On 3/2/2022 10:23 PM, Hendrik wrote: > I do understand the coordination system so what I firstly need to make > 100% sure of is if I create a cylinder and make center=true is the > circle vertically placed with the center of the cylinder vertically > going up the y axis and the bottom of the cylinder at x0,y0,z0. No. First:  in the conventional orientation, X is left-right, Y is forward-back (into and out of the screen), and Z is up-down.  2D objects like circles are in the XY plane, at Z=0. What you describe is the behavior with center=false.  Cylinders are always centered on X and Y.  The "center" parameter on a cylinder controls vertical centering.  With center=false, they extend up from Z=0.  With center=true, they are vertically centered, so in Z they extend from  negative height/2 to positive height/2. By the way:  I think I've seen a video showing using OpenSCAD with a tactile display.  I don't immediately find it, but I do find a few relevant-looking pages at https://www.google.com/search?q=openscad+blind+tactile+display .
H
Hendrik
Thu, Mar 3, 2022 7:58 AM
<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} -->Hi Matthias

So if I change the following is it then correct?

Cylinder(d=5, h=10, center=true)

Left bottom of cylinder at x=-2.5, y= 0, z= -5

Bottom Middle of cylinder at x=0, y=0,z=-5

Right bottom of cylinder x=2.5, y=0, z=-5

Top left of cylinder x=-2.5, y=0, z=5

Top middle of cylinder x =0, y=0,z=5

Top right of cylinder x=2.5, y=0, z=5

Back middle bottom of cylinder x=0, y=-2.5, z=-5

Front middle bottom of cylinder = x=0,y=2.5, z=-5

Back middle top of cylinder x=0, y=2.5, z=5

Front middle top of cylinder x=0, y=2.5,z=5

If I understand it now?

Thank you

Sent from Mail for Windows

From: Matthias Liffers
Sent: Thursday, 03 March 2022 08:38
To: OpenSCAD general discussion
Subject: [OpenSCAD] Re: Blind assistance

Hi Hendrik,

The rendered cylinder will be upright, with its very centre at the origin (0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5.

Hope this helps.

Regards,

Matthias.

On Thu, 3 Mar 2022 at 14:23, Hendrik <blindguydiy@gmail.com> wrote:

Hi all

I am new to openscad and need to design some parts. But the view or render do not help me since I am blind.

So for me to be able to do anything I need to understand some basic stuff so please bepatent with me.

I do understand the coordination system so what I firstly need to make 100% sure of is if I create a cylinder and make center=true is the circle vertically placed with the center of the cylinder vertically going up the y axis and the bottom of the cylinder at x0,y0,z0.

Cylinder(d=5, h=10, center=true)

So in my head I see it as follow:

Left bottom of cylinder at x=-2.5, y= 0, z= 0

Bottom Middle of cylinder at x=0, y=0,z=0

Right bottom of cylinder x=2.5, y=0, z=0

Top left of cylinder x=-2.5, y=10, z=0

Top middle of cylinder x =0, y=10,z=0

Top right of cylinder x=2.5, y=10, z=0

Back bottom of cylinder x=0, y=0, z=-2.5

Front bottom of cylinder = x=0,y=0, z=2.5

Back top of cylinder x=0, y=10, z=-2.5

Front top of cylinder x=0, y=10,z=2.5

So it will give me a upright cylinder.

Do I understand that correctly?

Thank you

Best Regards

Hendrik

Sent from Mail for Windows

_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

JB
Jordan Brown
Thu, Mar 3, 2022 8:12 AM

On 3/2/2022 11:58 PM, Hendrik wrote:

Cylinder(d=5, h=10, center=true)

Left bottom of cylinder at x=-2.5, y= 0, z= -5

Bottom Middle of cylinder at x=0, y=0,z=-5

Right bottom of cylinder x=2.5, y=0, z=-5

Top left of cylinder x=-2.5, y=0, z=5

Top middle of cylinder x =0, y=0,z=5

Top right of cylinder x=2.5, y=0, z=5

All of those look right.

Back middle bottom of cylinder x=0, y=-2.5, z=-5

Front middle bottom of cylinder = x=0,y=2.5, z=-5

Positive Y is into the screen; toward the viewer is negative Y.

Back middle top of cylinder x=0, y=2.5, z=5

Front middle top of cylinder x=0, y=2.5,z=5

You're missing a negative sign on the Y in the "front" case.

On 3/2/2022 11:58 PM, Hendrik wrote: > Cylinder(d=5, h=10, center=true) > > Left bottom of cylinder at x=-2.5, y= 0, z= -5 > > Bottom Middle of cylinder at x=0, y=0,z=-5 > > Right bottom of cylinder x=2.5, y=0, z=-5 > > Top left of cylinder x=-2.5, y=0, z=5 > > Top middle of cylinder x =0, y=0,z=5 > > Top right of cylinder x=2.5, y=0, z=5 > All of those look right. > Back middle bottom of cylinder x=0, y=-2.5, z=-5 > > Front middle bottom of cylinder = x=0,y=2.5, z=-5 > Positive Y is into the screen; toward the viewer is negative Y. > Back middle top of cylinder x=0, y=2.5, z=5 > > Front middle top of cylinder x=0, y=2.5,z=5 > You're missing a negative sign on the Y in the "front" case.
GH
gene heskett
Thu, Mar 3, 2022 8:42 AM

On Thursday, 3 March 2022 01:23:09 EST Hendrik wrote:

Hi all

I am new to openscad and need to design some parts.  But the view or
render do not help me since I am blind.

So for me to be able to do anything I need to understand some basic
stuff so please bepatent with me.

I do understand the coordination system so what I firstly need to make
100% sure of is if I create a cylinder and make center=true is the
circle vertically placed with the center of the cylinder vertically
going up the y axis and the bottom of the cylinder at x0,y0,z0.

Cylinder(d=5, h=10, center=true)

So in my head I see it as follow:

Left bottom of cylinder at x=-2.5, y= 0, z= 0

Bottom Middle of cylinder at x=0, y=0,z=0

Right bottom of cylinder x=2.5, y=0, z=0

Top left of cylinder x=-2.5, y=10, z=0

Top middle of cylinder x =0, y=10,z=0

Top right of cylinder x=2.5, y=10, z=0

Back bottom of cylinder x=0, y=0, z=-2.5

Front bottom of cylinder = x=0,y=0, z=2.5

Back top of cylinder x=0, y=10, z=-2.5

Front top of cylinder x=0, y=10,z=2.5

So it will give me a upright cylinder.

Do I understand that correctly?

No Hendrik.

If center=true then the center point of all 3 axises will at x=0,y=0,z=0
and will extend one half of the dimensions you gave it in the x,y, and z
and -x,-y,-z directions.

Take care and stay well.

On Thursday, 3 March 2022 01:23:09 EST Hendrik wrote: > Hi all > > > > I am new to openscad and need to design some parts. But the view or > render do not help me since I am blind. > > > > So for me to be able to do anything I need to understand some basic > stuff so please bepatent with me. > > > > I do understand the coordination system so what I firstly need to make > 100% sure of is if I create a cylinder and make center=true is the > circle vertically placed with the center of the cylinder vertically > going up the y axis and the bottom of the cylinder at x0,y0,z0. > > > > Cylinder(d=5, h=10, center=true) > > > > So in my head I see it as follow: > > > > Left bottom of cylinder at x=-2.5, y= 0, z= 0 > > Bottom Middle of cylinder at x=0, y=0,z=0 > > Right bottom of cylinder x=2.5, y=0, z=0 > > Top left of cylinder x=-2.5, y=10, z=0 > > Top middle of cylinder x =0, y=10,z=0 > > Top right of cylinder x=2.5, y=10, z=0 > > Back bottom of cylinder x=0, y=0, z=-2.5 > > Front bottom of cylinder = x=0,y=0, z=2.5 > > Back top of cylinder x=0, y=10, z=-2.5 > > Front top of cylinder x=0, y=10,z=2.5 > > > > So it will give me a upright cylinder. > > > > Do I understand that correctly? > No Hendrik. If center=true then the center point of all 3 axises will at x=0,y=0,z=0 and will extend one half of the dimensions you gave it in the x,y, and z and -x,-y,-z directions. Take care and stay well.
T
terrypingm@gmail.com
Thu, Mar 3, 2022 9:34 AM

Hi Hendrik,

If you add 5.0 to all your Z dimensions I think you’ll have it the way you want.

You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’.

--
Terry

On 3 Mar 2022, at 07:59, Hendrik blindguydiy@gmail.com wrote:


Hi Matthias

So if I change the following is it then correct?

Cylinder(d=5, h=10, center=true)

Left bottom of cylinder at x=-2.5, y= 0, z= -5
Bottom Middle of cylinder at x=0, y=0,z=-5
Right bottom of cylinder x=2.5, y=0, z=-5
Top left of cylinder x=-2.5, y=0, z=5
Top middle of cylinder x =0, y=0,z=5
Top right of cylinder x=2.5, y=0, z=5
Back middle bottom of cylinder x=0, y=-2.5, z=-5
Front middle bottom of cylinder = x=0,y=2.5, z=-5
Back middle top of cylinder x=0, y=2.5, z=5
Front middle top of cylinder x=0, y=2.5,z=5

If I understand it now?
Thank you

Sent from Mail for Windows

From: Matthias Liffers
Sent: Thursday, 03 March 2022 08:38
To: OpenSCAD general discussion
Subject: [OpenSCAD] Re: Blind assistance

Hi Hendrik,

The rendered cylinder will be upright, with its very centre at the origin (0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5.

Hope this helps.

Regards,

Matthias.

On Thu, 3 Mar 2022 at 14:23, Hendrik blindguydiy@gmail.com wrote:
Hi all

I am new to openscad and need to design some parts.  But the view or render do not help me since I am blind.

So for me to be able to do anything I need to understand some basic stuff so please bepatent with me.

I do understand the coordination system so what I firstly need to make 100% sure of is if I create a cylinder and make center=true is the circle vertically placed with the center of the cylinder vertically going up the y axis and the bottom of the cylinder at x0,y0,z0.

Cylinder(d=5, h=10, center=true)

So in my head I see it as follow:

Left bottom of cylinder at x=-2.5, y= 0, z= 0
Bottom Middle of cylinder at x=0, y=0,z=0
Right bottom of cylinder x=2.5, y=0, z=0
Top left of cylinder x=-2.5, y=10, z=0
Top middle of cylinder x =0, y=10,z=0
Top right of cylinder x=2.5, y=10, z=0
Back bottom of cylinder x=0, y=0, z=-2.5
Front bottom of cylinder = x=0,y=0, z=2.5
Back top of cylinder x=0, y=10, z=-2.5
Front top of cylinder x=0, y=10,z=2.5

So it will give me a upright cylinder.

Do I understand that correctly?

Thank you

Best Regards

Hendrik

Sent from Mail for Windows


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

Hi Hendrik, If you add 5.0 to all your Z dimensions I think you’ll have it the way you want. You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’. -- Terry > On 3 Mar 2022, at 07:59, Hendrik <blindguydiy@gmail.com> wrote: > >  > Hi Matthias > > So if I change the following is it then correct? > > Cylinder(d=5, h=10, center=true) > > Left bottom of cylinder at x=-2.5, y= 0, z= -5 > Bottom Middle of cylinder at x=0, y=0,z=-5 > Right bottom of cylinder x=2.5, y=0, z=-5 > Top left of cylinder x=-2.5, y=0, z=5 > Top middle of cylinder x =0, y=0,z=5 > Top right of cylinder x=2.5, y=0, z=5 > Back middle bottom of cylinder x=0, y=-2.5, z=-5 > Front middle bottom of cylinder = x=0,y=2.5, z=-5 > Back middle top of cylinder x=0, y=2.5, z=5 > Front middle top of cylinder x=0, y=2.5,z=5 > > If I understand it now? > Thank you > > Sent from Mail for Windows > > From: Matthias Liffers > Sent: Thursday, 03 March 2022 08:38 > To: OpenSCAD general discussion > Subject: [OpenSCAD] Re: Blind assistance > > Hi Hendrik, > > The rendered cylinder will be upright, with its very centre at the origin (0,0,0). > > The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5. > > Hope this helps. > > Regards, > > Matthias. > > On Thu, 3 Mar 2022 at 14:23, Hendrik <blindguydiy@gmail.com> wrote: > Hi all > > I am new to openscad and need to design some parts. But the view or render do not help me since I am blind. > > So for me to be able to do anything I need to understand some basic stuff so please bepatent with me. > > I do understand the coordination system so what I firstly need to make 100% sure of is if I create a cylinder and make center=true is the circle vertically placed with the center of the cylinder vertically going up the y axis and the bottom of the cylinder at x0,y0,z0. > > Cylinder(d=5, h=10, center=true) > > So in my head I see it as follow: > > Left bottom of cylinder at x=-2.5, y= 0, z= 0 > Bottom Middle of cylinder at x=0, y=0,z=0 > Right bottom of cylinder x=2.5, y=0, z=0 > Top left of cylinder x=-2.5, y=10, z=0 > Top middle of cylinder x =0, y=10,z=0 > Top right of cylinder x=2.5, y=10, z=0 > Back bottom of cylinder x=0, y=0, z=-2.5 > Front bottom of cylinder = x=0,y=0, z=2.5 > Back top of cylinder x=0, y=10, z=-2.5 > Front top of cylinder x=0, y=10,z=2.5 > > So it will give me a upright cylinder. > > Do I understand that correctly? > > Thank you > > Best Regards > > Hendrik > > > > Sent from Mail for Windows > > _______________________________________________ > 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
H
Hendrik
Thu, Mar 3, 2022 11:44 AM
<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} -->Hi

Ok, now I officially confused.

If center=true how does it work. For if I add 5.0 to my z then I add up with the same as what I had in the first place when I asked the question.

So let us try again.

Cylinder(d=10,h=20, center=true)

“You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’.”

Q: so where is the center then?

The rendered cylinder will be upright, with its very centre at the origin (0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5.

So which one of these is correct?

Sent from Mail for Windows

From: terrypingm@gmail.com
Sent: Thursday, 03 March 2022 11:36
To: OpenSCAD general discussion
Subject: [OpenSCAD] GRe: Re: Blind assistance

Hi Hendrik,

If you add 5.0 to all your Z dimensions I think you’ll have it the way you want.

You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’.

--

Terry

On 3 Mar 2022, at 07:59, Hendrik <blindguydiy@gmail.com> wrote:



Hi Matthias

So if I change the following is it then correct?

Cylinder(d=5, h=10, center=true)

Left bottom of cylinder at x=-2.5, y= 0, z= -5

Bottom Middle of cylinder at x=0, y=0,z=-5

Right bottom of cylinder x=2.5, y=0, z=-5

Top left of cylinder x=-2.5, y=0, z=5

Top middle of cylinder x =0, y=0,z=5

Top right of cylinder x=2.5, y=0, z=5

Back middle bottom of cylinder x=0, y=-2.5, z=-5

Front middle bottom of cylinder = x=0,y=2.5, z=-5

Back middle top of cylinder x=0, y=2.5, z=5

Front middle top of cylinder x=0, y=2.5,z=5

If I understand it now?

Thank you

Sent from Mail for Windows

From: Matthias Liffers
Sent: Thursday, 03 March 2022 08:38
To: OpenSCAD general discussion
Subject: [OpenSCAD] Re: Blind assistance

Hi Hendrik,

The rendered cylinder will be upright, with its very centre at the origin (0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5.

Hope this helps.

Regards,

Matthias.

On Thu, 3 Mar 2022 at 14:23, Hendrik <blindguydiy@gmail.com> wrote:

Hi all

I am new to openscad and need to design some parts. But the view or render do not help me since I am blind.

So for me to be able to do anything I need to understand some basic stuff so please bepatent with me.

I do understand the coordination system so what I firstly need to make 100% sure of is if I create a cylinder and make center=true is the circle vertically placed with the center of the cylinder vertically going up the y axis and the bottom of the cylinder at x0,y0,z0.

Cylinder(d=5, h=10, center=true)

So in my head I see it as follow:

Left bottom of cylinder at x=-2.5, y= 0, z= 0

Bottom Middle of cylinder at x=0, y=0,z=0

Right bottom of cylinder x=2.5, y=0, z=0

Top left of cylinder x=-2.5, y=10, z=0

Top middle of cylinder x =0, y=10,z=0

Top right of cylinder x=2.5, y=10, z=0

Back bottom of cylinder x=0, y=0, z=-2.5

Front bottom of cylinder = x=0,y=0, z=2.5

Back top of cylinder x=0, y=10, z=-2.5

Front top of cylinder x=0, y=10,z=2.5

So it will give me a upright cylinder.

Do I understand that correctly?

Thank you

Best Regards

Hendrik

Sent from Mail for Windows

_______________________________________________
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

BC
Bob Carter
Thu, Mar 3, 2022 12:24 PM

Terry,
You are almost right.

For center = false a cylinder stands centered around x=0, y=0 and z = +h/2  ie it stands on the centre and fully above the x,y plane.

For center = true the cylinder is centered around x=0, y=0 and z = 0 so all 3 planes dissect it in the middle of the object.

Looking at the cylinder as rendered
Plus x is to the right
Plus y is away from you (you have this reversed)
Plus z is upwards

Now this is at odds with a cube which when centre=false is always drawn fully in the positive quadrant of all 3 axes and no part of it goes negative.  But when center=true is rendered like a cylinder so all 3 planes dissect it in the middle of the object.

One point of caution the precision, roundness of an object depends on the values of $fa and/or $fn  such that as an example $fn=6 draws a hexagonal bar and not a cylinder - upping $fn improves the roundness but ups rendering times

Hope that helps
Bob

On 3 Mar 2022, at 11:44, Hendrik blindguydiy@gmail.com wrote:

Hi

Ok, now I officially confused.

If center=true how does it work.  For if I add 5.0 to my z then I add up with the same as what I had in the first place when I asked the question.

So let us try again.

Cylinder(d=10,h=20, center=true)

“You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’.”
Q: so where is the center then?

The rendered cylinder will be upright, with its very centre at the origin (0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5.

So which one of these is correct?

Sent from Mail https://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: terrypingm@gmail.com mailto:terrypingm@gmail.com
Sent: Thursday, 03 March 2022 11:36
To: OpenSCAD general discussion mailto:discuss@lists.openscad.org
Subject: [OpenSCAD] GRe: Re: Blind assistance

Hi Hendrik,

If you add 5.0 to all your Z dimensions I think you’ll have it the way you want.

You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’.

--
Terry

On 3 Mar 2022, at 07:59, Hendrik <blindguydiy@gmail.com mailto:blindguydiy@gmail.com> wrote:


Hi Matthias

So if I change the following is it then correct?

Cylinder(d=5, h=10, center=true)

Left bottom of cylinder at x=-2.5, y= 0, z= -5
Bottom Middle of cylinder at x=0, y=0,z=-5
Right bottom of cylinder x=2.5, y=0, z=-5
Top left of cylinder x=-2.5, y=0, z=5
Top middle of cylinder x =0, y=0,z=5
Top right of cylinder x=2.5, y=0, z=5
Back middle bottom of cylinder x=0, y=-2.5, z=-5
Front middle bottom of cylinder = x=0,y=2.5, z=-5
Back middle top of cylinder x=0, y=2.5, z=5
Front middle top of cylinder x=0, y=2.5,z=5

If I understand it now?
Thank you

Sent from Mail https://go.microsoft.com/fwlink/?LinkId=550986 for Windows

From: Matthias Liffers mailto:m@tthi.as
Sent: Thursday, 03 March 2022 08:38
To: OpenSCAD general discussion mailto:discuss@lists.openscad.org
Subject: [OpenSCAD] Re: Blind assistance

Hi Hendrik,

The rendered cylinder will be upright, with its very centre at the origin (0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5.

Hope this helps.

Regards,

Matthias.

On Thu, 3 Mar 2022 at 14:23, Hendrik <blindguydiy@gmail.com mailto:blindguydiy@gmail.com> wrote:
Hi all

I am new to openscad and need to design some parts.  But the view or render do not help me since I am blind.

So for me to be able to do anything I need to understand some basic stuff so please bepatent with me.

I do understand the coordination system so what I firstly need to make 100% sure of is if I create a cylinder and make center=true is the circle vertically placed with the center of the cylinder vertically going up the y axis and the bottom of the cylinder at x0,y0,z0.

Cylinder(d=5, h=10, center=true)

So in my head I see it as follow:

Left bottom of cylinder at x=-2.5, y= 0, z= 0
Bottom Middle of cylinder at x=0, y=0,z=0
Right bottom of cylinder x=2.5, y=0, z=0
Top left of cylinder x=-2.5, y=10, z=0
Top middle of cylinder x =0, y=10,z=0
Top right of cylinder x=2.5, y=10, z=0
Back bottom of cylinder x=0, y=0, z=-2.5
Front bottom of cylinder = x=0,y=0, z=2.5
Back top of cylinder x=0, y=10, z=-2.5
Front top of cylinder x=0, y=10,z=2.5

So it will give me a upright cylinder.

Do I understand that correctly?

Thank you

Best Regards

Hendrik

Sent from Mail https://go.microsoft.com/fwlink/?LinkId=550986 for Windows


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org mailto:discuss-leave@lists.openscad.org

Terry, You are almost right. For center = false a cylinder stands centered around x=0, y=0 and z = +h/2 ie it stands on the centre and fully above the x,y plane. For center = true the cylinder is centered around x=0, y=0 and z = 0 so all 3 planes dissect it in the middle of the object. Looking at the cylinder as rendered Plus x is to the right Plus y is away from you (you have this reversed) Plus z is upwards Now this is at odds with a cube which when centre=false is always drawn fully in the positive quadrant of all 3 axes and no part of it goes negative. But when center=true is rendered like a cylinder so all 3 planes dissect it in the middle of the object. One point of caution the precision, roundness of an object depends on the values of $fa and/or $fn such that as an example $fn=6 draws a hexagonal bar and not a cylinder - upping $fn improves the roundness but ups rendering times Hope that helps Bob > On 3 Mar 2022, at 11:44, Hendrik <blindguydiy@gmail.com> wrote: > > Hi > > Ok, now I officially confused. > > If center=true how does it work. For if I add 5.0 to my z then I add up with the same as what I had in the first place when I asked the question. > > So let us try again. > > Cylinder(d=10,h=20, center=true) > > “You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’.” > Q: so where is the center then? > > The rendered cylinder will be upright, with its very centre at the origin (0,0,0). > > The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5. > > So which one of these is correct? > > > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows > > From: terrypingm@gmail.com <mailto:terrypingm@gmail.com> > Sent: Thursday, 03 March 2022 11:36 > To: OpenSCAD general discussion <mailto:discuss@lists.openscad.org> > Subject: [OpenSCAD] GRe: Re: Blind assistance > > Hi Hendrik, > > If you add 5.0 to all your Z dimensions I think you’ll have it the way you want. > > You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’. > > -- > Terry > > > On 3 Mar 2022, at 07:59, Hendrik <blindguydiy@gmail.com <mailto:blindguydiy@gmail.com>> wrote: > >  > Hi Matthias > > So if I change the following is it then correct? > > Cylinder(d=5, h=10, center=true) > > Left bottom of cylinder at x=-2.5, y= 0, z= -5 > Bottom Middle of cylinder at x=0, y=0,z=-5 > Right bottom of cylinder x=2.5, y=0, z=-5 > Top left of cylinder x=-2.5, y=0, z=5 > Top middle of cylinder x =0, y=0,z=5 > Top right of cylinder x=2.5, y=0, z=5 > Back middle bottom of cylinder x=0, y=-2.5, z=-5 > Front middle bottom of cylinder = x=0,y=2.5, z=-5 > Back middle top of cylinder x=0, y=2.5, z=5 > Front middle top of cylinder x=0, y=2.5,z=5 > > If I understand it now? > Thank you > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows > > From: Matthias Liffers <mailto:m@tthi.as> > Sent: Thursday, 03 March 2022 08:38 > To: OpenSCAD general discussion <mailto:discuss@lists.openscad.org> > Subject: [OpenSCAD] Re: Blind assistance > > Hi Hendrik, > > The rendered cylinder will be upright, with its very centre at the origin (0,0,0). > > The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5. > > Hope this helps. > > Regards, > > Matthias. > > On Thu, 3 Mar 2022 at 14:23, Hendrik <blindguydiy@gmail.com <mailto:blindguydiy@gmail.com>> wrote: > Hi all > > I am new to openscad and need to design some parts. But the view or render do not help me since I am blind. > > So for me to be able to do anything I need to understand some basic stuff so please bepatent with me. > > I do understand the coordination system so what I firstly need to make 100% sure of is if I create a cylinder and make center=true is the circle vertically placed with the center of the cylinder vertically going up the y axis and the bottom of the cylinder at x0,y0,z0. > > Cylinder(d=5, h=10, center=true) > > So in my head I see it as follow: > > Left bottom of cylinder at x=-2.5, y= 0, z= 0 > Bottom Middle of cylinder at x=0, y=0,z=0 > Right bottom of cylinder x=2.5, y=0, z=0 > Top left of cylinder x=-2.5, y=10, z=0 > Top middle of cylinder x =0, y=10,z=0 > Top right of cylinder x=2.5, y=10, z=0 > Back bottom of cylinder x=0, y=0, z=-2.5 > Front bottom of cylinder = x=0,y=0, z=2.5 > Back top of cylinder x=0, y=10, z=-2.5 > Front top of cylinder x=0, y=10,z=2.5 > > So it will give me a upright cylinder. > > Do I understand that correctly? > > Thank you > > Best Regards > > Hendrik > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org>
H
Hendrik
Thu, Mar 3, 2022 12:30 PM
<!-- /* Font Definitions */ @font-face {font-family:Helvetica; panose-1:2 11 5 4 2 2 2 2 2 4;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} span.apple-converted-space {mso-style-name:apple-converted-space;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} -->Hi

Thanks it does. On the matter of $fn if I always use $fn=100 or higher will that always help in making cylinders and spheres round. Do not mind the rendering time because I will be unable to see and adjust my $fn to be correct. So looking for a safe $fn number to make most spheres and cylinders round.

Thanks

Sent from Mail for Windows

From: Bob Carter
Sent: Thursday, 03 March 2022 14:25
To: OpenSCAD general discussion
Subject: [OpenSCAD] Re: GRe: Re: Blind assistance

Terry,

You are almost right.

For center = false a cylinder stands centered around x=0, y=0 and z = +h/2 ie it stands on the centre and fully above the x,y plane.

For center = true the cylinder is centered around x=0, y=0 and z = 0 so all 3 planes dissect it in the middle of the object.

Looking at the cylinder as rendered

Plus x is to the right

Plus y is away from you (you have this reversed)

Plus z is upwards

Now this is at odds with a cube which when centre=false is always drawn fully in the positive quadrant of all 3 axes and no part of it goes negative. But when center=true is rendered like a cylinder so all 3 planes dissect it in the middle of the object.

One point of caution the precision, roundness of an object depends on the values of $fa and/or $fn such that as an example $fn=6 draws a hexagonal bar and not a cylinder - upping $fn improves the roundness but ups rendering times

Hope that helps

Bob

On 3 Mar 2022, at 11:44, Hendrik <blindguydiy@gmail.com> wrote:

Hi

Ok, now I officially confused.

If center=true how does it work. For if I add 5.0 to my z then I add up with the same as what I had in the first place when I asked the question.

So let us try again.

Cylinder(d=10,h=20, center=true)

“You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’.”

Q: so where is the center then?

The rendered cylinder will be upright, with its very centre at the origin (0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5.

So which one of these is correct?

Sent from Mail for Windows

From: terrypingm@gmail.com
Sent: Thursday, 03 March 2022 11:36
To: OpenSCAD general discussion
Subject: [OpenSCAD] GRe: Re: Blind assistance

Hi Hendrik,

If you add 5.0 to all your Z dimensions I think you’ll have it the way you want.

You had interpreted centre = true as I first did (another novice), thinking ‘centre of the object’.

--

Terry

On 3 Mar 2022, at 07:59, Hendrik <blindguydiy@gmail.com> wrote:



Hi Matthias

So if I change the following is it then correct?

Cylinder(d=5, h=10, center=true)

Left bottom of cylinder at x=-2.5, y= 0, z= -5

Bottom Middle of cylinder at x=0, y=0,z=-5

Right bottom of cylinder x=2.5, y=0, z=-5

Top left of cylinder x=-2.5, y=0, z=5

Top middle of cylinder x =0, y=0,z=5

Top right of cylinder x=2.5, y=0, z=5

Back middle bottom of cylinder x=0, y=-2.5, z=-5

Front middle bottom of cylinder = x=0,y=2.5, z=-5

Back middle top of cylinder x=0, y=2.5, z=5

Front middle top of cylinder x=0, y=2.5,z=5

If I understand it now?

Thank you

Sent from Mail for Windows

From: Matthias Liffers
Sent: Thursday, 03 March 2022 08:38
To: OpenSCAD general discussion
Subject: [OpenSCAD] Re: Blind assistance

Hi Hendrik,

The rendered cylinder will be upright, with its very centre at the origin (0,0,0).

The top of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=5 and the bottom of the cylinder is a horizontal circle of diameter 5 with its centre at x=0, y=0, z=-5.

Hope this helps.

Regards,

Matthias.

On Thu, 3 Mar 2022 at 14:23, Hendrik <blindguydiy@gmail.com> wrote:

Hi all

I am new to openscad and need to design some parts. But the view or render do not help me since I am blind.

So for me to be able to do anything I need to understand some basic stuff so please bepatent with me.

I do understand the coordination system so what I firstly need to make 100% sure of is if I create a cylinder and make center=true is the circle vertically placed with the center of the cylinder vertically going up the y axis and the bottom of the cylinder at x0,y0,z0.

Cylinder(d=5, h=10, center=true)

So in my head I see it as follow:

Left bottom of cylinder at x=-2.5, y= 0, z= 0

Bottom Middle of cylinder at x=0, y=0,z=0

Right bottom of cylinder x=2.5, y=0, z=0

Top left of cylinder x=-2.5, y=10, z=0

Top middle of cylinder x =0, y=10,z=0

Top right of cylinder x=2.5, y=10, z=0

Back bottom of cylinder x=0, y=0, z=-2.5

Front bottom of cylinder = x=0,y=0, z=2.5

Back top of cylinder x=0, y=10, z=-2.5

Front top of cylinder x=0, y=10,z=2.5

So it will give me a upright cylinder.

Do I understand that correctly?

Thank you

Best Regards

Hendrik

Sent from Mail for Windows

_______________________________________________
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

_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org