fix openscad renderer building wrong differences

This commit is contained in:
Laura Klünder 2018-12-06 16:43:15 +01:00
parent 0e5e9f3eae
commit a6888ba618

View file

@ -164,7 +164,7 @@ class OpenSCADEngine(Base3DEngine):
# actual thingy # actual thingy
if max_slope_altitude > current_upper_bound: if max_slope_altitude > current_upper_bound:
polygon = self._add_polygon(None, outside_geometry, polygon = self._add_polygon(None, inside_geometry,
current_upper_bound-10, max_slope_altitude+10) current_upper_bound-10, max_slope_altitude+10)
slope = self._add_slope(bounds, altitudearea.altitude, altitudearea.altitude2, slope = self._add_slope(bounds, altitudearea.altitude, altitudearea.altitude2,
altitudearea.point1, altitudearea.point2, bottom=False) altitudearea.point1, altitudearea.point2, bottom=False)