Skalierung zurückgeändert (temporär) -> Bug in Code: Je nachdem ob Hatchfill verwendet wird ist die Skalierung entweder 3.5433070660 oder 1.000000000

This commit is contained in:
Mario Voigt 2019-08-08 22:40:25 +02:00
parent 22ea80e3a5
commit b01ff643b7

View File

@ -3327,7 +3327,7 @@ class plotter_gcode(inkex.Effect):
if self.options.coordinates_unit == "MM": if self.options.coordinates_unit == "MM":
points = [[0.,0.,0.],[100.,0.,0.],[0.,100.,0.]] points = [[0.,0.,0.],[100.,0.,0.],[0.,100.,0.]]
#2019.08.08 - geaendert (Mario Voigt) orientation_scale = 3.5433070660 #2019.08.08 - geaendert (Mario Voigt) orientation_scale = 3.5433070660
orientation_scale = 1.0 orientation_scale = 3.5433070660
print_("orientation_scale < 0 ===> switching to mm units=%0.10f"%orientation_scale ) print_("orientation_scale < 0 ===> switching to mm units=%0.10f"%orientation_scale )
elif self.options.coordinates_unit == "IN": elif self.options.coordinates_unit == "IN":
points = [[0.,0.,0.],[5.,0.,0.],[0.,5.,0.]] points = [[0.,0.,0.],[5.,0.,0.],[0.,5.,0.]]