Open rmburg opened 3 weeks ago
Elements in groups can currently not be addressed by intersections.
intersections
The following code does not work:
#cetz.canvas({ group( name: "foo", { rotate(45deg) rect(name: "bar", (-1, -1), (1, 1)) }, ) line(name: "baz", (-2, -2), (2, 2)) intersections("i", "foo.bar", "baz") })
This could have a big impact on performance, because we would have to store all named objects in the context.
Elements in groups can currently not be addressed by
intersections
.The following code does not work: