File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,9 @@ class union(OpenSCADObject):
168
168
def __init__ (self ):
169
169
OpenSCADObject .__init__ (self , 'union' , {})
170
170
171
+ def __add__ (self , x ):
172
+ return self .add (x )
173
+
171
174
172
175
class intersection (OpenSCADObject ):
173
176
'''
@@ -177,6 +180,9 @@ class intersection(OpenSCADObject):
177
180
def __init__ (self ):
178
181
OpenSCADObject .__init__ (self , 'intersection' , {})
179
182
183
+ def __mul__ (self , x ):
184
+ return self .add (x )
185
+
180
186
181
187
class difference (OpenSCADObject ):
182
188
'''
@@ -185,6 +191,9 @@ class difference(OpenSCADObject):
185
191
def __init__ (self ):
186
192
OpenSCADObject .__init__ (self , 'difference' , {})
187
193
194
+ def __sub__ (self ,x ):
195
+ return self .add (x )
196
+
188
197
189
198
class hole (OpenSCADObject ):
190
199
def __init__ (self ):
You can’t perform that action at this time.
0 commit comments