Node input/output types #2159
-
First of all, I want to say the UI is very intuitive and I'm glad it provides all the information it does (esp error messages in the node editor). I'm trying to randomly transform nodes in a path (translate, rotate, maybe stretch handles?). There's a couple nodes that look relevant (scatter points, jitter points, offset path?) but on the first two at least I'm getting a type error. The path + transform nodes output IIUC this means there's some sort of compatibility here where It looks like "jitter points" needs vector data, and Rambling a bit above, but
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Regarding the data types, this gets a bit technical and those types you're viewing in the tooltips and error balloons unfortunately aren't designed to be user-facing, they're more of a debug tool until we can solve a few challenges that will let us make them more user-friendly. But since you stared hard enough to try and understand it 😆, I may as well take a quick stab at an explanation:
The issues you're encountering are because a lot of nodes haven't yet been improved to work with group data as well as vector data when it would make sense to just apply the effect for each path in the group. (That's what issue #1929 calls for.) Currently, we have to flatten each group of paths into a single path (with multiple subpaths). You'll want to use the "Flatten Vector Elements" node for that, which converts from GraphicGroup to VectorData. In cases where you want to union the paths together into a single path, you may also want to be aware of the Boolean Operation node which also converts from GraphicGroup to VectorData but it's less robust, more slow, and you should only need it if you don't want overlapping paths for example.
Unfortunately there's nothing that lists all those details in one place. But pay attention to the contextual input hints in the status bar at the bottom of the editor, which is valuable. |
Beta Was this translation helpful? Give feedback.
Regarding the data types, this gets a bit technical and those types you're viewing in the tooltips and error balloons unfortunately aren't designed to be user-facing, they're more of a debug tool until we can solve a few challenges that will let us make them more user-friendly. But since you stared hard enough to try and understand it 😆, I may as well take a quick stab at an explanation:
Concrete(X)
part and just read theX
inside, which might be:VectorData
is a vector path (containing one or more subpaths) but not multiple layers of paths— this is something akin to a …