Domino Marama's picture
First released: 11 November, 2009 - 12:16
Download: primstar_0.9.25.zip
Size: 174.73 KB
md5_file hash: e2bb612f4ddb785fc91a4b40797e18ab
Last updated: 11 November, 2009 - 14:58

Further improvements to Sculptify - now supports any mesh generating objects. This means it'll convert curves without needing to convert to a mesh first. It no longer deletes the original object that was sculptified. Mesh objects have a sculptie UV layer added, all other types will result in a new sculpt mesh object added to the scene.

Also fixed a small bug in finalise which prevented the sculpt type detection from working correctly.

Note: reuploaded to add deselection of original object after Sculptification. And again to fix a bug with that.

Comments

Bake bug, that make part of sculpty "inside-out".

Hello, Domino.
First i would like to thank you for your great work. Smile

I found strange bake bug, that make part of sculpty "inside-out".
I made simple Blender file, to show that bug.
Here that file and bake image:
http://rapidshare.de/files/48698055/Bake_Bug.7z.html

P.S. Feel free to contact me in SL, if you need any details or help with testing.

Domino Marama's picture

Picture of problem

I don't go in to Second Life much at the moment. I've examined the blend file and can't see anything that would cause problems. If you can provide a picture of the problem, you won't need to wait for the next time my wrist feels good enough to use SL. If I was guessing, I'd check the texture you are using for an alpha channel. If you are using an alpha texture, usually rotating the UV layout by 90 degrees (making the sculptie a planar type) helps with the draw order.

PS: if you register with this site you can attach blend files and images to forum posts.

Thank you for you reply, I

Thank you for you reply, I register and create topic on forum, where i upload all, what could help you to solve that issue - http://dominodesigns.info/node/176

ImportError: No module named uvcalc follow active coords

With Blender2.49a (same error with 2.49b) & primstar 0.9.25-git :

When I do : add>mesh>sculptMesh

I get the Bender error message:

Compiled with Python version 2.6.2.Checking for installed Python... got it!Traceback (most recent call last):  File "<string>", line 1, in <module>  File "C:\Documents and Settings\Alain\blender_scripts\primstar\add_mesh_sculpt_mesh.py", line 48, in <module>    from primstar import sculpty  File "C:\Documents and Settings\Alain\blender_scripts\primstar\sculpty.py", line 36, in <module>    from primstar.uv_tools import add_map_uv, snap_to_pixels  File "C:\Documents and Settings\Alain\blender_scripts\primstar\uv_tools.py", line 44, in <module>    from uvcalc_follow_active_coords import extendImportError: No module named uvcalc_follow_active_coords

Could you help me ? Thanks !

Alain

More on ImportError: No module named uvcalc

Here is some details on the error :

My system is Win xp, Blender 2.49b, Python updated to 2.6.4. Installed Primstar 0.9.28-git by copying files in the user directory:

"C:\Documents and Settings\Alain\blender_scripts" . When I do : add>mesh>sculptMesh, I ger the Python error :

  <code>File "C:\Documents and Settings\Alain\blender_scripts\primstar\uv_tools.py", line 53, in <module>    from uvcalc_follow_active_coords import extendImportError: No module named uvcalc_follow_active_coords</code>

I have neither .blender/scripts/blender/uvcalc_follow_active_coords.py file (found this path in uv_tools.py), nor .blender/scripts/blender directory !

I mind if the blender-2.49b-windows.exe installation is complete ?

Thank you for your help

Alain lebigot  :-\

 

Manny's picture

uvcalc windows xp

blender-2.49b-windows.exe is complete, I was using Blender 2.49b a while ago.

My configuration: C:\Program Files\Blender Foundation\Blender\.blender\scripts (the scripts are all here, also the folders: bpydata; bpymodules; primstar).

User defined dir for scripts should point to: C:\Program Files\Blender Foundation\Blender\.blender\scripts\

You can choose whatever place in your hardrives you like, but the same rule applies, you have to speficy the User defined dir for scripts to the location the scripts really are.

Domino Marama's picture

Of course it's Windows..

That'll teach me not to speed read!

C:\ is a dead giveaway lol

Sorry about the confusion. I've not come across the problem on Windows before, it will be related to the scripts installation (you can choose the location during Blender's install). Do you get the option "Follow Active (Quads)" in the unwrap menu (u key in edit mode)?

If you check the folders shown for the paths in system_info.txt in Blender, is the uvcalc script in one of the folders listed?

Solved: ImportError: No module named uvcalc_ ...

After reading your reply and the reply of Manny,

I reinstalled Blender with the option for user's data files :"use the install directory" (instead of my account folder), and put primstar files in Blender/.blender/scripts. Now, I can do add>mesh>sculptMesh, and also I get the option "Follow Active (Quads)" in the unwrap menu.

Thank you very much for your help !

Domino Marama's picture

Ubuntu 9.10?

Are you running Ubuntu 9.10? There is a known problem with that distribution not installing the Blender scripts correctly. For some reason, they have the scripts in a subdirectory which causes the problem you are getting. The solution is to move the scripts to the correct location.

/home/user/.blender/scripts is the correct location.

/home/user/.blender/scripts/blender is wrong.

So just move all the contents of that extra blender directory up one level.

PS: I'm not sure if anyone has reported the problem upstream yet. I'm stuck on Ubuntu 8.10 until there's decent 3D performance from the radeonhd drivers.

Manny's picture

addition: Ubuntu 9.4 64bit

I had experimented the issue running  Ubuntu 9.4 64bit so it might not be specific of the 9.10 version.

Domino Marama's picture

Ubuntu 9.04

Oh ok. I use Blender built from svn so don't know how far back the problem goes. If someone can confirm the exact path to the uvcalc_follow_active_coords.py file I'll code a fix.

uvcalc_follow active_coords.py

I have been trying to get primstart to work on Ubuntu 9.10 for hours now without result.

I keep getting this error. The options show up right in Blender,  but this error occurs when I try to use them: ImportError: No module named uvcalc_follow_active_coords

My uvcalc_follow_active_coords.py is located here:

/usr/share/blender/scripts/blender

Can I fix this from here somehow or is your help required? Thanks in advance!

 

Manny's picture

flexibility

Great... what else can I say... Will be playing on it later on, however already quickly tested it.

It reminds me: Neil Armstrong's first words from the surface of the moon on July 20, 1969: "That's one small step for a man, one giant leap for mankind."

Yeah, at a point it sounds excessive, humour, people, humour... *smile*

Anyway, this is a long distance jump for 3D content creators out there messing around in the metaverse.

Domino Marama's picture

0.9.25 updated

I've updated the download, so I'd grab it again before doing more testing. Sorry about that, missed an obvious issue, then in my rush to fix it introduced a bug. Should be ok now though Smile