Entering co-ordinates for lines/objects

Flesh out your ideas for new or improved Inkscape features before submitting a request.
a.janke
Posts: 6
Joined: Sat Aug 30, 2008 8:42 pm

Entering co-ordinates for lines/objects

Postby a.janke » Sat Aug 30, 2008 8:49 pm

Hi all,

Perhaps I am daft but I have searched (well, ok I asked Google to search for me but you get the point) high and low for a way in which I can input a co-ordinate for a point ala most CAD programs (qCAD for example). The ability for polar co-ordinates would be ace too but I still canna see this option.

I know I can first draw a line and then edit the co-ordinate with the path :tool_node: tool but I want more! ;)

Tips and/or pointers would be much appreciated. I would use qCad for this but I use and love inkscape for just about everything else so why not this.

ta


Andrew

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Entering co-ordinates for lines/objects

Postby prkos » Sat Aug 30, 2008 10:23 pm

There are input boxes under Node tool :tool_node: where you can enter coordinates for nodes, just select a node and change the numbers, don't forget that the y-axis goes from the bottom upwards. Is this similar to what you mention in CAD?

In the development builds there is a Render Polar Grid option under Effects > Render. It doesn't give you the option to enter polar coordinates but with snapping to it you can probably achieve what you're after.

Image
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

a.janke
Posts: 6
Joined: Sat Aug 30, 2008 8:42 pm

Re: Entering co-ordinates for lines/objects

Postby a.janke » Sat Aug 30, 2008 10:29 pm

@prkos

Thanks for the reply, you are right, I can change node co-ordinates after they are in (and this is currently how I do things combined with guides at known co-ordinates and angles). What I am really after however is something whereby you first pick the Bezier/Line tool and then instead of clicking for the first point you can enter something like:

100,0

for the first point and then

150@70

for the next point to be 150mm long at a direction of 70 degrees. But from what I can see this can't be done although you can see the co-ordinate of the line in the lower right hand corner of the status bar.

ta


a

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: Entering co-ordinates for lines/objects

Postby prkos » Sat Aug 30, 2008 10:55 pm

You should report this to Inkscape bug tracking tool (it's for feature requests too).

I think it's a useful feature and maybe wouldn't be hard to implement, I'm not very familiar with svg but "relative coordinates" ring a bell, anyway developers will decide on that.

It could be another Render effect (Render path using coordinates or something), where you would have GUI to enter node info, add more nodes and their coordinates to the dialog, angle info as you suggested, maybe even node type and handle coordinates... Do you have any more ideas what needs to be there? Put it all in the request, illustrate on an example where this would be useful. You can even gimp up a fake screenshot of what the dialog would look like, it helps the developers understand what you need and how it might be done.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

Solomoriah
Posts: 1
Joined: Wed Sep 03, 2008 10:37 am

Re: Entering co-ordinates for lines/objects

Postby Solomoriah » Wed Sep 03, 2008 10:43 am

I'm also interested in this. My desire at present is to be able to render some fairly simple objects with exact dimensions.

For instance: I need an object which is a 35 degree section of a 4" radius circle, with the "inner" 2.5" radius removed. A 35 degree section of a washer shape, basically. I have absolutely no idea how to achieve this. Probably Inkscape is not the right tool for my needs, but right now, not being a draftsman, I don't know the right tool for my needs. I am certain that an object of the correct proportions could be created, but I don't know how to do it (of course, given an object of the correct proportions, I can print it any size I need it; this isn't hard).

a.janke
Posts: 6
Joined: Sat Aug 30, 2008 8:42 pm

Re: Entering co-ordinates for lines/objects

Postby a.janke » Wed Sep 03, 2008 11:19 am

For those who are following this I have hacked up a screenshot to demonstrate what I am after here:

https://bugs.launchpad.net/inkscape/+bug/264174

Join the bug report and you never know what might happen in time.

Thanks again to to inkscape developers as it is inkscape already saves me a lot of time and $$.


a

User avatar
loonquawl
Posts: 135
Joined: Thu May 15, 2008 7:57 pm

Re: Entering co-ordinates for lines/objects

Postby loonquawl » Wed Sep 03, 2008 8:18 pm

Hi.

Make a circle (press strg so its a perfect circle) Make another circle. Select first circle, adjust width&height to desired value (4 in) do same for other circle (2.5 in). align (center) circles with align tool. select bigger circle with circle tool, enter beginning and end of circle, in degrees (eg. 180, 215 = 35° circle section). Select section and smaller circle: Path -> Object to path; Path -> Difference; Voilá


Return to “Inkscape Ideas”