Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Allow multiple output wires from the top of a layer stack

Open tschundler opened this issue 1 year ago • 3 comments

When duplicating something, it seems to copy the whole tree. Edits to the original do not affect the copy. Most of the time, I suspect that is what users want.

But I was thinking I could use this like Blender geometry nodes and use the original data multiple times. The graph seems to require one input to one output? So there doesn't seem (to me) to be an intuitive way to duplicate geometry - eg transform a shape two different ways and apply a boolean while keeping just one set of original shapes.

tschundler avatar Aug 02 '24 20:08 tschundler

Example where I started experimenting to create a wiggly line graphic design element and was hoping to use such a feature: Worm.graphite.zip

I wanted to experiment with sizes and angles. (in the end I used CAD software)

tschundler avatar Aug 02 '24 20:08 tschundler

Right now this is possible if you run it through an Identity node (basically a passthrough, or the "reroute" dots in other node graph apps).

https://github.com/user-attachments/assets/35182b8b-c2cd-4183-8dcd-837a664fd9ff

Here it is cleaned up even a bit more after the video:

capture

The problem you encountered is that layer stacks don't permit multiple outputs from the top connection. We'll fix that.

Keavon avatar Aug 03 '24 06:08 Keavon

Worm Cleaned Up.graphite.txt

By the way, here's your artwork with the graph cleaned up. I did that by dragging around layers while holding Shift to move the whole layer chain of nodes around to organize things. (An auto-layout system is currently in development.) Download the file and remove the .txt extension.

Keavon avatar Aug 03 '24 06:08 Keavon