Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Offline Builder: Now in Beta

Zanduar Ceawlin
Registered User
Join date: 23 Apr 2007
Posts: 14
04-30-2007 10:13
I downloaded blender 2.42a, and can't find python for crap.. I seeded everyting i could think of & nothing... I tried 2.43 & still the same thing.. I tried running the script in a cube from what I exported.. zilch.. What the heck am i doing wrong????
Seth Ock
Registered User
Join date: 3 Dec 2006
Posts: 35
04-30-2007 23:37
Zanduar, are you able to run any of the scripts that come with Blender? It's my understanding that Blender now comes with a Python interpreter, but I can't be sure since I installed Python a long time ago and never had any trouble. If you can't run any Blender scripts, try going here and download and install the 2.4 version. I'm not sure if 2.5 will work. According to the distribution docs:
From: someone
Even if you do have the right version of Python installed you may need to tell the embedded Python interpreter where the installation is. To do that it's enough to set a system variable called PYTHON to the full path to the stand-alone Python executable (to find out execute "import sys; print sys.executable" inside the stand-alone interpreter, not in Blender). To check which Python was linked to your Blender binary, execute "import sys; print sys.version" at Blender's text editor), it's probably 2.3.something -- only the two first numbers should have to match with yours.


All this assumes you're using Windows since Python is kinda standard on Linux and Mac (I think).
Zanduar Ceawlin
Registered User
Join date: 23 Apr 2007
Posts: 14
stilll.....
05-01-2007 06:40
THx for the info...I installed everything there & couldn't find the sys files to locate python.. This is kinda getting old.. I installed python 2.5 & i can run the prim script fine, but when I do all the importing into SL it says complete when compiled & nothing happends... How long do I ahve to wait for it to do the import magic???
Zanduar Ceawlin
Registered User
Join date: 23 Apr 2007
Posts: 14
grrrr
05-01-2007 09:56
OK managed to get far enough where it says "OBJECT IS MISSING FROM DATABASE" error.. I've done everything right & all I made a 3 spheres ploped together... what is going on? HAAAALP!!
Thraxis Epsilon
Registered User
Join date: 31 Aug 2005
Posts: 211
05-01-2007 11:43
Go to my shop in Brithys and pick up either the free pre-built importer or the advanced importer.

The importer scripts from the Sourceforge page are very old, and were broken quite a while ago.
Zanduar Ceawlin
Registered User
Join date: 23 Apr 2007
Posts: 14
05-01-2007 11:50
From: Thraxis Epsilon
Go to my shop in Brithys and pick up either the free pre-built importer or the advanced importer.

The importer scripts from the Sourceforge page are very old, and were broken quite a while ago.


Ohh crap that woudl do it...lol Thank man.. I'll be right over...
Zanduar Ceawlin
Registered User
Join date: 23 Apr 2007
Posts: 14
Works like a charm!!!!
05-01-2007 12:01
U sooooooooooo rock man.. This will make things sooooo much easier... OMG... *BOWS* I'M NOT WORTHY.. I'M NOT WORTHY....
Zanduar Ceawlin
Registered User
Join date: 23 Apr 2007
Posts: 14
ok stupid question time that's prob been asked before..
05-01-2007 15:11
When importing a obj file from say anim8tor how do i convert the objs to prims? I'm not new to this, but never used blender (and i'm blundering with it..) Shoot me if it's simple//
Zanduar Ceawlin
Registered User
Join date: 23 Apr 2007
Posts: 14
ok stupid question time that's prob been asked before..
05-01-2007 15:32
Now how do i covert an imported obect from say Anim8tor to a prim? I've looked on the board & have missed it i guess..lol I've been trying to locate it in blender Zilch on that.. I'm not new to this, just never used blender before & blundering along with it.. Just shoot me please....
Fee Mechanique
Registered User
Join date: 6 May 2005
Posts: 5
05-01-2007 19:39
19 pages of replies is getting hard to wade through, perhaps an updated list of current problems in the first post would help keep track of things to avoid multiple references to the same issue. That said, hopefully this HAS already been encountered and there's a fix in the works:

This is the console output after I start Blender and execute the script. A error message pops up and tells me to check the console, which has this:



guessing 'blender-bin' == '/usr/bin/blender-bin'
Compiled with Python version 2.4.
Checking for installed Python... got it!
Ignoring Xlib error: error code 169 request code 148
Ignoring Xlib error: error code 169 request code 148
hippos!
Drawing end using token:
0
Outer is:
[(-0.5, -0.5, 0.5), (-0.25, -0.5, 0.5), (0.0, -0.5, 0.5), (0.25, -0.5, 0.5), (0.5, -0.5, 0.5), (0.5, -0.25, 0.5), (0.5, 0.0, 0.5), (0.5, 0.25, 0.5), (0.5, 0.5, 0.5), (0.25, 0.5, 0.5), (0.0, 0.5, 0.5), (-0.25, 0.5, 0.5), (-0.5, 0.5, 0.5), (-0.5, 0.25, 0.5), (-0.5, 0.0, 0.5), (-0.5, -0.25, 0.5), (-0.5, -0.5, 0.5)]
Inner is:
[(0, 0, 0.5)]
Drawing end using token:
90
Traceback (most recent call last):
File "Main.py", line 3981, in ?
File "Main.py", line 3502, in llNewPrim
RuntimeError: expected tuple of one item
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
05-02-2007 10:40
Did you try the solution from post #272? It worked for me.
Fee Mechanique
Registered User
Join date: 6 May 2005
Posts: 5
05-03-2007 01:34
From: Destiny Niles
Did you try the solution from post #272? It worked for me.


Hi, yes, that did in fact fix my problem. I feel like an idiot for not scanning the previous posts properly. Thanks for your help. ;)
Fee Mechanique
Registered User
Join date: 6 May 2005
Posts: 5
05-03-2007 05:10
Sorry to double post, but I've run into some weird behavior with the scripts and just wanted to see if anyone else is noticing this stuff, or if maybe my workflow is just.. wrong.

If I create a prim and move / resize it with the script tools, everything seems to stay updated.

If I move or resize the prims with the Blender tools, the script fails to keep track of the changes.

After I deselect prims, and reselect, the parameters in the script seem to reset to the defaults.

I wonder if there could be a button to manually update or re-sync the script's parameters? Prompting what (I gather from previous posts) a timer callout should be doing. I don't know much about the Blender interface, but it should be possible to analyze the object at any point and recalculate the position, scale and rotation back into values that SL understands.

An excellent tool in the making anyway thanks a lot for your efforts Jeffrey. We're privileged to get to beta test your work. :)
Claire Kanno
Registered User
Join date: 19 Oct 2006
Posts: 20
05-07-2007 10:21
From: SOb Zemlja
I don't remember, where I found solution, but it works!
Here is the info if you want to fix this yourself.

In Blender 2.43, with the script open (and before you execute it!), make the following changes:

1 - in the script window, Find (Crtl+Alt+F) "setEuler" (no quotes)
2 - add square brackets around the params in the function call. E.g.: from this "setEuler(...);" to "setEuler([...]);"
3 - goto step 1

I think there are 5-6 instances of setEuler() in the script. Each one needs to have the square brackets around the params. I did this and now it works fine.

I would then save the entire scene as a new .blend file that you can open later.

Note, again, this is ONLY FOR 2.43 (and maybe future versions of Blender) at least until the original script author has time to update.



Thanks for this tip! It worked like a charm!
Doc McLaglen
Registered User
Join date: 23 Jan 2007
Posts: 1
help me
05-12-2007 10:21
I imported a 3ds file (3d studios max) and when i go to run the script on it it says error and highlights this: python error

It is getting frustrating to me :/ tried to figure it out for 3 days now.
Cindy Crabgrass
Crashed to Desktop
Join date: 9 Sep 2006
Posts: 158
05-12-2007 23:58
From: Doc McLaglen
I imported a 3ds file (3d studios max) and when i go to run the script on it it says error and highlights this: python error

It is getting frustrating to me :/ tried to figure it out for 3 days now.


Dont waste your Time, prim.blender can NOT convert 3ds Files to Prims.
_____________________
IntLibber Brautigan
Registered User
Join date: 5 Oct 2006
Posts: 23
Possible Extension to Support Megaprims?
05-13-2007 02:21
Would it be possible to modify this so that construction with megaprims could be used as well?
Cindy Crabgrass
Crashed to Desktop
Join date: 9 Sep 2006
Posts: 158
05-13-2007 07:51
From: IntLibber Brautigan
Would it be possible to modify this so that construction with megaprims could be used as well?


The only known Way to rez a Megaprim is using one of the existing Megaprims,
but they will always be fixed Size.

So it would be possible to add these, but not more -
you can resize Stuff in Blender as much as you want,
but you cant rez a 17.3 x 74.2 x 8.43 Box in SL.
_____________________
Heuvadoches Naumova
Equus Exoticus
Join date: 6 Oct 2005
Posts: 174
05-15-2007 03:45
Blender 2.43
Python 2.44
Prim Builder 0.4.0

Installed Python. Rebooted.
Installed Blender. Rebooted
Installed Prim Builder. Opened Prim.Builder.blend
Ran script.

"Error in script, check console"
Clear notification, look for console.

Blender has frozen. Windows pops up and says "Blender has crashed and needs to close" or some fluff like that.
_____________________
Respectfully yours,
Heuvadoches
[I try to be in character as much as possible.]


[left]Obligitory Advertisement: Pixel Crack Productions - Rainbow Tiger Island Mall
[/left]
Pichu Nino
Registered User
Join date: 26 Nov 2006
Posts: 2
05-19-2007 10:48
I get this error when I attempt to execute the script.

Michelle Thurston
Registered User
Join date: 14 Jul 2006
Posts: 208
05-19-2007 15:34
From: Pichu Nino
I get this error when I attempt to execute the script.
I just installed this today and got the same error. Update your Python from http://python.org/download/
Heuvadoches Naumova
Equus Exoticus
Join date: 6 Oct 2005
Posts: 174
05-22-2007 20:19
From: Michelle Thurston
I just installed this today and got the same error. Update your Python from http://python.org/download/



To which version? 2.44 (causes same error) or 2.5+ (Blender can't find Python and then complains about it)
_____________________
Respectfully yours,
Heuvadoches
[I try to be in character as much as possible.]


[left]Obligitory Advertisement: Pixel Crack Productions - Rainbow Tiger Island Mall
[/left]
Lavos Lock
Registered User
Join date: 14 Oct 2006
Posts: 6
05-22-2007 23:44
Ya, to which version? I got the same error :/

Just want to get it right the 1st time around ^_^
Lavos Lock
Registered User
Join date: 14 Oct 2006
Posts: 6
05-25-2007 21:16
sniff sniff....anyone? ^_^
Thunderclap Morgridge
The sound heard by all
Join date: 30 Sep 2006
Posts: 517
05-26-2007 00:11
From: Cindy Crabgrass
Dont waste your Time, prim.blender can NOT convert 3ds Files to Prims.

but Wings3d can convert it to Obj and that can be converted to Prims.
I've done it. It looks like crap but it can be done.
Blender to me is crap. Its not just Blender, its any program with a non standard format. 3d is hard enough, Blender makes it almost impossible.
But I digress.
_____________________
Gimp:
n : disability of walking due to crippling of the legs or feet
ie. lameness, limping, gameness, claudication

secondlife://Amaro/77/130/39
Come to Thunderclap: the gospel chapel
and Thunderburst: Mens clothes and more.
1 ... 8 9 10 11 12 13 14 15 16