Forgot the first level code that calls _revolve.
This commit is contained in:
parent
e57b36c58c
commit
a5923cfbed
|
@ -1884,7 +1884,11 @@ class Workplane(CQ):
|
|||
* if combine is true, the value is combined with the context solid if it exists,
|
||||
and the resulting solid becomes the new context solid.
|
||||
"""
|
||||
|
||||
r = self._extrude(angleDegrees) #returns a Solid ( or a compound if there were multiple )
|
||||
if combine:
|
||||
return self._combineWithBase(r)
|
||||
else:
|
||||
return self.newObject([r])
|
||||
|
||||
def _combineWithBase2(self,obj):
|
||||
"""
|
||||
|
@ -2141,8 +2145,6 @@ class Workplane(CQ):
|
|||
#Revolve the wires, make a compound out of them and then fuse them
|
||||
toFuse = []
|
||||
for ws in wireSets:
|
||||
#TODO: Replace the line below with the equivalent revolve function
|
||||
#thisObj = Solid.extrudeLinear(ws[0], ws[1:], eDir)
|
||||
thisObj = Solid.revolve(ws[0], ws[1:], angleDegrees)
|
||||
toFuse.append(thisObj)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user