Inkscape.org
Beginners' Questions tiled clones
  1. #1
    eew eew @eew

    Hallo,

    I try to make an brickwall like this picture.

     

    When I try to Create tiled clones see screen

     

    What I want to achieve is for the lines between the rectangles to be
    overlap each other so that the line is not double.
    I try the X per colom -10% so that the line in the middle
    vertical and horizontal are not double. But I get this kind
    of results.

    Can somebody help me to do this correct.

    Thanks in advance.

  2. #2
    eew eew @eew

    forgot to post the result

    After Clone
  3. #3
    David248 David248 @David248

    A question : what's your design intended to : used as svg, exported as bitmap, used for a plotter ?

    You do not want to further "bend" the brickwall ? 

  4. #4
    David248 David248 @David248
    *

    You're nearly there : the thing is the bounding box.

    • By default, Bounding boxes are set to "Visual bounding boxes" : this means the bounding box take into account stroke width.
    • The other option is "Geometric bounding box" : then the bounding boxes takes the nodes into account.  See first picture : there are two 50 % transparent rectangles : the difference between top and bottom is only stroke width : left rectangles are seen with visual bounding box set, right ones with geometric bounding box.

    These two options are found in global inkscape preferences > Tools (dont browse further).

    When you use tiled clones, the tile size is the bounding box : if you want the strokes to overlap, use geometric box. I used 50 % opacity for better visualization.

    Capture D'Écran 2023 09 12 125354
    Capture D'Écran 2023 09 12 130552
  5. #5
    eew eew @eew

    Thanks for your reply. But it is still not working. I have changed the seting to geometric but I don't see any

    difference. Still double lines.

     

  6. #6
    Paddy_CAD Paddy_CAD @Paddy_CAD

    There seems to be an alternating vertical offset in your clone layout. In the Create Tiled Clones dialog, click the [Reset] button to restore all parameters to default values. Then try the following settings using a single rectangle as the parent shape.

  7. #7
    David248 David248 @David248

    @eew : Follow Paddy_CAD's advice :

    1. Draw the rectangle
    2. Open inkscape global preferences [Ctrl+shift+P], browse to tools, tick geometric bounding box (you see the change when selecting the rectangle).
    3. Select rectangle, open tiled clones dialog :
    • click on reset button
    • then just open shift tab and enter 50% for Shift X : per row
    • enter the number of rows / columns you whish and click on create.

     

  8. #8
    David248 David248 @David248
    *

    Another way to draw the brick wall is to draw a pattern :

    1. First enable snapping to cusps nodes and line midpoints (nothing else).
    2. Draw the rectangle, set the proper stroke width and color. Turn it to path [Path>Object to path]
    3. Select it and keep left mouse button pressed : hit space bar to leave duplicates under the cursor. Snapping helps you to correctly place rectangles : Place two rectangles on first row and one on second row (see screenshot).
    4. Select all rectangles, and combine them [path > combine] them.
    5. Draw another rectangle (for ease : with no stroke, a red fill and semi transparent) as on screenshot, using snapping to midlines and cusp nodes. Don't bother, you're nearly there.
    6. Select both paths (the combinaison of black rectangles, the red one atop) and do [Object > Clip > Set Clip] : let's name the result of this clip the "original path"
    7. Clone the original path (see further) and (the clone stays selected) do [Object > Pattern > Object to pattern]

    Now you can draw any shape, open fil and stroke dialog, click on Pattern icon and apply pattern this pattern to your shape.

    If you need to change pattern stroke size or color, select the original path and make the changes : pattern follows.

    See also there how to use patterns.

    Capture D'Écran 2023 09 13 200123
    Capture D'Écran 2023 09 13 195719
  9. #9
    David248 David248 @David248

    Patterns are ok for bitmaps and svg use, but not for plotter use, as far as I know, hence my question in post 3.

  10. #10
    eew eew @eew

    Thanks for the help. But it is still not working double line between
    the rectangle.

    And indeed I try to draw a brickwall to be used for laser engraving/cutting.

     

    Wall Structure 1
  11. #11
    eew eew @eew

    sorry the previous is very small.

    Wall Structure 1
  12. #12
    David248 David248 @David248
    *

    OK, lets try another way :

    • Try to follow my steps for the pattern until step 6 included. Then :
    • Select combined rectangles and do [path>stroke to path].
    • Select this shape and the red rectangle and do [path > intersection]. Use the result for a clone tiling (with  no shift).
    • You may have to unlink all clones after and select all and do [path > combine]

    ! I hope this works. Not in front of my pc, I didn't test it.

     

     

  13. #13
    Paddy_CAD Paddy_CAD @Paddy_CAD
    *

    I see the problem. Your clones need better parents.

    Your parent shape looks like an innocent rectangle, but beneath that deceptive exterior it's a group comprising a white-filled rectangle centered above a larger black-filled rectangle. Both rectangles have zero stroke width. This is obvious when you switch to [View > Display Mode > Outline].

    Draw a new rectangle. Open the Fill and Stroke dialog [Object > Fill and Stroke...] or [shift+ctrl+f]. Go to the [Stroke style] tab and set [Width: 0.3] or any value you like. Go to the [Stroke paint] tab and select a suitable colour. Now go back to the Create Tiled Clones dialog and try again.

  14. #14
    Paddy_CAD Paddy_CAD @Paddy_CAD
    *

    You now have a perfect running bond on your screen, hopefully, but it's not perfect for engraving. Every adjacent brick results in two overlapping lines at the boundary, which will be double-burned by your laser. You may prefer a different parent yielding single-line boundaries. Perhaps something like these.

    Running Bond 2
  15. #15
    David248 David248 @David248
    *
    Paddy_CAD

    You now have a perfect running bond on your screen, hopefully, but it's not perfect for engraving. Every adjacent brick results in two overlapping lines at the boundary, which will be double-burned by your laser

    Not if you unlink clones and combine them [Path > Combine] or [Ctrl + shift + K] 😉

     

  16. #16
    David248 David248 @David248
    *

    An even faster/simplier solution : I'm a little bit old school, and forgot the recent LPE Tiling

    1. To draw a rectangle...., use rectangle tool [r] 😉. Set proper stroke width. Leave it selected
    2. Open Live Path Effects [Path > Paths effects] and choose Tiling : there you just have to set Offset% to 50% and leave selected "Offset alternate Rows" Icon just next : tadaa ! No matter the visual / geometric bounding box choice, both work.
    3. Satisfied ? : do [Path > Object to Path] to "cook" the effect. Stroke width remains editable.

    BTW : you may need not just lines but shapes for your burning software : do [Path > Stroke To Path] instead of [Path > Object to Path], then.

    As always with inkscape, there are many ways to do

    Capture D'Écran 2023 09 14 184741
  17. #17
    eew eew @eew

    Thank you very much for your explanations and help. I have done the Tiling  and it works

    Again thanks for all the posts and help