Comments (1)
How was this solved? I can't seem to get even the most basic export functionality to work (i.e. exporting the default cube as CityJSON). I have the same issue as here: https://blenderartists.org/t/export-to-json/1327958
So I face the following error:
Python: Traceback (most recent call last):
File "---\Blender\2.93\scripts\addons\Up3date-main\__init__.py", line 124, in execute
return exporter.execute()
File "---\Blender\2.93\scripts\addons\Up3date-main\core\objects.py", line 365, in execute
cj_next_index = self.export_geometry_and_semantics(city_object,init_json,CityObject_id,object_faces,
File "---\Blender\2.93\scripts\addons\Up3date-main\core\objects.py", line 293, in export_geometry_and_semantics
semantic_surfaces = store_semantic_surfaces(init_json, city_object, index, CityObject_id)
File "---\Blender\2.93\scripts\addons\Up3date-main\core\utils.py", line 192, in store_semantic_surfaces
semantics['surfaces'].append({'type': material['type']})
KeyError: 'bpy_struct[key]: key "type" not found'
location: <unknown location>:-1
from up3date.
Related Issues (17)
- Add colour menu for semantics
- When moving an object's geometry the exporter does not export it into the new position HOT 1
- Each face in multisurface gets assigned new semantic surface (material)
- Duplicate vertices checker makes export really slow HOT 1
- Using LOD subversion numbers problem in CityJSON output HOT 5
- Batch Import Files
- "Clean scene" option breaks in Blender 3.x HOT 3
- Support
- Export only selection HOT 1
- (Installation Workflow) Package doesn't import in Blender 3.3.7 LTS HOT 2
- Deal with holes in polygons HOT 5
- Add support for textures HOT 2
- Add support for templates
- Add export function
- How to recover the original coordinates HOT 2
- transformation in other coordinate systems HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from up3date.