Blender2indigo 0.62beta1

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
113 posts
User avatar
u3dreal
Posts: 346
Joined: Sun Jul 02, 2006 10:36 am

Blender2indigo 0.62beta1

Post by u3dreal » Thu Jan 04, 2007 4:33 am

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 ;)
Last edited by u3dreal on Sun Jan 07, 2007 10:27 am, edited 2 times in total.

User avatar
jurasek
Posts: 247
Joined: Sun Jun 25, 2006 11:23 pm
Location: Poland

Post by jurasek » Thu Jan 04, 2007 5:32 am

not for linux users...?

greetz,
jur

Phil
Posts: 154
Joined: Mon Nov 06, 2006 2:22 am
Location: St. Wendel, Germany

Post by Phil » Thu Jan 04, 2007 5:35 am

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

User avatar
DaveC
Posts: 596
Joined: Mon Sep 11, 2006 12:20 am
Location: The Tottenham, London, UK
Contact:

Post by DaveC » Thu Jan 04, 2007 6:01 am

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?
The hardest part of BEING yourself is FINDING yourself in the first place...
http://thebigdavec.googlepages.com

User avatar
u3dreal
Posts: 346
Joined: Sun Jul 02, 2006 10:36 am

Post by u3dreal » Thu Jan 04, 2007 6:26 am

jurasek wrote:not for linux users...?

greetz,
jur
you mean with wine integration ??

One sec plz !!!

soon

u3dreal ;)

User avatar
u3dreal
Posts: 346
Joined: Sun Jul 02, 2006 10:36 am

Post by u3dreal » Thu Jan 04, 2007 6:43 am

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 ;)

User avatar
plaurits
Indigo 100
Posts: 26
Joined: Tue Nov 07, 2006 9:23 pm

Post by plaurits » Thu Jan 04, 2007 6:45 am

u3dreal wrote: you mean with wine integration ??

One sec plz !!!

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

User avatar
jurasek
Posts: 247
Joined: Sun Jun 25, 2006 11:23 pm
Location: Poland

Post by jurasek » Thu Jan 04, 2007 6:45 am

no no..no wine, some paths problems.

crsrma
Posts: 45
Joined: Thu Nov 02, 2006 3:38 am

Post by crsrma » Thu Jan 04, 2007 6:55 am

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.

User avatar
jurasek
Posts: 247
Joined: Sun Jun 25, 2006 11:23 pm
Location: Poland

Post by jurasek » Thu Jan 04, 2007 7:09 am

Crsrma, under linux?:>

greetz,
jur

Phil
Posts: 154
Joined: Mon Nov 06, 2006 2:22 am
Location: St. Wendel, Germany

Post by Phil » Thu Jan 04, 2007 7:32 am

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

User avatar
u3dreal
Posts: 346
Joined: Sun Jul 02, 2006 10:36 am

Post by u3dreal » Thu Jan 04, 2007 8:26 am

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 ,...
Image
3DSMax/Blender -> Indigo website:http://r3ndr.com
My Indigo Gallery !

User avatar
jurasek
Posts: 247
Joined: Sun Jun 25, 2006 11:23 pm
Location: Poland

Post by jurasek » Thu Jan 04, 2007 9:09 am

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

crsrma
Posts: 45
Joined: Thu Nov 02, 2006 3:38 am

Post by crsrma » Thu Jan 04, 2007 9:33 am

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. ;)

User avatar
u3dreal
Posts: 346
Joined: Sun Jul 02, 2006 10:36 am

Post by u3dreal » Thu Jan 04, 2007 9:51 am

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

Post Reply
113 posts

Who is online

Users browsing this forum: No registered users and 1 guest