locked
cut tool (aimee) - 3/23/2007 9:20 AM PST RRS feed

  • Question

  • By: aimee

    is there a way to cut out a shape from an existing one? let's say a small 
    circle inside a square? the end goal is to have a square with a hole in it? 
    :| or in general to cut off a part from an existing vector shape.  Thanks to 
    anyone who can answer me. I've been doing a (very painful) workaround all 
    this time and i don't think it should be too hard. :|
    Tuesday, February 19, 2008 10:44 PM

Answers

  • By: Jen Rowe [MSFT]
    Blend does support some combine operations.
    Look under the menu: Object->Combine-> (you will see operations for unite,
    divide, subtract, intersect, exclude overlap). The Blend user guide has a
    nice description of what each of these do.

    For your scenario try this:
    1. Draw a rectangle
    2. Draw an ellipse inside the rectangle
    3. from the structured timeline view, select the ellipse first, then the
    rectangle (the last thing you have selected becomes the primary selection
    and this is what you will be "subtracting" from)
    4. Object->Combine_>Subtract

    result:
    One path object (made up of sub paths) of a rectangular shape with a hole in
    the center.
    If you want to play with individual peices, you can select this path object
    and choose "Object->Path->Release Compound Path.

    Hope this helps,


    Jen Rowe(MSFT), Expression Blend
    "Content is provided "AS IS" with no warranties and confers no rights

    "aimee" <aimee@discussions.microsoft.com> wrote in message
    news:1F22E630-02B2-42D6-8BEF-0371EE01327E@microsoft.com...

    Click to show or hide original message or reply text.


    Tuesday, February 19, 2008 11:03 PM
  • By: Mario Tayah (MS)

    hi,

    yes there is a way to do so.
    1) create a rectangle
    2) create an ellipse inside of the rectangle
    3) select both of the elements(rectangle, ellipse)
    4) object->combine-> subtract

    you should get a square with a hole inside, but note that both elements are
    now replaced with a path element.

    please let us know if this helps,

    thank you,

    mario

    --
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "aimee" <aimee@discussions.microsoft.com> wrote in message
    news:1F22E630-02B2-42D6-8BEF-0371EE01327E@microsoft.com...

    Click to show or hide original message or reply text.
    Tuesday, February 19, 2008 11:04 PM

All replies

  • By: Jen Rowe [MSFT]
    Blend does support some combine operations.
    Look under the menu: Object->Combine-> (you will see operations for unite,
    divide, subtract, intersect, exclude overlap). The Blend user guide has a
    nice description of what each of these do.

    For your scenario try this:
    1. Draw a rectangle
    2. Draw an ellipse inside the rectangle
    3. from the structured timeline view, select the ellipse first, then the
    rectangle (the last thing you have selected becomes the primary selection
    and this is what you will be "subtracting" from)
    4. Object->Combine_>Subtract

    result:
    One path object (made up of sub paths) of a rectangular shape with a hole in
    the center.
    If you want to play with individual peices, you can select this path object
    and choose "Object->Path->Release Compound Path.

    Hope this helps,


    Jen Rowe(MSFT), Expression Blend
    "Content is provided "AS IS" with no warranties and confers no rights

    "aimee" <aimee@discussions.microsoft.com> wrote in message
    news:1F22E630-02B2-42D6-8BEF-0371EE01327E@microsoft.com...

    Click to show or hide original message or reply text.


    Tuesday, February 19, 2008 11:03 PM
  • By: Mario Tayah (MS)

    hi,

    yes there is a way to do so.
    1) create a rectangle
    2) create an ellipse inside of the rectangle
    3) select both of the elements(rectangle, ellipse)
    4) object->combine-> subtract

    you should get a square with a hole inside, but note that both elements are
    now replaced with a path element.

    please let us know if this helps,

    thank you,

    mario

    --
    --
    This posting is provided "AS IS" with no warranties, and confers no rights.

    "aimee" <aimee@discussions.microsoft.com> wrote in message
    news:1F22E630-02B2-42D6-8BEF-0371EE01327E@microsoft.com...

    Click to show or hide original message or reply text.
    Tuesday, February 19, 2008 11:04 PM
  • By: aimee
    Hey thanks for the replies all!

    "Mario Tayah (MS)" wrote:

    Click to show or hide original message or reply text.


    Tuesday, February 19, 2008 11:05 PM