Illustrator has the polar grid tool (as mentioned in this question) but how do I properly split a circle into equal sections in Inkscape?
Answer
The naive way is to use the circle tool and its sector (pie chart) mode to draw sectors with the same angle. Press ctrl
while drawing the sectors to enable snapping every 15° (snapping angle can be changed in Edit > Preferences > Behaviour > Steps > Rotation snaps every ... degrees
).
The naive method is viable for a few cases (coarse subdivision, angles are multiples of 15°, ...).
With some effort, you can emulate the linked polar grid tool using Inkscape's tiled clones. For the following steps its good to used the snapping options »center of bounding boxes«, »cusp nodes«, and »rotation center«.
Divide circles/disks into N pie chart pieces / sectors
- Draw a circle.
- Draw a line from the circle's center outwards so that the line is longer than the radius of the circle.
- Move the rotation center of the line to the center of the circle.
Click the line twice (do not double click). A + should apear in the middle of the line. Drag the + to the center of the circle. Snapping is recommended. - Select the line and click
Edit > Clone > Create Tiled Clones...
* - In the tab Symmetry, choose »P1: simple translation« and click Reset.
- In the tab Shift, check Exclude tile Per row.
- In the tab Rotation, enter
360/N
into the field Angle Per row (replace N with the desired number of sectors and yes, Inkscape can calculate 360/N, you don't have to use a calculator) - At the bottom of the dialog, choose Rows, columns and enter
N
and 1 into the related fields. - Click Create.
- Select the resulting clones and unlink them (
shift+alt+d
orEdit > Clone > Unlink Clone
). - Combine the unlinked clones (
ctrl+k
orPath > Combine
). - Divide the circle using the combined object (select both objects,
ctrl+/
orPath > Division
).
Divide circles/disks into N rings/annuli
- Draw a circle.
- Duplicate the circle (
ctrl+d
) and clickEdit > Clone > Create Tiled Clones...
* - In the tab Symmetry, choose »P1: simple translation« and click Reset.
- In the tab Shift, check Exclude tile Per row.
- In the tab Scale, enter
-100/N
into the fields Scale X and Scale Y Per row (replace N with the desired number of sectors and yes, Inkscape can calculate 100/N, you don't have to use a calculator) - At the bottom of the dialog, choose Rows, columns and enter
N
and 1 into the related fields. - Click Create.
- Select the resulting clones and unlink them (
shift+alt+d
orEdit > Clone > Unlink Clone
). - Combine the unlinked clones (
ctrl+k
orPath > Combine
). - Divide the circle using the combined object (select both objects,
ctrl+/
orPath > Division
).
You can also combine both approaches to create a "radar". Simply combine the unlinked clones ("star" and "bulls eye") and use the result to divide your circle.
* In Inkscape 0.91 Create Tiled Clones is a bit buggy. Often the clones will be shifted all over the canvas (probably due to transformation matrices in the xml file). The issue was fixed in Inkscape 0.92.
Workaround:
- Create and place the object which should be cloned.
- Copy the object.
- Create a new layer.
- Change to the new layer.
- Paste the object to the same place (
ctrl+alt+v
) and use the tiled clones.
Update: There is also an addon to draw polar coordinate systems. It may be easier to use such an coordinate system to divide the circle instead of using tiled clones, but I have not tested the addon so far.
No comments:
Post a Comment