Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Inkscape, how to set the coordinates of a control point by entering numbers?

Tags:

In Inkscape, it is quite convenient to move objects by setting the top-left coordinates of an object as numbers. Now what comes to my mind is, is there a similar operation applicable to bezier curve control points? Although I'm looking for an answer, I understand it depends on the features of the software. Thanks in advance.

like image 732
robbie fan Avatar asked Jul 14 '14 07:07

robbie fan


People also ask

What is a path in Inkscape?

A path is a sequence of straight line segments and/or Bezier curves which, as any other Inkscape object, may have arbitrary fill and stroke properties. But unlike a shape, a path can be edited by freely dragging any of its nodes (not just predefined handles) or by directly dragging a segment of the path.

What is object in Inkscape?

Objects in Inkscape are any shapes that make up your overall drawing. This means that any text, path, or shape that you create is essentially an object.


2 Answers

i do not know since when it is available, but you can set point coordinates directly by doing input on the top toolbar

Coordinates input

like image 92
BennyHilarious Avatar answered Oct 16 '22 13:10

BennyHilarious


I've been researching the same question and found this almost 2 year old thread. I'll leave my findings here for those in search of answers:

There's no convenient way of entering control point coordinates manually, but 2 alternatives exist:

easy:

When dragging around a control point you can see it's control point displayed in the status bar at the bottom:

Inkscape pointer coordinates

If you zoom in enough, you're able to place it with fairly high precision.


hard:

  1. Open the corresponding path in the XML editor:

Inkscape XML editor

  1. Select it's attribute d. This attribute describes the path using nodes and control points in a single string of numbers.
  2. The nodes' coordinates (X/Y) are listed first. After that you'll find the letter C indicating the start of the control point coordinates (X/Y).
  3. Edit the points manually and click on the Set Button once you're done. Note: the units used here may differ from the units used to display your page. In that case you will have to calculate an extra offset.
like image 44
pixelperfect Avatar answered Oct 16 '22 13:10

pixelperfect