Graphscad : The Graphic Nodal Editor for OpenScad
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 

 Idea: a new control statement CASE

Go down 

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

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


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.

Back to top Go down
View user profile

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
Idea: a new control statement CASE
Back to top 
Page 1 of 1
 Similar topics
» Shortcut to run test case with selenium ide
» 'Play Current Test Case' button not support to Ruby language.
» Selenium Remote Control misbehaves
» Minecraft Mod Idea
» calling one juint's test case from another junit test case

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