Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Heiko Schulz
Hi,

A few days ago I mentioned a new blender plugin script uv_pack.py,
which helps with packing UV maps on a square. Now I've written two
more plugins, one that exports UV maps to an SVG file, and one to
import such an SVG file again. This allows to do a lot of work
on the maps in an external SVG editor like Inkscape.

Sounds like something I really need for my both helicopters in work.
I did try this, but when I wanted to reimport the .svg I got an error message:

Traceback (most recent call last):
Filestring, line 45, in module
ImportError: cannot import name saxexts

Any idea how to solve this?

Cheers
HHS

still in work but visible: http://www.hoerbird.net/galerie.html



  __
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Antwoord bij afwezigheid

2008-07-22 Thread gijsrooy
Ik ben momenteel op vakantie.
Woensdag 13 augustus ben ik weer terug.
 
--
 
I'm on holiday at the moment.
I return home at wednesday 13 August.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Antwoord bij afwezigheid

2008-07-22 Thread gijsrooy
Ik ben momenteel op vakantie.
Woensdag 13 augustus ben ik weer terug.
 
--
 
I'm on holiday at the moment.
I return home at wednesday 13 August.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Melchior FRANZ
* Heiko Schulz -- Tuesday 22 July 2008:
 Traceback (most recent call last):
 Filestring, line 45, in module
 ImportError: cannot import name saxexts

That's this line:

  from xml.sax import saxexts

You just need to install the xml.sax python package.
On openSuSE 11.0 it's called python-lxml-2.0.4-14.1.

m.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Melchior FRANZ
* Melchior FRANZ -- Tuesday 22 July 2008:
 On openSuSE 11.0 it's called python-lxml-2.0.4-14.1.

Err, no. It's called  python-xml-2.5.2-26.1   :-)

m.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Heiko Schulz


--- Melchior FRANZ [EMAIL PROTECTED] schrieb am Di, 22.7.2008:

 Von: Melchior FRANZ [EMAIL PROTECTED]
 Betreff: Re: [Flightgear-devel] Blender  UV mapping ( Inkscape)
 An: flightgear-devel@lists.sourceforge.net
 Datum: Dienstag, 22. Juli 2008, 15:52
 * Heiko Schulz -- Tuesday 22 July 2008:
  Traceback (most recent call last):
  Filestring, line 45, in
 module
  ImportError: cannot import name saxexts
 
 That's this line:
 
   from xml.sax import saxexts
 
 You just need to install the xml.sax python
 package.
 On openSuSE 11.0 it's called
 python-lxml-2.0.4-14.1.
 
 m.
 

I know that I am really penalized using windows- but is there also a package 
for win32-users? 
A short looking using google didn't help me


  __
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Melchior FRANZ
* Heiko Schulz -- Tuesday 22 July 2008:
* * Melchior FRANZ [EMAIL PROTECTED] schrieb am Di, 22.7.2008:
  You just need to install the xml.sax python package.

 I know that I am really penalized using windows- but is
 there also a package for win32-users? A short looking using
 google didn't help me 

The xml package should really be part of a Python installation,
and you shouldn't even have to install it separately. But it's
just Python scripts, so this is cross-platfrom and certainly
available for Windows. Unfortunatly, I have no clue about Python
on Windows (or about Python in general :-). Maybe it's there
but not found because of an unset path in Blender or something?!

m.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Melchior FRANZ
PyXML:

  http://sourceforge.net/project/showfiles.php?group_id=6473

There are even Windows packages available.

m.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Heiko Schulz
--- Melchior FRANZ [EMAIL PROTECTED] schrieb am Di, 22.7.2008:

 Von: Melchior FRANZ [EMAIL PROTECTED]
 Betreff: Re: [Flightgear-devel] Blender  UV mapping ( Inkscape)
 An: flightgear-devel@lists.sourceforge.net
 Datum: Dienstag, 22. Juli 2008, 16:13
 * Heiko Schulz -- Tuesday 22 July 2008:
 * * Melchior FRANZ [EMAIL PROTECTED] schrieb am Di,
 22.7.2008:
   You just need to install the xml.sax
 python package.
 
  I know that I am really penalized using windows- but
 is
  there also a package for win32-users? A short looking
 using
  google didn't help me 
 
 The xml package should really be part of a Python
 installation,
 and you shouldn't even have to install it separately.
 But it's
 just Python scripts, so this is cross-platfrom and
 certainly
 available for Windows. Unfortunatly, I have no clue about
 Python
 on Windows (or about Python in general :-). Maybe it's
 there
 but not found because of an unset path in Blender or
 something?!
 
 m.

That's really bad:
Python 2.5 is installed correctly, Blender has no problems to find it, the 
paths semms to be all alright.

Still the same error- so the cross-platform seems to be gone and your 
python-script useless for me. :-(



  __
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Heiko Schulz
still in work: http://www.hoerbird.net/galerie.html
But already done: http://www.hoerbird.net/reisen.html


--- Melchior FRANZ [EMAIL PROTECTED] schrieb am Di, 22.7.2008:

 Von: Melchior FRANZ [EMAIL PROTECTED]
 Betreff: Re: [Flightgear-devel] Blender  UV mapping ( Inkscape)
 An: flightgear-devel@lists.sourceforge.net
 Datum: Dienstag, 22. Juli 2008, 16:28
 PyXML:
 
  
 http://sourceforge.net/project/showfiles.php?group_id=6473
 
 There are even Windows packages available.
 
 m.
Yes- for python 2.2 - Blender 2.46 uses Python 2.5


  __
Unglücklich mit Ihrer Mail-Adresse?

Millionen neuer Mail-Adressen - jetzt bei Yahoo!

http://de.docs.yahoo.com/mail/wunschmailadresse/index.html


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Melchior FRANZ
* Heiko Schulz -- Tuesday 22 July 2008:
[http://sourceforge.net/project/showfiles.php?group_id=6473]

 Yes- for python 2.2 - Blender 2.46 uses Python 2.5

If you look closely, then you see a version for 2.4 on that
page. And because there's none for 2.5 I assume that the 2.4
one works for it as well.

m.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Melchior FRANZ
* Melchior FRANZ -- Tuesday 22 July 2008:
 I assume that the 2.4 one works for it as well.

OK, probably not. But the source is there, so you can build it
yourself.

Or you can change line 45 from

  from xml.sax import saxexts

to

  from lxml.sax import saxexts
   ^

and try with lxml. Looks like PyXML isn't supported anymore, and
this newer, compatible package is. It's available here:

  http://codespeak.net/lxml/intro.html

m.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Heiko Schulz


--- Melchior FRANZ [EMAIL PROTECTED] schrieb am Di, 22.7.2008:

 Von: Melchior FRANZ [EMAIL PROTECTED]
 Betreff: Re: [Flightgear-devel] Blender  UV mapping ( Inkscape)
 An: flightgear-devel@lists.sourceforge.net
 Datum: Dienstag, 22. Juli 2008, 16:42
 * Heiko Schulz -- Tuesday 22 July 2008:
 [http://sourceforge.net/project/showfiles.php?group_id=6473]
 
  Yes- for python 2.2 - Blender 2.46 uses Python 2.5
 
 If you look closely, then you see a version for 2.4 on that
 page. And because there's none for 2.5 I assume that
 the 2.4
 one works for it as well.
 
 m.
 
Unfortunately no- because this package isn't maintained anymore. I did try 
this- it doesn't work with 2.51 or 2.5.2.

Also unfortunately your script was written for Python 2.5 - would it be written 
for 2.4 and newer I could use a older blender version which uses python 2.4.

I would like to know if there is a windows user here using your script 
successfully


  __
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Heiko Schulz

 
 Or you can change line 45 from
 
   from xml.sax import saxexts
 
 to
 
   from lxml.sax import saxexts
^
 
 and try with lxml. Looks like PyXML isn't supported
 anymore, and
 this newer, compatible package is. It's available here:
 
   http://codespeak.net/lxml/intro.html
 
 m.
 
Downloaded the matching lxm-package for python, changed like you proposed it 
here, but failed: cannot import name saxexts

Hmpf


  __
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Blender UV mapping ( Inkscape)

2008-07-22 Thread Melchior FRANZ
* Heiko Schulz -- Tuesday 22 July 2008:
 Downloaded the matching lxm-package for python, changed like
 you proposed it here, but failed: cannot import name saxexts 

Argh. Sorry. I had tried before I suggested it, but I goofed
and modified the wrong version.

In which poor state is Python?! PyXML used to be the standard
way to parse XML. And it's suddenly unsupported?

I suggest to continue the discussion on irc.freenode.net/#flightgear.

m.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel