Draft: Small fix to wire object
This commit is contained in:
parent
222def8764
commit
9ae96083d3
|
@ -2416,7 +2416,8 @@ class _Wire:
|
||||||
for v in shape.Vertexes: p.append(v.Point)
|
for v in shape.Vertexes: p.append(v.Point)
|
||||||
if fp.Points != p: fp.Points = p
|
if fp.Points != p: fp.Points = p
|
||||||
elif fp.Base and fp.Tool:
|
elif fp.Base and fp.Tool:
|
||||||
if ('Shape' in fp.Base.PropertiesList) and ('Shape' in fp.Tool.PropertiesList):
|
if fp.Base.isDerivedFrom("Part::Feature") and fp.Tool.isDerivedFrom("Part::Feature"):
|
||||||
|
if (not fp.Base.Shape.isNull()) and (not fp.Tool.Shape.isNull()):
|
||||||
sh1 = fp.Base.Shape.copy()
|
sh1 = fp.Base.Shape.copy()
|
||||||
sh2 = fp.Tool.Shape.copy()
|
sh2 = fp.Tool.Shape.copy()
|
||||||
shape = sh1.fuse(sh2)
|
shape = sh1.fuse(sh2)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user