Elvas Tower: Blender 2.65, cannot export simple cube example - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Blender 2.65, cannot export simple cube example AttributeError: 'Mesh' object has no attribute 'calc_norma Rate Topic: -----

#1 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 982
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 16 November 2020 - 07:41 PM

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

#2 User is offline   pwillard 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 807
  • Joined: 03-March 08
  • Gender:Male
  • Location:Cumming, Ga
  • Simulator:OpenRails
  • Country:

Posted 17 November 2020 - 05:45 AM

Have you thought about using a more recent version of Blender?

#3 User is offline   wacampbell 

  • Member since Nov. 2003
  • Group: Fan: Traction Nuts
  • Posts: 2,346
  • Joined: 22-November 03
  • Gender:Male
  • Location:British Columbia, Canada
  • Country:

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

#4 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 982
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 17 November 2020 - 02:56 PM

View Postwacampbell, 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


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 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 982
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 17 November 2020 - 02:58 PM

View Postpwillard, on 17 November 2020 - 05:45 AM, said:

Have you thought about using a more recent version of Blender?


If you read my OP (carefully) you will see why I have not migrated yet!

Thanks,
Steve

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users