support for colors in openscad export
This commit is contained in:
parent
d6b94b0167
commit
19123f0844
3 changed files with 6 additions and 2 deletions
|
@ -111,7 +111,7 @@ class MapRenderer:
|
|||
scale = (bottom - min_altitude) / int(0.7 * 1000)
|
||||
offset = min_altitude - bottom * scale
|
||||
engine.add_geometry(altitudearea.geometry.fit(scale=scale, offset=offset).filter(top=False),
|
||||
fill=FillAttribs('#aaaaaa'), category='ground')
|
||||
fill=FillAttribs('#eeeeee'), category='ground')
|
||||
|
||||
# render altitude areas in default ground color and add ground colors to each one afterwards
|
||||
# shadows are directly calculated and added by the engine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue