Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm not a designer but I do occasionally whip up my own images if the task is simple enough. One thing I've always wanted in a drawing program is the ability to create shapes by typing in dimensions. e.g. Dragging out a a rectangle to be exactly NxM units is so tedious and it comes up all the time. Does Inkscape or any other drawing program support anything like that?


Yes, you can have full control over SVG element dimensions in InkScape through input boxes as well as dragging by mouse. You can also use a snapping grid to define all your elements in relation to the grid, or enable many other types of snapping and automatic aligning.


Sure, Inkscape does that. It's a vector library, but if you create a rectangle, the coordinates and dimensions are available for editing. Type in "N" and "M" and hit enter, and it updates, which makes sense, given that those values are linked to the underlying SVG.


Yes, and not just numbers, you can enter mathematical expressions too.


Yes. The shapes are xml and you can control them precisely. You can even control them with javascript should you want to embed them in a web page and, say, animate them or scale them.


create shapes by typing in dimensions

Typing in the dimensions is the normal way of working with CAD software: http://www.cad-notes.com/autocad-precise-input-specifying-po...

As others have said, you can do something like this in Inkscape, but the interface isn't so smooth.

But for simple things in Inkscape you could enable a 0.5cm snap and stick to that.


GIMP's tool settings box has this when you're using the selection tool. I use it for getting the right size when cropping.


you can also directly edit the SVG though a very nice dialog that gives convenient and organized access to the XML tree.


FSM's noodly appendage, it's right in the toolbar!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: