Part: expose ShapeFix_Shape to Python

This commit is contained in:
wmayer
2022-05-04 14:09:03 +02:00
parent 0cd1f118fc
commit 6ce6cfe043
13 changed files with 443 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
FatherInclude="Base/PyObjectBase.h"
FatherNamespace="Base"
Constructor="true"
Delete="true">
Delete="false">
<Documentation>
<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
<UserDocu>Root class for fixing operations</UserDocu>
@@ -39,5 +39,15 @@
</Documentation>
<Parameter Name="MaxTolerance" Type="Float"/>
</Attribute>
<ClassDeclarations>
private:
Handle(ShapeFix_Root) hRoot;
public:
void setHandle(Handle(ShapeFix_Root) handle) {
setTwinPointer(handle.get());
hRoot = handle;
}
</ClassDeclarations>
</PythonExport>
</GenerateModel>