Extract Cesium preview assets

This commit is contained in:
2026-07-31 16:56:22 +08:00
parent 41a07a78ef
commit 0def373c09
4 changed files with 802 additions and 373 deletions

View File

@@ -576,6 +576,13 @@ def export(args):
center_lon = center_lat = 0.0
metadata = {
"asset": os.path.basename(args["glb"]),
"assets": [{
"id": "main",
"label": "Scene",
"type": "model",
"url": os.path.basename(args["glb"]),
"enabled": True,
}],
"coordinate_system": "local ENU meters (X east, Y north, Z up)",
"heading_correction_degrees": -90.0,
"anchor": {"longitude": center_lon, "latitude": center_lat, "height": 0.35},