breaking up polar grid

Post questions on how to use or achieve an effect in Inkscape.
Kalagaraz
Posts: 2
Joined: Sun Jan 27, 2013 2:51 pm

breaking up polar grid

Postby Kalagaraz » Sun Jan 27, 2013 2:58 pm

Simple question I hope. I created a polar grid with the built-in extension in inkscape and I would like to break up the chunks into different pieces so I can use them individually in a game I am working on.

I could probably just create a single piece manually using beizer curves, but I'd like to do it from the grid so I can be assured I can reassemble it as a perfect circle back in the game.

I've tried converting it to a path and breaking it apart but no luck :(

Thanks,
Kalagaraz

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: breaking up polar grid

Postby brynn » Sun Jan 27, 2013 11:38 pm

Image
Welcome Kalagaraz!

Hhmmm....I can't think of any really good way to do this.....

You could draw a simple circle or rectangle that is larger than the polar grid. Give it some color, any color (you could even use a gradient). Place it behind the grid, and make sure it completely encloses the grid on all sides. Duplicate the grid, then ungroup them, then do Path menu > Stroke to Path, to both of them. The deselect both and select one of them, and then Path menu > Combine. Then select those paths and the background object, and do Path menu > Difference. Then you'd have to do a bunch of node editing, to correct the minor, yet important distortion caused by the Stroke to Path command, by snapping nodes of the cells to the 2nd and still whole grid. A LOT of work!

Maybe someone else will have a better idea Image

Kalagaraz
Posts: 2
Joined: Sun Jan 27, 2013 2:51 pm

Re: breaking up polar grid

Postby Kalagaraz » Mon Jan 28, 2013 1:01 am

brynn wrote:Image
Welcome Kalagaraz!

Hhmmm....I can't think of any really good way to do this.....

You could draw a simple circle or rectangle that is larger than the polar grid. Give it some color, any color (you could even use a gradient). Place it behind the grid, and make sure it completely encloses the grid on all sides. Duplicate the grid, then ungroup them, then do Path menu > Stroke to Path, to both of them. The deselect both and select one of them, and then Path menu > Combine. Then select those paths and the background object, and do Path menu > Difference. Then you'd have to do a bunch of node editing, to correct the minor, yet important distortion caused by the Stroke to Path command, by snapping nodes of the cells to the 2nd and still whole grid. A LOT of work!

Maybe someone else will have a better idea Image


I figured out a way to do it just a few mins ago :) paint bucket tool inside the chunks, then remove the object created and add stroke to it :) Creates a perfect duplicate I believe of that chunk as a seperate object.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: breaking up polar grid

Postby brynn » Mon Jan 28, 2013 1:25 am

Yes, I thought of that as well. But it would take even longer than differencing the whole thing all at once. And you're stil likely the have the same difficulty re-aligning them to the grid, if you move them individually. There may be no easy way to do this....but it seems like it shouldn't be so hard??


Return to “Help with using Inkscape”