Add a Create Boundary/Perimeter Command



  • @vectoradmin
    Thanks for the steps to the video.

    I was able to successfully recreate what you did except I was having trouble with alignment centering. I'm sending you the file to see what I did wrong (probably😃 ) or if something is not quite working properly in VS.


  • administrators

    @Vector-Rock Everything was done right. Unfortunately, alignment is not really suitable to to center offset shapes, as the bounding box may be extended unevenly around the offset shape. Alignment centers the bounding box of the two objects, not the shapes.

    These steps would really need some kind of optical alignment (not available yet), or a proper live boundary feature with all these steps (will be done).


  • administrators

    @Vector-Rock One way to make alignment usable for this is to use rounded corners in the Offset Path effect.
    To do this, open the Offset Path effect in the effects panel, switch to the detailed view (upper right corner icon with circle and dots inside).
    In the Join drop down, select Round.

    Then the sharp corners will have a round offset, avoiding the long miters causing the uneven bounding box expansion.

    0_1620039435396_offsetpath.png



  • @vectoradmin said in Add a Create Boundary/Perimeter Command:

    @Vector-Rock Everything was done right. Unfortunately, alignment is not really suitable to to center offset shapes, as the bounding box may be extended unevenly around the offset shape. Alignment centers the bounding box of the two objects, not the shapes.

    These steps would really need some kind of optical alignment (not available yet), or a proper live boundary feature with all these steps (will be done).

    Thanks for clarifying that. I forgot to take into account the bounding box, oops! 😊

    So, if I understand you correctly, just as you offer two Offset Path options, a destructive one (Object> Shape>Offset Path) and a live fx version (Effects>Outline>Offset Path) so the user can choose the best one for the task at hand, your plan is offer two (2) varieties of the Boundary feature as well, a destructive one and a proper live fx one. If so, that would really be cool.


  • administrators

    @Vector-Rock said in Add a Create Boundary/Perimeter Command:

    plan is offer two (2) varieties of the Boundary feature as well, a destructive one and a proper live fx one. If so, that would really be cool.

    yes, in fact all the shape combination operators (intersect, union, etc) already come in both destructive and nondestructive forms.



  • @vectoradmin said in Add a Create Boundary/Perimeter Command:

    @Vector-Rock said in Add a Create Boundary/Perimeter Command:

    plan is offer two (2) varieties of the Boundary feature as well, a destructive one and a proper live fx one. If so, that would really be cool.

    yes, in fact all the shape combination operators (intersect, union, etc) already come in both destructive and nondestructive forms.

    That's outstanding! Really looking forward to this.


  • administrators

    @Vector-Rock Boundary shape operation is available in build 1.0.025.
    Some observations on this one:

    • both destructive and nondestructive boundary operation on shapes are available from the menu and the toolbar (without offset).
    • a destructive mode with offset can be achieved with the Object -> Shape -> Offset Path command. Make sure to set the Combining drop down to Before and check the Boundary Offset option.
    • when using shape references to a group (as in the demo videi), the Mode shape option (new, both in context panel and shape panel) can be set to Boundary to have a shape that is the boundary of a group. This will be nondestructive (live) and the Offset Path effect can be used to add a (live) offset.
    • and probably the most interesting form of boundary: using the Contour effect, add a single contour (fixed steps set to 1), with a fill and stroke. In the Contour panel menu uncheck the Symmetric Offset option (to create a single outer contour) and check the Offset of Boundary from the Combine Mode menu of the panel.

    Let me know if there are issues or improvement ideas.



  • @vectoradmin

    Great job! Take a bow.👏

    A tip of the hat 🎩 from me.☺

    What is really nice is that not only did you add a proven tool that already existed elsewhere, but also got creative to expand its capabilities to improve it. Well done.

    I have only had a chance to just get started playing around with the options you mentioned, so here are a couple quick observations:

    Two changes I would like to see

    1. Have the created Boundary take on the default properties for fill and stroke as set up in user preferences*
    2. Have the created Boundary be placed on the top of the objects it was created from


  • @vectoradmin

    also, forgot to mention.

    Notes*:
    The two above requests are as done in CorelDRAW.

    • CorelDRAW default for newly created graphic objects is Black Stroke, NO Fill.
      (User can Change Document Default properties for Fill and Stroke to any color and stroke settings; which if done, the Boundary will be created with the newly created/changed fill and stroke)

    • Boundary appears on Top/in front by default
      (In the Boundary Docker Panel, there is an option check box to "Place behind selected", to override the default)

    • In the Boundary Docker Panel, there is an option check box to remove the "original objects" from which the Boundary was created, which also would override the default.

    By the way, in CorelDRAW, you can actually enable and apply a Boundary when only a Single Object is selected! You CAN'T access it from the Context Property bar, because the Boundary Icon will be grayed out...... however, it can be accessed and used through the Bounty Docker Panel... or... if the Boundary Icon has been manually added to the Toolbar by customization.


  • administrators

    @Vector-Rock The boundary boolean operation has been improved in builds 1.0.026 and 1.0.027. The options can be accessed in the Path panel menu. The default fill style will still be the selected object style, as the default drawing style is updated when an object is selected,