Skip to content

Commit

Permalink
Update presets
Browse files Browse the repository at this point in the history
  • Loading branch information
pierotofy committed Sep 15, 2023
1 parent 3541882 commit 9508530
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions app/boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ def add_default_presets():
defaults={'options': [{'name': 'auto-boundary', 'value': True},
{'name': 'dsm', 'value': True},
{'name': 'dem-resolution', 'value': '2'},
{'name': 'pc-quality', 'value': 'high'},
{'name': 'use-3dmesh', 'value': True}]})
{'name': 'pc-quality', 'value': 'high'}]})
Preset.objects.update_or_create(name='3D Model', system=True,
defaults={'options': [{'name': 'auto-boundary', 'value': True},
{'name': 'mesh-octree-depth', 'value': "12"},
Expand All @@ -121,19 +120,8 @@ def add_default_presets():
Preset.objects.update_or_create(name='Buildings', system=True,
defaults={'options': [{'name': 'auto-boundary', 'value': True},
{'name': 'mesh-size', 'value': '300000'},
{'name': 'pc-geometric', 'value': True},
{'name': 'feature-quality', 'value': 'high'},
{'name': 'pc-quality', 'value': 'high'}]})
Preset.objects.update_or_create(name='Buildings Ultra Quality', system=True,
defaults={'options': [{'name': 'auto-boundary', 'value': True},
{'name': 'mesh-size', 'value': '300000'},
{'name': 'pc-geometric', 'value': True},
{'name': 'feature-quality', 'value': 'ultra'},
{'name': 'pc-quality', 'value': 'ultra'}]})
Preset.objects.update_or_create(name='Point of Interest', system=True,
defaults={'options': [{'name': 'auto-boundary', 'value': True},
{'name': 'mesh-size', 'value': '300000'},
{'name': 'use-3dmesh', 'value': True}]})
Preset.objects.update_or_create(name='Forest', system=True,
defaults={'options': [{'name': 'auto-boundary', 'value': True},
{'name': 'min-num-features', 'value': '18000'},
Expand Down

0 comments on commit 9508530

Please sign in to comment.