Subtracting two objects not working as intended :(

Post questions on how to use or achieve an effect in Inkscape.
Argitoth
Posts: 21
Joined: Tue Dec 13, 2011 4:02 am

Subtracting two objects not working as intended :(

Postby Argitoth » Sun Jan 19, 2014 2:32 pm

Trying to remove the red square/area from the blue object. (see svg) http://www.elanhickler.com/transfer/logo_need_help.svg

so the result ends up like this

Image

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Subtracting two objects not working as intended :(

Postby ragstian » Sun Jan 19, 2014 4:53 pm

Hi

1. First convert the two blue objects to paths by - Stroke to path - CTRL + ALT + C. Combine the two paths with Path Combine - (CTRL + K)
2. Draw one square the size of the upper four squares plus the what you want to remove from the blue part. (148.724 x 41.49 pixels) Set fill to red and stroke to none.
3. Ungroup all the black squares.
4. Select and group the four upper black squares.
5. Select the square drawn in step 2 then select the group of four squares.
6. Use the "Align and distribute" tool (SHIFT + CTRL + A)
7. Set the "Align - relative to" to "Last selected"
8. Click the third icon in the first and then the third icon in the second row in the align and distribute dialog. (Center on vertical and center on horizontal axes)
9. Move the drawn square below the black (but above the blue objects - select the square and use PAGE DOWN.)
10. Select the red square and the blue object.
11. Perform Path Difference.

Step10 and 11 to be done in the attached file.

Good Luck
RGDS
Ragnar
Attachments
logo_need_help_fin.svg
(14.92 KiB) Downloaded 173 times
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Subtracting two objects not working as intended :(

Postby Lazur » Sun Jan 19, 2014 8:30 pm

Might as well redraw that part from scratch.
The horizontal path is not matching with the circle arch, which itself is rotated.
Cannot effectively describe how that could be done right, so made this version:
SVG Image

Argitoth
Posts: 21
Joined: Tue Dec 13, 2011 4:02 am

Re: Subtracting two objects not working as intended :(

Postby Argitoth » Mon Jan 20, 2014 12:51 am

That's what I needed! :oops: Convert stroke to path. I was able to figure out the rest after that.

But, curious how Lazur URH recreated the shapes.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Subtracting two objects not working as intended :(

Postby Lazur » Mon Jan 20, 2014 2:36 am

Used the *tool to draw a dodecagon, converted it to path,
selected the nodes with the node editor tool and set them to be smooth.
Locked the object's dimensions together and typed in the height of the circle arch.
Duplicated it, then scale it down with the double of the arch's stroke width,
mirrored it and combined it with the original path, resulting in a "ring".
After that, duplicated it and broke apart to have another dodecagon, which then was scaled
to be as high as the stroke width of the circle arch, then
used the align and distribute panel to center align it vertically to the ring and to the right edge horizontally.
Duplicated it and moved the duplicant to the left, combined it with the original, and used
the node editor tool to make a path wich has it's right corners rounded, and the left edge vertical.
Duplicated it, and snapped the top right node to the intersection of the ring path and the original horizontal path.
Deleted that original path.
Center aligned a shape to the ring, to have a cut object for the e-s right edge.
Made it's segment to go from the centre to the end of the arch, then, scaled it from the centre making it cross the ring's outer edge too.
Then duplicated the paths and made the necessary booleans with pre-drawn shapes,
deleted unnecessary nodes on the cutted and the original paths, combined them together, unconnected segments here, connected others there, and voila!
A clean shape.
-Something alike. As far as the original's proportions could make it.
I think it would look better if the square's grid would mach with the "e" shape, but that's just personal opinion.

Argitoth
Posts: 21
Joined: Tue Dec 13, 2011 4:02 am

Re: Subtracting two objects not working as intended :(

Postby Argitoth » Mon Jan 20, 2014 4:35 am

Lazur URH wrote:I think it would look better if the square's grid would mach with the "e" shape, but that's just personal opinion.
I appreciate the suggestion. I was playing with that idea, but I like the asymetrical-ness of the original (or whatever the term would be).


Return to “Help with using Inkscape”