Hi Wayne,
For some time now (years) I have been using Blender 2.65 and exporting the model to 3DCanvas in .OBJ mode, and then exporting the .s file from there. I have had to "mangle" my .3DS and .OBJ importers/exporters in Blender to suit my needs. This is why I have not moved to a newer version of Blender...still!
So tonight I decided try your exporter:
For Blender 2.79 and Earlier
The latest version is 3.5
I tried to export with a larger model and kept on getting the same result, which was failure. So I went back to first principles and tried your "cube" export example as per your "BlenderToMSTSInstructions.pdf" instructions. I get the same result which from the system console is:
EXPORTING MAIN
DLEVEL2000
MAIN
MAIN
v= 8
Traceback (most recent call last):
File "E:\Blender Foundation\blender-2.65a-windows32\2.65\scripts\addons\MSTSEx
porter.py", line 201, in execute
ExportShapeFile( rootName, exportPath, True )
File "E:\Blender Foundation\blender-2.65a-windows32\2.65\scripts\addons\MSTSEx
porter.py", line 1636, in ExportShapeFile
AppendDistanceLevel( startDistance, distance )
File "E:\Blender Foundation\blender-2.65a-windows32\2.65\scripts\addons\MSTSEx
porter.py", line 1326, in AppendDistanceLevel
AddObjects( distanceLevel, nodeObject, i )
File "E:\Blender Foundation\blender-2.65a-windows32\2.65\scripts\addons\MSTSEx
porter.py", line 1302, in AddObjects
AddObjects( distanceLevel, eachChild, iHierarchy )
File "E:\Blender Foundation\blender-2.65a-windows32\2.65\scripts\addons\MSTSEx
porter.py", line 1297, in AddObjects
AddObjectGeometry( distanceLevel, nodeObject, iHierarchy, relativeMatrix )
File "E:\Blender Foundation\blender-2.65a-windows32\2.65\scripts\addons\MSTSEx
porter.py", line 1236, in AddObjectGeometry
mesh.calc_normals_split()
AttributeError: 'Mesh' object has no attribute 'calc_normals_split'
location: <unknown location>:-1
location: <unknown location>:-1
Any help would be greatly appreciated, so thanks in advance. Yes, I did follow your instructions about renaming the cube object to MAIN!
Regards,
Steve
Page 1 of 1
Blender 2.65, cannot export simple cube example AttributeError: 'Mesh' object has no attribute 'calc_norma
#2
Posted 17 November 2020 - 05:45 AM
Have you thought about using a more recent version of Blender?
#3
Posted 17 November 2020 - 11:15 AM
Its likely your Blender 2.65 version is just too old. The error complains that the function 'calc_normals_split' is not available. I think it was introduced later.
I found this old version of the exporter in my archive, not tested, but it may work for you..
https://drive.google...iew?usp=sharing
Wayne
I found this old version of the exporter in my archive, not tested, but it may work for you..
https://drive.google...iew?usp=sharing
Wayne
#4
Posted 17 November 2020 - 02:56 PM
wacampbell, on 17 November 2020 - 11:15 AM, said:
I found this old version of the exporter in my archive, not tested, but it may work for you..
https://drive.google...iew?usp=sharing
Wayne
https://drive.google...iew?usp=sharing
Wayne
Wayne,
Thank you. I will try to see if this works tonight. The first version I used of Blender was 2.49. It was HUGE step to migrate to 2.65 as the interface was VERY different. As I see it, it is another huge step in workflow to migrate to 2.8x. I also face the misery of redoing the "mangling" of the .3DS/.OBJ import/export addons to get what I have in 2.65. I have tried importing into 2.65 and exporting the work to 2.79, but I never attempted to try to export a .S from 2.79/2.8x.
Thanks,
Steve
#5
Posted 17 November 2020 - 02:58 PM
Page 1 of 1