Hi all,
I'm building a library of HP switches (a la visio) using custom shapes
(dia-0.84).
I'm using dia to build the shape, exporting it to svg, doing some vim
stuff to get it right, firing dia to check the work.
Here are some input on problem I got into :
- svg export of a box object :
In the svg file, we got x,y,width and height ...
but the custom shape code is expecting x1,y1 and x2,y2.
- svg export of a circle :
In the svg file you never get a circle but an ellipse ... I don't really
mind but the ry field isn't created and you have to had it manually to
get the file loaded.
- svg export of a box with rounded corner :
That one is really bad. From what I got after the export, 2 rect, 8
path, 4 lines ...
And a lot of A stuff in the path lines ... which is not supported by the
custom shape code. Sketch wasn't able to do anything usable with the
file either (havn't checked if they got the same limitation on the A
command in path).
I build that shape with sketch, exported it to svg and got only one line
of a path object ... The sketch team did a better job on that one ;-)
Less important stuff :
- do we really need the svg:svg stuff in a shape file ?? (I've red
somewhere that there is a nameing space problem, but couldn't it be
solved more nicely ?)
- I've some pb using the textbox ... Each time I used it, my shape was
really huge and I could'nt resize it as I wanted. So what is the
interraction between the textbox size, and the size of the object we got
??
- Can we had comments in a shape file ?? And what is the syntax ( <!--
... --> ??)
More feature ;-)
- As stated in a previous mail, it would be nice to had someway
(menu,shortcut) to reload the libraries ... so when you're building a
lib, you can test it on the fly (and not to close dia to reopen it in
the following second).
-sheet file stuff (2nd try :)
In a sheet file, you got a description of the library associated for ex
in the network sheet:
<description>Objects to design network diagrams with.</description>
That description doesn't seem to be used in dia. Might be nice to have
it showing (like for the objects) when you leave the mouse on the
library button/onglet.
That's all for now.
Fab