meshonline / Surface-Heat-Diffuse-Skinning

Experiment of prototype concepts.
MIT License
185 stars 23 forks source link

Always FileNotFoundError when I hit the Surface Heat Diffuse Skinning button #2

Closed xamxixixo closed 6 years ago

xamxixixo commented 6 years ago

The message is:

Traceback (most recent call last): File "C:\Users\abc\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\surface_heat_diffuse_skinning.py", line 190, in execute self.write_mesh_data(objs, os.path.join(bpy.utils.script_path_user(), "addons", "surface_heat_diffuse_skinning", "data", "untitled-mesh.txt")) File "C:\Users\abc\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\surface_heat_diffuse_skinning.py", line 60, in write_mesh_data f = open(filepath, 'w', encoding='utf-8') FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\abc\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\surface_heat_diffuse_skinning\data\untitled-mesh.txt'

location: :-1

meshonline commented 6 years ago

Let the file explorer show hidden files and directories temporarily, check if the directory of ''C:\Users\abc\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\surface_heat_diffuse_skinning\data' exists.

If it doesn't exist, please download the pre-built version.

If it exists, please report the OS version, I'll check it.

xamxixixo commented 6 years ago

Thank you. Sorry I forgot to copy the bin and data to the addon directory. But still it occurs this error, and the mesh which is needed to be skinned has been rotated and scaled randomly. The OS is Windows 10 64 bit

Traceback (most recent call last): File "C:\Users\abc\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\surface_heat_diffuse_skinning.py", line 228, in execute close_fds = ON_POSIX) File "C:\Users\abc\Desktop\3D\Blender\blender-2.79.0-git20180716.b85be88655c-windows64\2.79\python\lib\subprocess.py", line 707, in init restore_signals, start_new_session) File "C:\Users\abc\Desktop\3D\Blender\blender-2.79.0-git20180716.b85be88655c-windows64\2.79\python\lib\subprocess.py", line 992, in _execute_child startupinfo) FileNotFoundError: [WinError 2] The system cannot find the file specified

location: :-1

meshonline commented 6 years ago

Maybe you forgot to build the binary from the 'src' and copy shd.exe to 'bin/Windows'.

xamxixixo commented 6 years ago

Yes indeed. Thank you now it works without error. Just the mesh still randomly rotated and scaled.

P/S: Ah, I fixed the randomly rotate and scale. It's all fine now.

immeasurability commented 5 years ago

Hi! can u help me pls how to do this step (build the binary from the 'src' and copy shd.exe to 'bin/Windows') i cant find any tutors how to do that(((

philstopford commented 5 years ago

The process is documented : https://github.com/meshonline/Surface-Heat-Diffuse-Skinning/blob/master/src/Readme.txt

You can also find the pre-built package here : https://blendermarket.com/products/voxel-heat-diffuse-skinning

immeasurability commented 5 years ago

ok. now Traceback (most recent call last): File "C:\Users\Ra\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\surface_heat_diffuse_skinning.py", line 227, in execute close_fds = ON_POSIX) File "C:\Program Files\Blender Foundation\Blender\2.79\python\lib\subprocess.py", line 676, in init restore_signals, start_new_session) File "C:\Program Files\Blender Foundation\Blender\2.79\python\lib\subprocess.py", line 955, in _execute_child startupinfo) FileNotFoundError: [WinError 2] Не удается найти указанный файл

location: :-1

philstopford commented 5 years ago

I would expect that you don't have the binary properly installed in the right folder structure, hence 'FileNotFoundError'. If you look in the Python code (surface_heat_diffuse_skinning.py) at line 227, you'll see a path is being built by joining together various strings, including a platform indicator (Windows/Mac/Linux). You need to have the binary you compiled in the resulting path, for the script to be able to find it.

If this path is not found, the error is generated at line 227.

immeasurability commented 5 years ago

gg done i dont get step 3. (Maybe you forgot to build the binary from the 'src' and copy shd.exe to 'bin/Windows'.)

philstopford commented 5 years ago

So, are you getting things working now, or are you still having trouble?

immeasurability commented 5 years ago

yes all work, i just test this produc, but result bad for me(((

screenshot_5

screenshot_4

philstopford commented 5 years ago

I had better results with the voxel approach compared to the surface diffusion.

immeasurability commented 5 years ago

what does it mean? that this addon is not suitable for most (((

immeasurability commented 5 years ago

Well, then I do not understand what is selling for 40$? is this result?

philstopford commented 5 years ago

Take a look at the docs : http://www.mesh-online.net/voxel.html

There's an overview of the difference that the voxel approach makes to the skinning. For me, the voxel approach produced good results every time. The voxel approach appears to be only in the BlenderMarket release. The github project offers the surface diffusion approach, which has limitations.

immeasurability commented 5 years ago

it turns out if I buy this addon, then I will have a good result?

philstopford commented 5 years ago

Nothing is guaranteed, but Blender Market does have a 30 day refund policy : https://support.blendermarket.com/buying/refund-policy

immeasurability commented 5 years ago

ok u say u get better results if u have second time test this file https://www.dropbox.com/s/dy0s9mb2nt1v7x4/test.000.blend?dl=0

philstopford commented 5 years ago

Default values for the voxel addon. default_voxel_values

immeasurability commented 5 years ago

drop me pls look at file in editor how bind skin or screen at mouth open