Re: Adding objects to Dia



On Sat, 29 Jul 2006 14:51:58 +0200, Leon Mintz wrote
Hi.
I was trying to do as suggested. Dia does open both plain svg and inkscape
svg files. However, I've encountered several difficulties:

1. When I open my SVGs in Dia, it comes out in a way that doesn't 
let me resize it.

Dont worry. When you get the shape it will resize.

When I export it as a shape file and try to add it 
to a sheet, Dia crashes.

Maybe the addition was not right.( And Dia is not very friendly about errors 
on shapes and sheets)

I attache a sheet, shape and icon I made from your files:
 
--- I took your pump svg-file and exported to a shape-file and to a 
png-file. (For the png-file I choose a small size, 22x22)

--- Then with a text editor I 'open' the 'connections' tag and added a 
connection point intending it to be at center of the shape; I finised it 
with main="yes"

--- Then using the "sheets and objects" from main Dia menu I prepared a 
sheet file (After creating the sheet file I had to close and reopen Dia
to see the recently created sheet file)   

2. How do I set a mid-point?
I did it by trial and error ... Instead of inspecting the shape file to 
"exactly compute" coordinates for a central point, I choose a possible one 
and connected a line to the pump. When touching the line its extremes are 
seen ... 
3. Is there any non-textual way to set connection points?
I don't know.
4. In a sheet, is it necessary to add all left-to-right and right-to-
left and up-down and down-up images, or can Dia handle those 90deg 
rotations
itself? (see Circuit sheet for example)
I think it cannot; Dia can handle symmetries around vertical or horizontal 
axis (flipping)
5. Only B&W shapes? 
 I see your pump shape with a violet colour.
Can we take SVGs from wikimedia commons?
I don't know

Loli: I've attached my latest files.
Thank you. Your shapes are quite different from ours. Your shapes represent 
machines and ours represent, for example, heat losses ... (Please, forgive 
my English). 

Nick, Lars: Please write me any suggestions or corrections.

Dia is also good to prepare simple shapes

  Lars: I remember that before version 0.94, whenever one exported to shape, 
one also got the png file offered with small size. But now this does not 
happen. Is this an intended change?  


Thanks a lot,
Leon.


--  
Loli 
loli unsa edu ar

Attachment: Pump.shape
Description: Text document

Attachment: Pump.png
Description: PNG image

Attachment: Thermodynamic.sheet
Description: Text document

Attachment: Diagrama1.dia
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]