Merge, subtract or intersect shapes

From Apache OpenOffice Wiki
Jump to: navigation, search


The functions Merge, Subtract, and Intersect can be reached, after you have selected more than one object, in the Modify > Shapes menu or though the (group’s) right-clickmenu under the heading Shapes.

Merge

When you merge objects, the new object covers the entire surface of the original objects (it is the union of the objects). In the same way as combining, the fill of the merged object is determined by the fill of the object furthest in the background. Other properties are not taken over into the new object.

DG5-a.png

Subtract

When you subtract, the upper object is subtracted from the lower object.

DG5-b.png

Intersect

When you intersect two objects, you get the area covered by both objects.

DG5-c.png

Tip.png How do I move an object so it is further back or closer to the front? See Aids for positioning objects.


Practical example

The following example shows how you can use the shape merge functions to create a complex shape, namely a knife with a wooden handle.

  1. Draw an ellipse and then a rectangle overlapping half of its width.
  2. DG5-d.gif

  3. Select both shapes, right-click, and choose Shapes > Subtract from the pop-up menu. The result should resemble the shape at right:
  4. File:DG5-e.png

  5. Draw another rectangle and put it over the top half of the ellipse. Then subtract again.
  6. File:DG5-f.png

  7. Draw a small ellipse covering just the lower right corner and subtract again.
  8. File:DG5-g.png

  9. The knife blade is now complete. To make the handle, draw a rectangle and an ellipse as shown.
  10. DG5-h.gif

  11. Merge the shapes together.
  12. File:DG5-i.png

  13. Group this image with the previous one.
  14. DG5-j.gif


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools