Post by AaronSimBoy on Sept 30, 2016 9:04:49 GMT -5
Heya!
I have a problem creating a lamp for TS4. I made a lamp in SketchUp, exported into a .3ds file. edited the vertex paint and placed it into a mesh of TS4 itself. I wanted to see how the mesh looked in TS4, but I got this error message when trying to import it:
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 12, in <module>
File "C:\Users\Aaron Mulder\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 325, in save_lod
save_mesh(blender_mesh, new_mesh)
File "C:\Users\Aaron Mulder\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 258, in save_mesh
pos_scales = calculate_pos_scales(sim_mesh_data.bounds, max_pos_size)
File "C:\Users\Aaron Mulder\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) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Blender\BlenderUtilities.cs:line 267
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Blender\BlenderUtilities.cs:line 494
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass34_1.<ImportMesh>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio\ViewModels\Objects\ObjectLodItem.cs:line 504
at S4Studio.LoadingScreen.<>c__DisplayClass6_0.<Show>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio\UI\LoadingScreen.xaml.cs:line 67
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 12, in <module>
File "C:\Users\Aaron Mulder\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 325, in save_lod
save_mesh(blender_mesh, new_mesh)
File "C:\Users\Aaron Mulder\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 258, in save_mesh
pos_scales = calculate_pos_scales(sim_mesh_data.bounds, max_pos_size)
File "C:\Users\Aaron Mulder\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) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Blender\BlenderUtilities.cs:line 267
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Blender\BlenderUtilities.cs:line 494
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass34_1.<ImportMesh>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio\ViewModels\Objects\ObjectLodItem.cs:line 504
at S4Studio.LoadingScreen.<>c__DisplayClass6_0.<Show>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio\UI\LoadingScreen.xaml.cs:line 67
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Any help would be great!!
I have a problem creating a lamp for TS4. I made a lamp in SketchUp, exported into a .3ds file. edited the vertex paint and placed it into a mesh of TS4 itself. I wanted to see how the mesh looked in TS4, but I got this error message when trying to import it:
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 12, in <module>
File "C:\Users\Aaron Mulder\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 325, in save_lod
save_mesh(blender_mesh, new_mesh)
File "C:\Users\Aaron Mulder\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 258, in save_mesh
pos_scales = calculate_pos_scales(sim_mesh_data.bounds, max_pos_size)
File "C:\Users\Aaron Mulder\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) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Blender\BlenderUtilities.cs:line 267
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Blender\BlenderUtilities.cs:line 494
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass34_1.<ImportMesh>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio\ViewModels\Objects\ObjectLodItem.cs:line 504
at S4Studio.LoadingScreen.<>c__DisplayClass6_0.<Show>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio\UI\LoadingScreen.xaml.cs:line 67
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "<string>", line 12, in <module>
File "C:\Users\Aaron Mulder\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 325, in save_lod
save_mesh(blender_mesh, new_mesh)
File "C:\Users\Aaron Mulder\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\buybuild\blender.py", line 258, in save_mesh
pos_scales = calculate_pos_scales(sim_mesh_data.bounds, max_pos_size)
File "C:\Users\Aaron Mulder\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) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Blender\BlenderUtilities.cs:line 267
at S4Studio.Blender.BlenderUtilities.ImportMlod(String fileName, String mlod, String rig) in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio.Blender\BlenderUtilities.cs:line 494
at S4Studio.ViewModels.ObjectLodItem.<>c__DisplayClass34_1.<ImportMesh>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio\ViewModels\Objects\ObjectLodItem.cs:line 504
at S4Studio.LoadingScreen.<>c__DisplayClass6_0.<Show>b__0() in C:\Sims\Studio\Sims4Studio\TheS4Studio\S4Studio\UI\LoadingScreen.xaml.cs:line 67
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
Any help would be great!!