Graphscad

Graphscad : The Graphic Nodal Editor for OpenScad
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share
 

 Idea: a new control statement CASE

Go down 
AuthorMessage
Kpacnaja_Shapotshka



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

Idea: a new control statement CASE Empty
PostSubject: Idea: a new control statement CASE   Idea: a new control statement CASE Icon_minitimeSun 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

Idea: a new control statement CASE Empty
PostSubject: Re: Idea: a new control statement CASE   Idea: a new control statement CASE Icon_minitimeSun 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
Back to top 
Page 1 of 1
 Similar topics
-
» Minecraft Mod Idea
» How smartgwt widgets recognize?
» Rebekah Brooks Arrested!!!
» Selenium spying the oracle sql developer
» Binta Y La Gran Idea Dvdrip

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