Creating new sheets and shapes

2012-12-27 Thread Jean-Jacques Tinguely
Hello

 

Finally, after many tries, I could create a new sheet with a new shape.

The only problem is that the object I designed and exported as a shape doesn't 
have the same line thicknesses I had defined beforehand.

My exported object is itself composed of several Dia-objects like lines, 
circles, triangle, rectangle for which I defined different line thicknesses.

Before I exported the shape, I grouped all these objects into one.

 

The sheet appeared in the list of sheets and so the shape inside of the list. 
But when I inserted the shape into a new diagram, sum of the elements of my 
object had other line thicknesses than the ones I had defined beforehand.

 

By the way, another problem occurs at program start of Dia:

In the DOS-window appears the following text:

 

'import site' failed; use -v for traceback

Traceback (most recent call last):

  File "C:\Program Files (x86)\_Apps\dia\python-startup.py", line 1, in ?

import sys, os

  File "C:\PROGRA~2\_Media\whc\Python\Lib\os.py", line 106

from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, altsep,

^

SyntaxError: invalid syntax

 

Further there appears a warning window with following text:

Several object-types were named Cisco - CDDI-FDDI.

Only first one will be used.

Some things might not work as expected.

 

There are 13 similar messages

 

Thank you for your help

 

Kind regards and a happy new year.

 

Jean‑Jacques Tinguely

 

Thomasweg 3

CH‑3097 Liebefeld

 


P:

 +41 31 971 33 69


M:

 +41 79 340 26 63

 

   jjtingu...@bluewin.ch

 

 

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Creating new sheets and shapes

2012-12-27 Thread Andrey Repin
Greetings, Jean-Jacques Tinguely!

> Finally, after many tries, I could create a new sheet with a new shape.

> The only problem is that the object I designed and exported as a shape
> doesn't have the same line thicknesses I had defined beforehand. 

> My exported object is itself composed of several Dia-objects like lines,
> circles, triangle, rectangle for which I defined different line thicknesses. 

> Before I exported the shape, I grouped all these objects into one.

 

> The sheet appeared in the list of sheets and so the shape inside of the
> list. But when I inserted the shape into a new diagram, sum of the elements
> of my object had other line thicknesses than the ones I had defined
> beforehand. 

It is really-really beneficial to learn a bit about SVG and manually
proof-read your exported shapes.
Not to mention, the Dia have a tendency of doubling the exported elements.
This may contribute to the line weights as well.

> By the way, another problem occurs at program start of Dia:

> In the DOS-window appears the following text:

 

> 'import site' failed; use -v for traceback

> Traceback (most recent call last):

>   File "C:\Program Files (x86)\_Apps\dia\python-startup.py", line 1, in ?

> import sys, os

>   File "C:\PROGRA~2\_Media\whc\Python\Lib\os.py", line 106

> from os.path import (curdir, pardir, sep, pathsep, defpath, extsep, 
> altsep,

> ^

> SyntaxError: invalid syntax

 

> Further there appears a warning window with following text:

> Several object-types were named Cisco - CDDI-FDDI.

> Only first one will be used.

> Some things might not work as expected.

This means that you have duplicate libraries installed. Probably your user
folder contains a copy of the system library.

> There are 13 similar messages


--
WBR,
Andrey Repin (anrdae...@freemail.ru) 27.12.2012, <18:02>

Sorry for my terrible english...

___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Creating new sheets and shapes

2012-12-27 Thread Hans Breuer

At 27.12.2012 15:04, Andrey Repin wrote:

Greetings, Jean-Jacques Tinguely!


[...]

The sheet appeared in the list of sheets and so the shape inside of the
list. But when I inserted the shape into a new diagram, sum of the elements
of my object had other line thicknesses than the ones I had defined
beforehand.


It is really-really beneficial to learn a bit about SVG and manually
proof-read your exported shapes.
Sorry to say, but that probably wont help here. The handling of custom line 
width is a bit strange in Dia, but quite some shapes are adpated to that 
behaviour. For details see:

https://mail.gnome.org/archives/dia-list/2008-July/msg00084.html

None of the approaches described there was actually implmented.

 Hans "at" Breuer "dot" Org ---
Tell me what you need, and I'll tell you how to
get along without it.-- Dilbert
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia