- reverted the previous changes to object collection; it is better to create empty methods in FlatCAMScript and FlatCAMDocument objects

This commit is contained in:
Marius Stanciu
2020-05-17 21:56:44 +03:00
committed by Marius
parent c1941bc882
commit 4cfecfa70a
7 changed files with 50 additions and 15 deletions

View File

@@ -228,6 +228,27 @@ class ScriptObject(FlatCAMObj):
else:
self.script_editor_tab.code_editor.completer_enable = False
def mirror(self, axis, point):
pass
def offset(self, vect):
pass
def rotate(self, angle, point):
pass
def scale(self, xfactor, yfactor=None, point=None):
pass
def skew(self, angle_x, angle_y, point):
pass
def buffer(self, distance, join, factor=None):
pass
def bounds(self, flatten=False):
return None, None, None, None
def to_dict(self):
"""
Returns a representation of the object as a dictionary.