- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When you use Sketch > Create > Polygon, what exactly does Fusion create, and how do you edit it? For example, create a Hexagon.
What I would expect, under the hood:
- A piece of geometry with 6 side edges and 6 vertices
- The sides are equal lengths, and attached to each other at the vertices
- A variable parameter for the "size", which internally might be based on distance from center to a vertex, or the length of a side.
- A variable parameter for location of the center of polygon
- A variable parameter for the orientation angle of the polygon
... and with those three variables initially unconstrained, I would expect to adjust them with UI gestures, or be able to either edit them in a dialog box, or to be able to apply external graphical constraints, such as X, Y distance dimensions to a vertex, that starts to constrain the position, and then additional constraints could dimension the size and orientation.
However, this does not seem to entirely fit the way Fusion polygons behave.
After initially creating a Hexagon at some random (non-origin) location, we can select it and notice that it has a Pentagon icon at the center. What does that actually do? Double clicking on it doesn't seem to do anything.
Attempting to drag the Hexagon using its center point does not move the Hexagon. Instead, one of the vertices stays fixed in place, and dragging the center point causes the Hexagon to expand and rotate. Not the expected behavior at all. But inconsistent with that (though more expected), dragging any other vertices does in indeed move the Hexagon while preserving size and orientation.
Now browsing the vertices, we see that each one has a Coincident constraint? This is puzzling -- apparently the feature of having the edges join to each other is separate from the Polygon constraint?
We can even delete the coincident constraint at one or two of the vertices. For some of the now-half-constrained edge lines, the free endpoint can be dragged, rotating and stretching that line. But for others of the supposedly now-half-constrained lines, dragging the free endpoint moves the remainder of the polygon around. This acts particularly erratically if there are any additional external constraints on the Polygon.
Deleting the actual Pentagon-icon Polygon constraint does genuinely seem to turn the Hexagon into just six lines joined with coincident endpoints, and then dragging one of those endpoints stretches the two adjoining lines as expected.
So as near as I can tell, the Polygon menu function creates a "thing" that consists of a hodgepodge of individual lines whose endpoints are 'joined" with coincident-constraints that are exposed to the user (at risk of accidental disruption), plus the Polygon constraint itself that maintains some number of additional constraints (endpoint positions? relative angles?) to make the polygon a uniform shape with equal-length sides and equal-angle vertices.
Those inscrutable Polygon constraints are evidently not symmetrical, so that their interaction with UI gestures, and with other external constraints is sometimes unexpected. And that apparatus loses the plot if you accidentally break one or more of the exposed vertex coincident constraints. That accident is particularly apt to happen, since polygon vertices are exactly the places where you are likely to add additional lines and coincident constraints that you later attempt to delete, accidentally clobbering the integrity of the Polygon despite the continued presence of the Polygon constraint icon.
Polygons should be a powerful and easy-to-apply feature, but I consistently stumble over them doing something unexpected that's seemingly unrecoverable and requires basically deleting them and starting over (at the cost of redoing other elements that depend on them).
Perhaps there's more to learn on this?
Solved! Go to Solution.