Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant Export .stl to CityJSON #23

Open
kesslerf opened this issue Nov 29, 2023 · 0 comments
Open

Cant Export .stl to CityJSON #23

kesslerf opened this issue Nov 29, 2023 · 0 comments

Comments

@kesslerf
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant