The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniGraffle General (http://forums.omnigroup.com/forumdisplay.php?f=10)
-   -   Help - Drawing segmented circle. (http://forums.omnigroup.com/showthread.php?t=20691)

Simon Knight 2011-04-13 07:56 AM

Help - Drawing segmented circle.
 
Hi,
I am attempting to draw a clock face where every 15 degrees is shown in a different colour. My approach is to draw a single segment and duplicate it 24 times but getting the segments aligned is difficult. Is there a better way?

best wishes
Simon

john.gersh 2011-04-14 06:29 AM

The alignment needn't be difficult.

Make sure Smart Alignment Guides is enabled.
Using the filled-sector tool, make a circular segment. (Holding shift while drawing ensures it's circular.)
Drag one corner handle to 0 degrees and the other to 15.
Duplicate the segment. Rotate the new segment by 15 degrees. (Geometry Inspector thumbwheel edit field). Snap the new segment to the original. The smart guides do the snapping and indicate when you're aligned in both dimensions.
Repeat till done.

Tedious, but not difficult. You can speed it up by grouping a few segments and then duplicating and aligning the groups.

Simon Knight 2011-04-14 08:03 AM

John,

Thats brilliant! Although I've used OG for many years I have completely missed the "Adjustable Wedge". Up until now I have been subtracting rotated rectangles from circles to create wedges - which was a complete pain. The joy of your method and the "Adjustable Wedge" is that small groups e.g. 90degrees may be duplicated, rotated and added.

Thanks
Simon

Simon Knight 2011-04-14 08:12 AM

And another thing....

If a wedge is created as described above e.g. 30 degrees and then duplicated 12 times the wedges may be assembled using the Applescript "Arrange in a Circle" with the radius set to 0.

best wishes
Simon

john.gersh 2011-04-15 09:11 AM

Simon,

It's good that you got through my mistake. I said "filled-sector tool," when I really meant "adjustable wedge shape."

- John


All times are GMT -8. The time now is 11:25 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.