Graphscad

Graphscad : The Graphic Nodal Editor for OpenScad
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Idea: a new control statement CASE

View previous topic View next topic Go down 
AuthorMessage
Kpacnaja_Shapotshka



Messages : 8
Date d'inscription : 2017-02-11

PostSubject: Idea: a new control statement CASE   Sun 12 Feb - 0:51

Hi,

what the OpenSCAD language is missing is a case control statement. This leads to tremendous if-than-else-cascades, when a case statement would be a much more readable alternative.

How about a case node in Graphscad with 2 to n boolean expression inputs , an object input for each expression being true and one else object input. This can be automatically translated into the OpenSCAD-if-then-else cascade.

You made advanced object nodes like emptysphere, pulley or roundcube. An advanced control statement node like a case node would also make readability of a node graph much more simple.

Kpacnaja_Shapotshka
Back to top Go down
View user profile
Admin
Admin


Messages : 59
Date d'inscription : 2017-01-08

PostSubject: Re: Idea: a new control statement CASE   Sun 12 Feb - 14:41

good suggestion... will create a switchcase node.
Back to top Go down
View user profile http://graphscad.forumotion.com
 
Idea: a new control statement CASE
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Shortcut to run test case with selenium ide
» Avoid browser closing on selenium RC shutdown
» 'Play Current Test Case' button not support to Ruby language.
» Selenium Remote Control misbehaves
» How to disable Remote Control page popping up?

Permissions in this forum:You cannot reply to topics in this forum
Graphscad :: Feature Requests-
Jump to: