Create tiled Clones: spotty performance

Post questions on how to use or achieve an effect in Inkscape.
linebender
Posts: 57
Joined: Fri Feb 11, 2011 3:46 am

Create tiled Clones: spotty performance

Postby linebender » Fri Sep 02, 2011 6:16 am

Sometimes it works great, other times acts weird, and sometimes does nothing at all.

I am mostly working with very simple things..rows/columns, move, scale.. shapes. lines.

I'm tring to make a grid of horizontal and vertical lines gotten from a box which I split apart into 1 horizontal line, 1 vertical. I enter my values into the create tiled clones palette, hit "Create," and nothing happens.

OS X LIon 10.7.1, Inkscape 0.48.1

thanks for any help!

lb

User avatar
Xav
Posts: 1209
Joined: Fri May 08, 2009 1:18 am
Location: UK
Contact:

Re: Create tiled Clones: spotty performance

Postby Xav » Fri Sep 02, 2011 8:01 pm

Your problem might be due to the fact that in SVG a horizontal line has no height, and a vertical line has no width. Sure, they might look fat, but that's just because you can see the stroke applied to the infinitesimally thin line.

There are a few solutions to this, but essentially they all boil down to "give the line some width (or height) before cloning". Here are a few options, but I'm sure there are others:

1) Stroke to path first. This has the disadvantage that you no longer have a simple line.

2) Rotate the line to give it some width. After cloning you can rotate the original line back and the clones will follow. Hold down CTRL while using the rotation handles to ensure you can get back to your starting rotation - or use the Object=>Transform dialogue.

3) Group the line with a second temporary object to create a group with some width. Then clone the group. Once you've cloned you can enter the original group and remove the second object - you're still left with cloned groups rather than lines, but it's just a group of one object.

4) Extend the line perpendicularly - i.e. draw an "L" shape. Once you've cloned, you can delete the extra node from the source to get back to a straight line.


Hope that helps.
Co-creator of The Greys and Monsters, Inked - Inkscape drawn webcomics
Web SiteFacebookTwitter

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Create tiled Clones: spotty performance

Postby ~suv » Fri Sep 02, 2011 9:50 pm

linebender wrote:(…), Inkscape 0.48.1
Xav wrote:Here are a few options, but I'm sure there are others:

1) Stroke to path first. This has the disadvantage that you no longer have a simple line.

2) Rotate the line to give it some width. After cloning you can rotate the original line back and the clones will follow. Hold down CTRL while using the rotation handles to ensure you can get back to your starting rotation - or use the Object=>Transform dialogue.

3) Group the line with a second temporary object to create a group with some width. Then clone the group. Once you've cloned you can enter the original group and remove the second object - you're still left with cloned groups rather than lines, but it's just a group of one object.

4) Extend the line perpendicularly - i.e. draw an "L" shape. Once you've cloned, you can delete the extra node from the source to get back to a straight line.

    5) Temporarily switch to the geometric bbox [1], select the straight line and create the tiled clones (workaround for bug #553912).

    [1] 'File > Inkscape Preferences > Tools > Bounding box to use'

linebender
Posts: 57
Joined: Fri Feb 11, 2011 3:46 am

Re: Create tiled Clones: spotty performance

Postby linebender » Fri Sep 02, 2011 9:58 pm

that works nicely, ~suv

thanks!

lb


Return to “Help with using Inkscape”