2021-03-16 20:14:40 -04:00
|
|
|
"""
|
|
|
|
export a city into Stl format
|
|
|
|
SPDX - License - Identifier: LGPL - 3.0 - or -later
|
|
|
|
Copyright © 2020 Project Author Guille Gutierrez guillermo.gutierrezmorote@concordia.ca
|
|
|
|
"""
|
|
|
|
|
2021-03-16 12:33:22 -04:00
|
|
|
from exports.formats.triangular import Triangular
|
|
|
|
|
2021-03-16 16:58:52 -04:00
|
|
|
|
2021-03-16 12:33:22 -04:00
|
|
|
class Stl(Triangular):
|
2021-08-26 13:27:43 -04:00
|
|
|
"""
|
|
|
|
Export to STL
|
|
|
|
"""
|
2021-03-16 12:33:22 -04:00
|
|
|
def __init__(self, city, path):
|
2021-03-25 09:11:30 -04:00
|
|
|
super().__init__(city, path, 'stl', write_mode='wb')
|