Graphscad
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Graphscad

Graphscad : The Graphic Nodal Editor for OpenScad
 
HomeLatest imagesSearchRegisterLog in

 

 Proposed node type: debug_aid

Go down 
AuthorMessage
ChrisLT




Messages : 45
Date d'inscription : 2017-01-30
Localisation : Newbury, Berkshire, England

Proposed node type: debug_aid Empty
PostSubject: Proposed node type: debug_aid   Proposed node type: debug_aid Icon_minitimeTue 14 Feb - 1:59

I have created a node to implement OpenSCAD's four debug features that allow an object or tree to be shown in any of four special ways. See the OpenSCAD documentation.
The four are:
- ignore the object/subtree but show it in transparent grey
- highlight it in pink
- isolate it by ignoring everything else
- disable and hide it

My implementation has an object output connector, but I think this should be left unconnected.
Attachments
Proposed node type: debug_aid Attachmentnode_debug_aid.zip
Chris Lusby Taylor's proposed node_debug_aid and its icon
You don't have permission to download attachments.
(25 Kb) Downloaded 1 times
Back to top Go down
ChrisLT




Messages : 45
Date d'inscription : 2017-01-30
Localisation : Newbury, Berkshire, England

Proposed node type: debug_aid Empty
PostSubject: Re: Proposed node type: debug_aid   Proposed node type: debug_aid Icon_minitimeTue 14 Feb - 12:27

I have realised that it is useful to be able to turn debugging on and off, so have added an on-off switch. I have also added a small demo .scad file to show it in use.
My previous comment about not connecting the output of the debug node was wrong. You can connect it, as this demo shows.
Attachments
Proposed node type: debug_aid Attachmentnode_debug_aid.zip
New version of ChrisLT's node_debug_aid with a small demo file.
You don't have permission to download attachments.
(28 Kb) Downloaded 0 times
Back to top Go down
 
Proposed node type: debug_aid
Back to top 
Page 1 of 1
 Similar topics
-
» Proposed node type: val_to_text
» Proposed node type: multiple variables
» How to create new node types
» Idea: Colour by name node
» Why does boolean node include translation?

Permissions in this forum:You cannot reply to topics in this forum
Graphscad :: show your creations-
Jump to: