request center==centre

classic Classic list List threaded Threaded
24 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: request center==centre

cacb
On 07. mars 2018 20:18, Alex Gibson wrote:
> @Carsten - Hvor bor du i Norge / Norge / North Dakota (!)? Snakker du
> Nynorsk eller Bokmål? Jeg er ikke Språkrådet, men jeg tror at sammen vi kan
> enes om et Riksmål for OpenSCAD!

@Alex - Wow, du snakker Norsk, imponerende! Jeg snakker Riksmål og bor i
Buskerud i Norge :-)

I think one written form is the 'only' way for a language like OpenSCAD.
I see libraries like wxWidgets allowing color/colour etc. but for
OpenSCAD I think it would cause more confusion to change it now. I was
taught the British colour and centre at school, but in computer
languages it seems like a lost cause.

These issues don't really stop with English spelling. Why are angles
specified in degrees for example? :-) In computer languages you would
expect sin() and cos() to take radians, but not in OpenSCAD. The list is
quite long if you think about it.

Carsten Arnholm




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: request center==centre

NateTG
I think you can "overwrite" the default modules with user-defined ones, and
probably get the behavio(u)r you're looking for, and then pack it into a
library, so it becomes a single line like:

#use<english.scad>




--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: request center==centre

nophead
In reply to this post by cacb
Radians are good for maths but not for making real life objects where 90, 30, 45 and 60 degrees are useful and cannot be expressed in floating point radians.

On 7 March 2018 at 19:57, Carsten Arnholm <[hidden email]> wrote:
On 07. mars 2018 20:18, Alex Gibson wrote:
@Carsten - Hvor bor du i Norge / Norge / North Dakota (!)? Snakker du
Nynorsk eller Bokmål? Jeg er ikke Språkrådet, men jeg tror at sammen vi kan
enes om et Riksmål for OpenSCAD!

@Alex - Wow, du snakker Norsk, imponerende! Jeg snakker Riksmål og bor i Buskerud i Norge :-)

I think one written form is the 'only' way for a language like OpenSCAD. I see libraries like wxWidgets allowing color/colour etc. but for OpenSCAD I think it would cause more confusion to change it now. I was taught the British colour and centre at school, but in computer languages it seems like a lost cause.

These issues don't really stop with English spelling. Why are angles specified in degrees for example? :-) In computer languages you would expect sin() and cos() to take radians, but not in OpenSCAD. The list is quite long if you think about it.

Carsten Arnholm




_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: request center==centre

runsun
In reply to this post by alexgibson
@Alex, sorry that I can't feel your pain. I believe this issue can be easily
solved in the user space and doesn't warrant a change in the program itself:

module Cube( ... centre)
{
  cube( ... center=centre);
}

module colour( ... )
{
  color(...)
  children();
}

We have lots of other more important stuff in the to-do list.



-----

$  Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), editor of choice: CudaText  ( OpenSCAD lexer );&nbsp;$ Tips ;&nbsp;$ Snippets

--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
$ Runsun Pan, PhD
$ libs: scadx, doctest, faces(git), offline doc(git), runscad.py(2,git), editor of choice: CudaText ( OpenSCAD lexer); $ Tips; $ Snippets
12