Round single corner in a square
Hi, I want to round a single corner of a square, but I can't obtain what I want.
Inside the square there is a circle and I'd like to have the corner with the same roundness of the circle.
What I did till now is: 1) converting the square to a path 2) creating two new nodes in the middle of each side of the corner 3) move handles of the corner to round it
This doesn't work very well, so I tried to duplicate the circle and cut the corner dividing paths. Maybe this is a better solution but I can't exactly align the cutting circle with the first one (I have to align them diagonally).
Is there an easier way to do this? Or a tutorial or something about rounding single corners?
Thank you, Carlo
Mr.SpOOn wrote the following on 10/6/2009 11:48 AM:
Hi, I want to round a single corner of a square, but I can't obtain what I want.
Inside the square there is a circle and I'd like to have the corner with the same roundness of the circle.
What I did till now is:
- converting the square to a path
- creating two new nodes in the middle of each side of the corner
- move handles of the corner to round it
This doesn't work very well, so I tried to duplicate the circle and cut the corner dividing paths. Maybe this is a better solution but I can't exactly align the cutting circle with the first one (I have to align them diagonally).
Is there an easier way to do this? Or a tutorial or something about rounding single corners?
Thank you, Carlo
One way of doing it is to add radii to all 4 corners of your object. Duplicate it, change the color, and remove the radii by clicking on the sharp corner option. Convert the sharp corner object to path. Add a couple nodes near the corner and delete the original corner node to create a chamfer. Now union both objects.
heathenx
PS. There are other ways to do this of course. ;)
Hi Carlo,
I believe this should be allowed in the SVG spec. I started a discussion about this at http://lists.w3.org/Archives/Public/www-svg/2009Oct/
This obviously wouldn't be an immediate solution for you (still need workarounds for now), but it would enable easier handling of such cases in the future.
Thanks, Andreas
Mr.SpOOn wrote:
Hi, I want to round a single corner of a square, but I can't obtain what I want.
Inside the square there is a circle and I'd like to have the corner with the same roundness of the circle.
What I did till now is:
- converting the square to a path
- creating two new nodes in the middle of each side of the corner
- move handles of the corner to round it
This doesn't work very well, so I tried to duplicate the circle and cut the corner dividing paths. Maybe this is a better solution but I can't exactly align the cutting circle with the first one (I have to align them diagonally).
Is there an easier way to do this? Or a tutorial or something about rounding single corners?
Thank you, Carlo
Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Hi,
I made this quick tutorial for you on making a square with just one rounded corner.
http://jakerlund.net/temp/inkscape_square.mov Quick Video Tutorial
Cheers =)
Hi,
I just tried to figure out how to accomplish this, and one way to do it would be as follows:
1. Draw your square.
2. Select it and press F2 (edit path by nodes)
3. Use the round control point to round all of the corners.
4. Perform "Object to Path".
5. Select the control point of the corners you would like to have a 90° angle, by selecting first one point, then (with SHIFT pressed) the other one. (Perform this separate for each angle).
6. After having selected the two points, press "Make selected segments lines" (4th button from right; the one with the two blue control points connected by a straight line).
7. Use the "Edit Path by nodes" tool to move one of the control points until you have a 90° angle.
8. Do this with the control points of all three corners.
That's it!
Greetings,
Claus
Mr.SpOOn wrote:
Hi, I want to round a single corner of a square, but I can't obtain what I want.
Inside the square there is a circle and I'd like to have the corner with the same roundness of the circle.
What I did till now is:
- converting the square to a path
- creating two new nodes in the middle of each side of the corner
- move handles of the corner to round it
This doesn't work very well, so I tried to duplicate the circle and cut the corner dividing paths. Maybe this is a better solution but I can't exactly align the cutting circle with the first one (I have to align them diagonally).
Is there an easier way to do this? Or a tutorial or something about rounding single corners?
Thank you, Carlo
Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Claus Cyrny wrote:
[ ... ] (Perform this separate for each angle).
This should actually read "for each corner".
Claus
This is really the best and simplest way to make a round corner on a square.
2009/10/6 Claus Cyrny <claus.cyrny@...22...>
Hi,
I just tried to figure out how to accomplish this, and one way to do it would be as follows:
Draw your square.
Select it and press F2 (edit path by nodes)
Use the round control point to round all of the corners.
Perform "Object to Path".
Select the control point of the corners you would like to
have a 90° angle, by selecting first one point, then (with SHIFT pressed) the other one. (Perform this separate for each angle).
- After having selected the two points, press "Make selected
segments lines" (4th button from right; the one with the two blue control points connected by a straight line).
- Use the "Edit Path by nodes" tool to move one of the control
points until you have a 90° angle.
- Do this with the control points of all three corners.
That's it!
Greetings,
Claus
Mr.SpOOn wrote:
Hi, I want to round a single corner of a square, but I can't obtain what I want.
Inside the square there is a circle and I'd like to have the corner with the same roundness of the circle.
What I did till now is:
- converting the square to a path
- creating two new nodes in the middle of each side of the corner
- move handles of the corner to round it
This doesn't work very well, so I tried to duplicate the circle and cut the corner dividing paths. Maybe this is a better solution but I can't exactly align the cutting circle with the first one (I have to align them diagonally).
Is there an easier way to do this? Or a tutorial or something about rounding single corners?
Thank you, Carlo
Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now!http://p.sf.net/sfu/devconf _______________________________________________ Inkscape-user mailing listInkscape-user@...2510...://lists.sourceforge.net/lists/listinfo/inkscape-user
--
- Articles http://www.americanchronicle.com/authors/view/2153 (American
Chronicle http://www.americanchronicle.com/)
- django|log http://djangolog.twoday.net/ (in German)
- Djangology http://home.arcor.de/ccyrny/djangology/ (in German)
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
KITTUKAHIER wrote:
This is really the best and simplest way to make a round corner on a square.
Thanks! As a final step, I would suggest to delete the additional control points, in order to get really smooth 90° corners.
Claus
2009/10/6 Claus Cyrny <claus.cyrny@...22... mailto:claus.cyrny@...22...>
Hi, I just tried to figure out how to accomplish this, and one way to do it would be as follows: 1. Draw your square. 2. Select it and press F2 (edit path by nodes) 3. Use the round control point to round all of the corners. 4. Perform "Object to Path". 5. Select the control point of the corners you would like to have a 90° angle, by selecting first one point, then (with SHIFT pressed) the other one. (Perform this separate for each angle). 6. After having selected the two points, press "Make selected segments lines" (4th button from right; the one with the two blue control points connected by a straight line). 7. Use the "Edit Path by nodes" tool to move one of the control points until you have a 90° angle. 8. Do this with the control points of all three corners. That's it! Greetings, Claus Mr.SpOOn wrote:
Hi, I want to round a single corner of a square, but I can't obtain what I want. Inside the square there is a circle and I'd like to have the corner with the same roundness of the circle. What I did till now is: 1) converting the square to a path 2) creating two new nodes in the middle of each side of the corner 3) move handles of the corner to round it This doesn't work very well, so I tried to duplicate the circle and cut the corner dividing paths. Maybe this is a better solution but I can't exactly align the cutting circle with the first one (I have to align them diagonally). Is there an easier way to do this? Or a tutorial or something about rounding single corners? Thank you, Carlo ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net <mailto:Inkscape-user@...1649...ceforge.net> https://lists.sourceforge.net/lists/listinfo/inkscape-user
-- * Articles <http://www.americanchronicle.com/authors/view/2153> (American Chronicle <http://www.americanchronicle.com/>) * django|log <http://djangolog.twoday.net/> (in German) * Djangology <http://home.arcor.de/ccyrny/djangology/> (in German) ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net <mailto:Inkscape-user@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/inkscape-user
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Claus Cyrny wrote:
KITTUKAHIER wrote:
This is really the best and simplest way to make a round corner on a square.
Thanks! As a final step, I would suggest to delete the additional control points, in order to get really smooth 90° corners.
Claus
2009/10/6 Claus Cyrny <claus.cyrny@...22... mailto:claus.cyrny@...22...>
Hi, I just tried to figure out how to accomplish this, and one way to do it would be as follows: 1. Draw your square. 2. Select it and press F2 (edit path by nodes) 3. Use the round control point to round all of the corners. 4. Perform "Object to Path". 5. Select the control point of the corners you would like to have a 90° angle, by selecting first one point, then (with SHIFT pressed) the other one. (Perform this separate for each angle). 6. After having selected the two points, press "Make selected segments lines" (4th button from right; the one with the two blue control points connected by a straight line). 7. Use the "Edit Path by nodes" tool to move one of the control points until you have a 90° angle. 8. Do this with the control points of all three corners. That's it! Greetings, Claus
Isn't point 7 rather cumbersome, and how do you achieve a certainty of 90° angles (except for a case where I use grid etc. and the square aligns well with it.
In any other case I would suggest:
1. Draw the square with the round corners
2. Press Ctrl+D to duplicate it
3. With the duplicate, press the 'Make corners sharp' button
4. Press Ctrl+D to duplicate again
5. Rotate the 2nd duplicate by 45 degrees and position it over the corner that should stay round
6. Select both duplicates and press ctrl - (Difference) to cut away the corner
7. Select the original and the remaining duplicate and press ctrl + (Union) to merge them together
8. pressing F2 you see the nodes, where you can delete unused ones (those not being in the corners or at the start of the round edge)
That's it, and this time the square can lie in any direction, you'll always get right angles in the corners
Alexander Roalter wrote:
Isn't point 7 rather cumbersome, and how do you achieve a certainty of 90° angles (except for a case where I use grid etc. and the square aligns well with it.
In any other case I would suggest:
Draw the square with the round corners
Press Ctrl+D to duplicate it
With the duplicate, press the 'Make corners sharp' button
Press Ctrl+D to duplicate again
Rotate the 2nd duplicate by 45 degrees and position it over the
corner that should stay round
I didn't think of it then, but rotating is not necessary. Only positioning of the 2nd duplicate so that after the difference of point 6 we have an L-shaped object.
- Select both duplicates and press ctrl - (Difference) to cut away the
corner
- Select the original and the remaining duplicate and press ctrl +
(Union) to merge them together
- pressing F2 you see the nodes, where you can delete unused ones
(those not being in the corners or at the start of the round edge)
That's it, and this time the square can lie in any direction, you'll always get right angles in the corners
attached a way how to do it, from bottom to top.
I've been waiting for someone to mention the Division Operation.
A division followed by a union gets you what you want (but does leave excessive nodes on the curve):
http://www.majhost.com/gallery/ffaat/inkscape/corner.png
And if you want to work with nodes and are using 4.7 with node snapping, you can just add a node then move two nodes and perform a union:
http://www.majhost.com/gallery/ffaat/inkscape/corner2.jpg
-Rob A>
2009/10/7 Rob Antonishen <rob.antonishen@...155...>:
I've been waiting for someone to mention the Division Operation.
A division followed by a union gets you what you want (but does leave excessive nodes on the curve):
http://www.majhost.com/gallery/ffaat/inkscape/corner.png
And if you want to work with nodes and are using 4.7 with node snapping, you can just add a node then move two nodes and perform a union:
Thanks. This is what I tried to do and I explained in the first message. I learnt how to align objects later, but didn't think to apply it :D
Thanks, this is really what I was searching for.
By the way, this is planned as a part of the CAD features (I thought there was a way to activate them in the development build but can't recall the keystroke)
Here are the wiki and blueprint pages: http://wiki.inkscape.org/wiki/index.php/SpecFilletChamfer https://blueprints.launchpad.net/inkscape/+spec/fillet-tool
-Rob A>
On Wed, Oct 7, 2009 at 9:32 AM, Mr.SpOOn <mr.spoon21@...155...> wrote:
2009/10/7 Rob Antonishen <rob.antonishen@...155...>:
I've been waiting for someone to mention the Division Operation.
A division followed by a union gets you what you want (but does leave excessive nodes on the curve):
http://www.majhost.com/gallery/ffaat/inkscape/corner.png
And if you want to work with nodes and are using 4.7 with node snapping,
you
can just add a node then move two nodes and perform a union:
Thanks. This is what I tried to do and I explained in the first message. I learnt how to align objects later, but didn't think to apply it :D
Thanks, this is really what I was searching for.
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Rob Antonishen wrote:
I've been waiting for someone to mention the Division Operation.
A division followed by a union gets you what you want (but does leave excessive nodes on the curve):
http://www.majhost.com/gallery/ffaat/inkscape/corner.png
And if you want to work with nodes and are using 4.7 with node snapping, you can just add a node then move two nodes and perform a union:
This is really great! Thanks!
Claus
Just a precision or a much quicker end, it's not necessary transform the circle in path for Division and simplify (Ctrl+L) leave only 2 nodes:
http://www.box.net/shared/c3autismkt
Le mercredi 07 octobre 2009 à 19:24 +0200, Claus Cyrny a écrit :
Rob Antonishen wrote:
I've been waiting for someone to mention the Division Operation.
A division followed by a union gets you what you want (but does leave excessive nodes on the curve):
http://www.majhost.com/gallery/ffaat/inkscape/corner.png
And if you want to work with nodes and are using 4.7 with node snapping, you can just add a node then move two nodes and perform a union:
This is really great! Thanks!
Claus
There's also the option of adding nodes on the corner you need to be rounded. An example attached.
2009/10/7 jean-maurice <jmlecl@...66...>
Just a precision or a much quicker end, it's not necessary transform the circle in path for Division and simplify (Ctrl+L) leave only 2 nodes:
http://www.box.net/shared/c3autismkt
Le mercredi 07 octobre 2009 à 19:24 +0200, Claus Cyrny a écrit :
Rob Antonishen wrote:
I've been waiting for someone to mention the Division Operation.
A division followed by a union gets you what you want (but does leave excessive nodes on the curve):
http://www.majhost.com/gallery/ffaat/inkscape/corner.png
And if you want to work with nodes and are using 4.7 with node snapping, you can just add a node then move two nodes and perform a
union:
This is really great! Thanks!
Claus
-- Jean-Maurice Le Clec'h
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
Another (quick) way to accomplish this (given that the square has just one color with no stroke) would be, to make a square with rounded corners, then make another, much smaller square of the same color, duplicate this twice, until you have three small squares (one for each corner). Finally, position the three squares exactly above the three rounded corners, and perform a Boolean "Union" operation.
Greetings,
Claus
On Tue, Oct 6, 2009 at 12:48 PM, Mr.SpOOn <mr.spoon21@...155...> wrote:
Hi, I want to round a single corner of a square, but I can't obtain what I want.
Inside the square there is a circle and I'd like to have the corner with the same roundness of the circle.
What I did till now is:
- converting the square to a path
- creating two new nodes in the middle of each side of the corner
- move handles of the corner to round it
This doesn't work very well, so I tried to duplicate the circle and cut the corner dividing paths. Maybe this is a better solution but I can't exactly align the cutting circle with the first one (I have to align them diagonally).
Is there an easier way to do this? Or a tutorial or something about rounding single corners?
Thank you, Carlo
How about this?
Basically, create two rectangles, one rounded and one sharp, remove one sharp corner and make a union.
Thanks everybody.
The union between a rounded rectangle and a sharp one works pretty well. Thanks for the suggestion and video tutorial.
Carlo
Another way to do it is to create an open segment, or arc, of the outside of a circle (90 degrees/270 degrees for the upper right corner are the starting and stopping points that work for me in my older version of Inkscape).
Create the square that you will be using then create a smaller version of it.
Give this smaller square a totally white fill and remove the border ('0' line width). Use this little square to cover the one corner and then take your arc and place it on top and then adjust and align. Then group the three items.
I've been following this discussion because I've always known that there ought to be a way to do this whole operation with node points and union, but I could not figure it out.
Jim Jones chineseadjuster.webs.com
-----Original Message----- From: Mr.SpOOn [mailto:mr.spoon21@...155...] Sent: Tuesday, October 06, 2009 4:46 PM To: Inkscape User Community Subject: Re: [Inkscape-user] Round single corner in a square
Thanks everybody.
The union between a rounded rectangle and a sharp one works pretty well. Thanks for the suggestion and video tutorial.
participants (11)
-
Alexander Roalter
-
Andreas Neumann
-
Claus Cyrny
-
heathenx
-
Hystrix
-
jean-maurice
-
Jmx
-
KITTUKAHIER
-
Mr.SpOOn
-
Rob Antonishen
-
Technical Writing Plus