Page 1 of 8

Blender2indigo 0.62beta1

Posted: Thu Jan 04, 2007 4:33 am
by u3dreal
Ok every one here is the first beta to test ..

Here it is ...
EDIT:
Due to problems with a \n here is the fixed version..some improvemnts on light settings thanks to zuegs ;)

EDIT NOW BETA 2
and the => LINUX/WINE VERSION :D

read readme for news..

cheers

u3dreal ;)

Posted: Thu Jan 04, 2007 5:32 am
by jurasek
not for linux users...?

greetz,
jur

Posted: Thu Jan 04, 2007 5:35 am
by Phil
Hi u3dreal,

nice to see a new exporter, but it does not work for me. :(

Blender is installed under C:\Program Files (x86)\Blender Foundation\Blender

What I see on the blender console is:
' C:\Program' is not recognized as an internal or external command,
operable program or batch file.

The new funktionnality seems really nice :D

:wink:

Regards, Phil

Posted: Thu Jan 04, 2007 6:01 am
by DaveC
Well, I've installed it (with a little checking the console and figuring out where things go). I still have trouble using meshlights in sunlight. The export geometry is great! Makes editing the default.xml file much simpler. Didn't manage to get the script to run Indigo from within blender. Is that functional yet or am I doing something wrong?

Posted: Thu Jan 04, 2007 6:26 am
by u3dreal
jurasek wrote:not for linux users...?

greetz,
jur
you mean with wine integration ??

One sec plz !!!

soon

u3dreal ;)

Posted: Thu Jan 04, 2007 6:43 am
by u3dreal
Blender is installed under C:\Program Files (x86)\Blender Foundation\Blender

Regards, Phil
Thats a know problem .... maybe you can find a solution
the " won't help.. ;(

install blender to none " " space dir..

cheers

u3dreal ;)

Posted: Thu Jan 04, 2007 6:45 am
by plaurits
u3dreal wrote: you mean with wine integration ??

One sec plz !!!

soon
Wow! that's dedication! I can't wait! :D

Posted: Thu Jan 04, 2007 6:45 am
by jurasek
no no..no wine, some paths problems.

Posted: Thu Jan 04, 2007 6:55 am
by crsrma
Awesome, so much more compact. Thanky! :D

Btw, I modified mine - took out all the datadir stuff & made it just look to C:\IndigoWrapper.conf similar to what psor did in thisthread. Now it'll launch indigo, no matter about directory spaces.

Posted: Thu Jan 04, 2007 7:09 am
by jurasek
Crsrma, under linux?:>

greetz,
jur

Posted: Thu Jan 04, 2007 7:32 am
by Phil
Hi,

@ crsrma
Awesome, so much more compact. Thanky! :D
sorry u3dreal, im my opinion it is a little bit to compact :wink:

@ u3dreal
Thats a know problem .... maybe you can find a solution
the " won't help.. ;(

install blender to none " " space dir..
I just took a look on the code right now, and you changed a lot of things :oops:
I will investigate this of course, but I am also not the python specialist here.

But no problem this is only a beta
:lol:

Regards, Phil

Posted: Thu Jan 04, 2007 8:26 am
by u3dreal
Hi all and thank you ..

@crsrma can you let me know how you modified it !! i will implement that for everyone ..

@Phil Yes i'm also not that happy with the GUI but it looks nice..
Any suggestions on Gui layout are welcomed.

@jurasek Ok here is the Linux / wine version
should run from within blender... readme !!!! update on top ..

cheers

u3dreal ;)

I'm open to suggestions and critics !! let's improve this bugger ,...

Posted: Thu Jan 04, 2007 9:09 am
by jurasek
u3dreal wrote: @jurasek Ok here is the Linux / wine version
should run from within blender... readme !!!! update on top ..

Code: Select all

INDIGO EXPORT

Saving to '/home/jurasek/indigo                       <- enter space here (shouldn't be ../indigo/default.xml'... ?)
/default.xml'...

Traceback (most recent call last):
  File "<string>", line 1120, in buttonEvt
  File "<string>", line 645, in save_still
  File "<string>", line 371, in save_indigo
IOError: [Errno 2] No such file or directory: '/home/jurasek/indigo\n/default.xml'
I dunno python so i can't find where is it but exporter under linux try to make default.xml file with '\n' enter space before its name.

greetz,
jur

Posted: Thu Jan 04, 2007 9:33 am
by crsrma
u3dreal wrote:@crsrma can you let me know how you modified it !! i will implement that for everyone ..
Here are the main changes:

Code: Select all

	# open 'IndigoWrapper.conf' and read the first line
	f = open("C:\IndigoWrapper.conf", "r+")
	ic=f.read()
	f.close() 
	
	# create 'IndigoWrapper.cmd' and write two lines of code into it
	f = open("C:\IndigoWrapper.cmd", 'w')
	f.write("cd /d " + ic + "\n")
	f.write("start /b /belownormal Indigo.exe %1 -t " + str(Threads.val) + "\n")
	f.close()
	
	# call external shell script to start Indigo
	cmd="C:\IndigoWrapper.cmd " + filename
	print cmd
	os.system(cmd)
I also searched out all the datadir=Blender.Get("datadir") lines & removed them, then modified the others related to paths going by the examples above. Then, input the short name version of Indigo's location on my comp (C:\Progra~1\Indigo\indigo_06) into the IndigoWrapper.conf file.

All in all, it was about 5 lines of code edited.

It's nothing smart, but it sort of sidesteps the spaced names issue - and doesn't make for a reinstall of Blender. ;)

Posted: Thu Jan 04, 2007 9:51 am
by u3dreal
jurasek wrote: IOError: [Errno 2] No such file or directory: '/home/jurasek/indigo\n/default.xml'

make sure your path is some like " /home/jarsek/indigo "
no / at the end.

i should work works well here on kubuntu..

greetz,
jur