[PD] fix Shaft wizard

- the functionality is now in FC's core, for more info see: https://forum.freecadweb.org/viewtopic.php?p=599044#p599044
and following
This commit is contained in:
Uwe
2022-06-01 16:13:09 +02:00
parent 700e6017e8
commit 154d06bb0d

View File

@@ -27,7 +27,7 @@ import FreeCAD, FreeCADGui
class Diagram:
def create(self, title, function, xlength, xname, xunit, xscale, yname, yunit, yscale, numxpoints):
# Initialize
from freecad.plot import Plot
from FreeCAD.Plot import Plot
self.title = title
self.function = function # This is assumed to be always a SegmentFunction
self.xlength = xlength