feat: Add spacing method options to Repeat and Circular Repeat nodes
Closes #2551
@Keavon
!build
| 📦 Build Complete for 16f49221296c334d0b9080914f9f111f57f9dbc0 |
|---|
| https://94ab8d03.graphite.pages.dev |
"Width" is not supposed to be a parameter.
@Keavon can you please review this now?
!build
| 📦 Build Complete for 2ab55ec53aa6b7086426aa764e9c44d5350a07a1 |
|---|
| https://33d7c766.graphite.pages.dev |
Hi @Keavon, any updates on the review when you get a moment?
Repeat Node
Span, Pitch, and Gap work as intended.
Envelope does not. The initial shape should remain in the same position, but Envelope mode currently shifts it. See below for details:
The orange dot at (0, 0) marks the canvas center, and in both examples the rectangle starts centered on the canvas.
Current:
Expected:
File (rename to .graphite):
pr3389-Repeat.txt
Circular Repeat Node
This PR breaks the Circular Repeat node.
The Repeat node uses Direction to define spacing, but Circular Repeat previously distributed instances evenly around the circle by default. This PR doesn’t account for that original behavior.
Video:
https://github.com/user-attachments/assets/19aad6d4-99b9-487c-8cba-138cf87d5030
File (rename to .graphite):
pr3389-Circular_Repeat.txt
CC @Keavon