Up3date
Up3date copied to clipboard
Cant Export .stl to CityJSON
Hello, I exported a 3D-Mesh from CloudCompare in .stl-format and imported it into blender. After changing geometry to origin I can see my model.
When I try to export it as cityJon I get the following error:
Python: Traceback (most recent call last):
File "C:\Users\felix\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Up3date-main_init_.py", line 124, in execute
return exporter.execute()
File "C:\Users\felix\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Up3date-main\core\objects.py", line 362, in execute
CityObject_id,object_verts,object_faces = self.create_mesh_structure(city_object,objid,init_json)
File "C:\Users\felix\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Up3date-main\core\objects.py", line 276, in create_mesh_structure
print ("You either forgot to add lod
as a custom property of the geometry, ", name, ", or 'lod' is not a number")
NameError: name 'name' is not defined
I already added lod as custom property but it is not working.