Post by simgo689 on Aug 19, 2018 14:05:13 GMT -5
Hello,
When I import my mesh (from Blender) in S4 Studio, this error message apears :
The Sims 4 Studio - Version 3.1.2.0
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 14, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 387, in save_lod
save_mesh(blender_mesh,m, new_mesh,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass48_0.<ImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 14, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 387, in save_lod
save_mesh(blender_mesh,m, new_mesh,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass48_0.<ImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Can you help me please ?!!
When I import my mesh (from Blender) in S4 Studio, this error message apears :
The Sims 4 Studio - Version 3.1.2.0
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 14, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 387, in save_lod
save_mesh(blender_mesh,m, new_mesh,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass48_0.<ImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 14, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 387, in save_lod
save_mesh(blender_mesh,m, new_mesh,geometry_state)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig, String state)
at S4Studio.ViewModels.ObjectLodItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass48_0.<ImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Can you help me please ?!!