discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Style questions

RW
Roger Whiteley
Tue, Aug 23, 2022 10:46 AM

Jordan, yes, I do just that

On 20/08/2022 05:29, discuss-request@lists.openscad.org wrote:

All of them?  Even, say, a translate() rotate() scale() sequence?  So
you would do

 translate(...)
      rotate(...)
          scale(...)
              something(...);

 Because it reminds me that the execution is inside-out, so scale is
done before rotate, its the sort of thing I trip over when trying to do
all the graphical moves in my grey cells first.

I do use a wide screen monitor attached to an Ubuntu laptop, so I live
with the white space, but its also a habit I found when creating YAML
directives for Ansible, and Python - where white space seems to matter.

Roger.

Jordan, yes, I do just that On 20/08/2022 05:29, discuss-request@lists.openscad.org wrote: > All of them?  Even, say, a translate() rotate() scale() sequence?  So > you would do > > translate(...) > rotate(...) > scale(...) > something(...); >  Because it reminds me that the execution is inside-out, so scale is done before rotate, its the sort of thing I trip over when trying to do all the graphical moves in my grey cells first. I do use a wide screen monitor attached to an Ubuntu laptop, so I live with the white space, but its also a habit I found when creating YAML directives for Ansible, and Python - where white space seems to matter. Roger.