Difference between revisions of "Inkscape/C3/Basics-of-Bezier-Tool/English"
(Created page with "'''Title of script: Basics of Bezier curve''' '''Author:''' Arthi. A '''Keywords:''' Bezier curve, draw straight lines and closed paths, draw curved lines, {| style="bor...") |
Nancyvarkey (Talk | contribs) |
||
Line 25: | Line 25: | ||
* Draw curved lines | * Draw curved lines | ||
* Add, edit and delete nodes<br/> | * Add, edit and delete nodes<br/> | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 35: | Line 32: | ||
* '''Ubuntu Linux''' 12.04 OS | * '''Ubuntu Linux''' 12.04 OS | ||
* '''Inkscape''' version 0.48.4 | * '''Inkscape''' version 0.48.4 | ||
− | |||
− | |||
|- | |- | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| | ||
− | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| I will be recording this tutorial in maximum resolution mode. This is to accommodate all the tools that will be demonstrated. | + | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| I will be recording this tutorial in maximum resolution mode. |
+ | |||
+ | |||
+ | This is to accommodate all the tools that will be demonstrated. | ||
|- | |- | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Open '''Inkscape''' | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Open '''Inkscape''' | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Let us open '''Inkscape.''' | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Let us open '''Inkscape.''' | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 116: | Line 111: | ||
* Click again, hold and drag to form a curve. | * Click again, hold and drag to form a curve. | ||
* Then right-click to complete the curve. | * Then right-click to complete the curve. | ||
− | |||
− | |||
|- | |- | ||
Line 132: | Line 125: | ||
− | + | Then we release the mouse and move the cursor away from the end node of the curved line. | |
+ | |||
+ | |||
+ | We see a curved path in red color. | ||
|- | |- | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Click once >> Straight path >> click and drag | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Click once >> Straight path >> click and drag | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| If you click once and move the cursor, we see a straight path in red color. To make it as curve click and drag. | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| If you click once and move the cursor, we see a straight path in red color. To make it as curve click and drag. | ||
− | |||
− | |||
− | |||
|- | |- | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Release the mouse and notice curved path >> click and drag | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Release the mouse and notice curved path >> click and drag | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Again at the end node the line curves as we move. | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Again at the end node the line curves as we move. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 198: | Line 188: | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Delete the shapes >> Click on '''bezier tool''' | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Delete the shapes >> Click on '''bezier tool''' | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Let me delete all the shapes drawn. | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Let me delete all the shapes drawn. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 336: | Line 323: | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Click on end points >> rotate and resize | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Click on end points >> rotate and resize | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| In a similar way, modify the other '''nodes '''too. | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| In a similar way, modify the other '''nodes '''too. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 409: | Line 393: | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Draw an inverted '''U''' shape >> Click on '''Node tool''' | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Draw an inverted '''U''' shape >> Click on '''Node tool''' | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Using the '''Bezier tool '''draw an inverted '''U''' shape. Click on the '''Node''' '''tool.''' Observe there are 3 '''nodes.''' | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Using the '''Bezier tool '''draw an inverted '''U''' shape. Click on the '''Node''' '''tool.''' Observe there are 3 '''nodes.''' | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 442: | Line 423: | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Select the left segment >> click on first icon | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Select the left segment >> click on first icon | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The next 2 icons works only on segments. So, select the left segment of the '''U '''shape and click on the first icon. | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The next 2 icons works only on segments. So, select the left segment of the '''U '''shape and click on the first icon. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 455: | Line 433: | ||
|- | |- | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Click on next icon | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Click on next icon | ||
− | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Click on the next icon to make it a curved line again. Now move the bezier handles and observe now we can make it into a curve shape. | + | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Click on the next icon to make it a curved line again. |
+ | |||
+ | |||
+ | Now move the '''bezier handles''' and observe now we can make it into a curve shape. | ||
Line 469: | Line 450: | ||
− | Click and drag the nodes to make the '''strokes '''visible. | + | Click and drag the '''nodes''' to make the '''strokes '''visible. |
Line 476: | Line 457: | ||
|- | |- | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to next '''X''' and '''Y''' co ordinates | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to next '''X''' and '''Y''' co ordinates | ||
− | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The next 2 icons helps to move the selected nodes in X and Y directions respectively. | + | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The next 2 icons helps to move the selected '''nodes''' in X and Y directions respectively. |
|- | |- | ||
Line 484: | Line 465: | ||
|- | |- | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to next 2 icons | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Point to next 2 icons | ||
− | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The next 2 icons works if the path has clipping and masking effects. | + | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The next 2 icons works only if the path has clipping and masking effects. |
Line 501: | Line 482: | ||
* Draw straight lines and closed shapes | * Draw straight lines and closed shapes | ||
* Draw curved lines | * Draw curved lines | ||
− | * Add, edit and delete nodes | + | * Add, edit and delete nodes |
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
Line 514: | Line 492: | ||
* Color the petals with pink color. | * Color the petals with pink color. | ||
* Color the stem and leaves with green color. | * Color the stem and leaves with green color. | ||
− | |||
− | |||
|- | |- | ||
Line 533: | Line 509: | ||
|- | |- | ||
| style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| About Slide | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| About Slide | ||
− | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Spoken Tutorial Project is supported by | + | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Spoken Tutorial Project is supported by NMEICT, MHRD, Government of India. |
More information on this Mission is available at this link. | More information on this Mission is available at this link. |
Latest revision as of 10:36, 6 September 2014
Title of script: Basics of Bezier curve
Author: Arthi. A
Keywords: Bezier curve, draw straight lines and closed paths, draw curved lines,
|
|
Opening Slide | Welcome to the Spoken Tutorial on “Basics of Bezier tool” using Inkscape. |
Learning Objectives (Slide) | In this tutorial
|
System requirement (Slide) | To record this tutorial, I am using
|
I will be recording this tutorial in maximum resolution mode.
| |
Open Inkscape | Let us open Inkscape. |
Click on Bezier tool | First let us draw a straight line using Bezier tool.
Let's click on it. |
Point to Tool controls bar | Observe the 4 options in the Tool controls bar at the top left.
|
Click and drag >> Click once and right click | Click once on the canvas and move the cursor to the other end.
Now right-click to complete the line. |
Point to end points | The two end points of the line are called nodes. We will learn more about them a little later.
<<PAUSE>> |
Draw a triangle | Next, let us draw a triangle.
|
Draw a triangle | Now click once more to draw a third line and join it with the starting node to complete the triangle. |
Next, we will draw a curved line using bezier tool. | |
Draw straight line >> Click and drag | Click on the canvas to draw a straight line. Click again, hold and drag to form a curve. |
Click once and right click | Right-click to complete the curve. |
Draw some sample curves | In a similar way, draw some more curve shapes on the canvas.
|
Delete all the shapes | Press Ctrl + A and clear the canvas before proceeding further. |
Next let us learn how to draw a closed curved path. | |
Draw a curved line >> Release the mouse and notice curved path | First draw a curved line on the canvas.
|
Click once >> Straight path >> click and drag | If you click once and move the cursor, we see a straight path in red color. To make it as curve click and drag. |
Release the mouse and notice curved path >> click and drag | Again at the end node the line curves as we move. |
Click once >> Straight path >> click and drag | Again click once we see a straight path in red color. To make the straight line curve, click and drag |
Click once >> move to the starting node and close the path | Again at the end node the line curves as we move. Move the cursor and go back to the starting node and close the path. |
Tool controls bar >> Click on second icon | Go to Tool controls bar. Click on the second icon of the mode. This helps to create spiral paths and irregular shapes. |
Draw some irregular curves | Draw some irregular curves and close the path.
|
Tool controls bar >> Click on third icon | The third icon creates only straight lines. Click on it and draw lines on the canvas. |
Draw straight lines | Note we cannot draw curved lines in this mode.
|
Tool controls bar >> Click on fourth icon | Click on the last icon and draw on the canvas. |
Draw a rectangle with 3 clicks. | In this mode, we can draw only parallel and perpendicular lines i.e. either vertical or horizontal lines.
|
Delete the shapes >> Click on bezier tool | Let me delete all the shapes drawn. |
Point to Shape option >> Click on drop down list | Shape option helps to draw lines or curves in a particular shape.
|
Point to the 5 options | There are 5 options here- None, Triangle in, Triangle out, Ellipse, From clipboard. |
Point to None | The first option that is None does not give any effect. So we will move on to Triangle in. |
Click on Triangle in >> Draw a line | Click on it and draw a line on the canvas.
|
Click on Triangle out >> Draw a line | Next click on Triangle out and draw a line on the canvas.
|
Click on Ellipse >> Draw a line | Click on the Ellipse and draw a line.
|
Point to From clipboard | We will learn about the last option that is From clipboard in later tutorial.
|
Point to the Node tool | Now, let us learn to add, edit and delete nodes.
|
Delete the lines | Delete the lines on the canvas. |
Mode to regular path >> Shape to None | Go to Tool controls bar. Change the Mode to regular path and Shape to None. |
Draw a human palm | Come back to the canvas and draw a rough human palm. |
Click on the Node tool | Now click on the Node tool. |
Notice all the nodes in this figure are visible. | |
Turn your attention to the Tools Controls bar. | |
Point to Tool controls bar | The first 6 icons here, helps to add and delete nodes and paths.
|
Click on a segment >> Point to nodes
Click on Add node >> Point to the newly added node |
Click on any segment. Notice both the nodes turn blue.
|
Repeat the above steps for a smaller segment | Now select a smaller segment and repeat the above steps. |
Point to the newly added node | You will see that a new node is added at the mid-point of the smaller segment. |
Select the node | Now, select the newly added node. |
Click on Delete node | Click on Delete node option. The node is now deleted. |
Click on bezier handle icon | Click on any one of the nodes on the palm.
|
Point to bezier handle | Now the bezier handles for the selected segment is visible. |
Click on any segment and move | If not, then just click on the segment and without releasing the mouse, move it a little.
|
Click on end points >> rotate and resize | Click on the handles to resize and rotate the selected node. |
Click on end points >> rotate and resize | In a similar way, modify the other nodes too. |
Point to join node icon | The next icon helps to join nodes. |
Point to extra node on small finger >>
|
Observe there is an extra node on the index finger.
|
Point to break path icon | The next icon helps to break path at selected nodes.
|
Select node in between thumb and index finger >> click on break path icon | So select the joining node in between and click on break path icon. |
Unselect the node >> select it again. | Unselect the node. Then select it again and move it a little.
|
Select same 2 nodes >> click on next icon | To join them, select the same 2 nodes and click on the join selected end-nodes icon on the Tool controls bar.
|
Click on next icon >>
|
Click on the next icon i.e. Delete segment icon to remove the path or segment. Now the path is removed.
|
Move hand aside. Click on the Bezier tool. | Let me keep this hand aside. Click on the Node tool once again.
|
Point to the next 4 icons | Let us learn how to use next 4 icons on the Tool controls bar.
|
Draw an inverted U shape >> Click on Node tool | Using the Bezier tool draw an inverted U shape. Click on the Node tool. Observe there are 3 nodes. |
Select top node >> Click on Make selected nodes corner icon | Select the top node and click on Make selected nodes corner icon on the Tool controls bar. |
Move the end points of the bezier handle | This makes it as the corner node.
|
Click on the node smooth icon | Click on the next icon to make the node smooth. Observe the change in the shape. |
Click on the node symmetric icon | Click on the next icon which makes the node symmetric. |
Click on the node auto smooth icon | Click on the next icon which makes the node auto smooth.
|
Select the left segment >> click on first icon | The next 2 icons works only on segments. So, select the left segment of the U shape and click on the first icon. |
Click on next icon | As the tool tip says, the segment is now made into a straight line.
|
Click on next icon | Click on the next icon to make it a curved line again.
|
Click on next icon | Click on the next icon to convert selected object to path. |
Click on next icon | Click on the next icon to convert the stroke to path.
|
Point to next X and Y co ordinates | The next 2 icons helps to move the selected nodes in X and Y directions respectively. |
Click on up and down arrows of X and Y | Click on the up and down arrows and observe the change. |
Point to next 2 icons | The next 2 icons works only if the path has clipping and masking effects.
|
Summary (Slide) | Let us summarize.
|
Completed assignment | Here is an assignment for you
|
Completed assignment | Your completed assignment should look like this. |
About Slide | The video available at the following link summarizes the Spoken Tutorial project. Pls watch it. |
About Slide | The Spoken Tutorial Project Team conducts workshops and gives certificates for those who pass an online test.
For more details, please write to us. |
About Slide | Spoken Tutorial Project is supported by NMEICT, MHRD, Government of India.
More information on this Mission is available at this link. |
Acknowledgment | We have come to the end of this tutorial.
This is Arthi and Saurabh from IIT Bombay, signing off. Thanks for joining. |