VectorStyler
    • Categories
    • Unread
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Glitch: shape bounding rect is incorrect

    Scheduled Pinned Locked Moved VectorStyler 1.1 Bugs
    7 Posts 3 Posters 6.8k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pentool
      last edited by

      1. Grab the Pen tool and pen out a shape. Make sure you drag out individual nodes so their handle is relatively long.
      2. Switch to the Shape Editor tool and drag around the shape select all nodes.
      3. Now select the Transform tool (V). At this point you get a bounding rect that surrounds the shape but the bounding rect is taking into consideration (or includes) the node handles as well. There are significant gaps between the bounding rect and the shape (depending on how long the individual node handles are).
      4. Click on the canvas.
      5. Now select the shape. The bounding rect is now correct.

      So every time you drag-select all nodes with the Shape Editor tool then select the Transform tool, you get the wrong bounding box.

      You can do it with a simple circle, too.

      1. Draw a circle.
      2. Convert it to curves.
      3. Grab one of the 4 nodes and pull the handles way out.
      4. Drag-select all nodes with the Shape Editor.
      5. Select the Transform tool. > Incorrect bounding box.

      Video here:
      https://www.youtube.com/watch?v=egyET64IWJQ

      VS 1.1.094

      MacBook Pro 13" early 2015 8G | Intel Iris Graphics 6100 1536 MB | macOS Monterey 12.7.6

      b77B VectorStylerV 2 Replies Last reply Reply Quote 0
      • b77B Offline
        b77 @pentool
        last edited by b77

        @pentool Replicated here. Yes, it looks like the bounding box is drawn around the Bézier handles.

        MacBook Pro (Intel) running Monterey 12.6.4

        1 Reply Last reply Reply Quote 0
        • VectorStylerV Offline
          VectorStyler @pentool
          last edited by

          @pentool @b77 Yes, with a node selection, the bounding box will always include the control points also (this is required to be able to properly scale or rotate these).

          Activating the transform tool with a node selection will keep the node selection. So in this case, it is not the object that is selected, but its nodes.

          P b77B 2 Replies Last reply Reply Quote 0
          • P Offline
            pentool @VectorStyler
            last edited by

            @VectorStyler Yes, but is there a use case why would I wanna see the boundary of the handles? It was obvious immediately that the bounds showing the handles I just don't see its usefulness. I think it's just confusing.

            MacBook Pro 13" early 2015 8G | Intel Iris Graphics 6100 1536 MB | macOS Monterey 12.7.6

            1 Reply Last reply Reply Quote 1
            • b77B Offline
              b77 @VectorStyler
              last edited by b77

              @VectorStyler OK, I have to disagree here, because:

              1. It's confusing since the app displays only the nodes and not the control handles;

              But even if it did display the control handles…

              1. It's not useful (except maybe for Raph Levien 🙂 ) :
              • scaling a shape like this so you can snap it to grid, a guideline or to another
                shape or node is not possible (the bounding box is not where it's needed for that),
                and…
              • rotating is done around a different pivot.

              Same goes when just a part of the nodes are selected — scaling and rotating them
              should be done only with the bounding box around them / the actual path, and in
              this case any symmetric nodes need to be simply converted to smooth (or cusp)
              when scaling.

              So I would not leave it like this since it's not practical.

              MacBook Pro (Intel) running Monterey 12.6.4

              VectorStylerV 1 Reply Last reply Reply Quote 1
              • VectorStylerV Offline
                VectorStyler @b77
                last edited by

                @b77 said in Glitch: shape bounding rect is incorrect:

                scaling and rotating them should be done only with the bounding box around them

                Doing this will not work well if there are only a few nodes selected (not the whole thing).

                b77B 1 Reply Last reply Reply Quote 0
                • b77B Offline
                  b77 @VectorStyler
                  last edited by b77

                  @VectorStyler There has to be a percent-based scaling formula that makes it work
                  for cases where a selected node is not at the extrema of the segment and thus
                  not at the edge of the bounding box, if this is what you mean.

                  MacBook Pro (Intel) running Monterey 12.6.4

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post