fixes #0003493: Python Shape.isClosed() returns false for any solid, including primitive Parts

This commit is contained in:
wmayer
2018-05-27 15:10:44 +02:00
parent f3dc1adc2c
commit 564b2ea86c
2 changed files with 54 additions and 2 deletions

View File

@@ -443,7 +443,12 @@ As a result, this shape becomes null.</UserDocu>
</Methode>
<Methode Name="isClosed" Const="true">
<Documentation>
<UserDocu>Checks if the shape is closed.</UserDocu>
<UserDocu>Checks if the shape is closed
If the shape is a shell it returns True if it has no free boundaries (edges).
If the shape is a wire it returns True if it has no free ends (vertices).
(Internal and External sub-shepes are ignored in these checks)
If the shape is an edge it returns True if its vertices are the same.
</UserDocu>
</Documentation>
</Methode>
<Methode Name="isPartner" Const="true">