mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 18:18:35 +05:00
Mantis issue 20052: RemoveExtraEdges signature changed (integer parameter theOptimumNbFaces replaced with boolean doUnionFaces).
This commit is contained in:
parent
f5e416e256
commit
16fc7fed7d
@ -456,13 +456,13 @@ def TestOtherOperations (geompy, math):
|
||||
|
||||
Shell_1 = geompy.MakeShell([Face_1, Rotation_1, Rotation_2, Rotation_3, Rotation_4, Rotation_5])
|
||||
Solid_1 = geompy.MakeSolid([Shell_1])
|
||||
NoExtraEdges_1 = geompy.RemoveExtraEdges(Solid_1, 0)
|
||||
NoExtraEdges_1 = geompy.RemoveExtraEdges(Solid_1, True) # doUnionFaces = True
|
||||
|
||||
geompy.addToStudy(Shell_1, "Shell_1")
|
||||
geompy.addToStudy(Solid_1, "Solid_1")
|
||||
geompy.addToStudy(NoExtraEdges_1, "NoExtraEdges_1")
|
||||
|
||||
# RemoveExtraEdges
|
||||
# RemoveExtraEdges (by default, doUnionFaces = False)
|
||||
freeFacesWithoutExtra = geompy.RemoveExtraEdges(freeFaces)
|
||||
|
||||
geompy.addToStudy(freeFacesWithoutExtra, "freeFacesWithoutExtra")
|
||||
|
Loading…
Reference in New Issue
Block a user