city_retrofit/hub/exports/formats/stl.py

17 lines
398 B
Python
Raw Permalink Normal View History

2021-03-16 20:14:40 -04:00
"""
export a city into Stl format
SPDX - License - Identifier: LGPL - 3.0 - or -later
Copyright © 2022 Concordia CERC group
Project Coder Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
2021-03-16 20:14:40 -04:00
"""
2023-01-24 10:51:50 -05:00
from hub.exports.formats.triangular import Triangular
2021-03-16 16:58:52 -04:00
class Stl(Triangular):
2021-08-26 13:27:43 -04:00
"""
Export to STL
"""
def __init__(self, city, path):
super().__init__(city, path, 'stl', write_mode='wb')