Finalizing Python interface bindings for Import, Measure, Mesh, Points.
This commit is contained in:
@@ -29,7 +29,7 @@ SET(Import_SRCS
|
||||
ReaderIges.h
|
||||
ReaderStep.cpp
|
||||
ReaderStep.h
|
||||
StepShapePy.xml
|
||||
StepShape.pyi
|
||||
StepShape.h
|
||||
StepShape.cpp
|
||||
StepShapePyImp.cpp
|
||||
@@ -76,8 +76,7 @@ SET(SCL_Resources
|
||||
)
|
||||
SOURCE_GROUP("SCL" FILES ${SCL_Resources})
|
||||
|
||||
generate_from_xml(StepShapePy)
|
||||
generate_from_py_(StepShapePy)
|
||||
generate_from_py(StepShape)
|
||||
|
||||
add_library(Import SHARED ${Import_SRCS})
|
||||
target_link_libraries(Import ${Import_LIBS})
|
||||
|
||||
@@ -4,18 +4,12 @@ from Base.Metadata import export
|
||||
from Base.PyObjectBase import PyObjectBase
|
||||
|
||||
@export(
|
||||
Father="PyObjectBase",
|
||||
Name="StepShapePy",
|
||||
Twin="StepShape",
|
||||
TwinPointer="StepShape",
|
||||
Include="Mod/Import/App/StepShape.h",
|
||||
Namespace="Import",
|
||||
FatherInclude="Base/PyObjectBase.h",
|
||||
FatherNamespace="Base",
|
||||
Constructor=True,
|
||||
Delete=True,
|
||||
)
|
||||
class StepShapePy(PyObjectBase):
|
||||
class StepShape(PyObjectBase):
|
||||
"""
|
||||
StepShape in Import
|
||||
This class gives a interface to retrieve TopoShapes out of an loaded STEP file of any kind.
|
||||
@@ -1,30 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
||||
<PythonExport
|
||||
Father="PyObjectBase"
|
||||
Name="StepShapePy"
|
||||
Twin="StepShape"
|
||||
TwinPointer="StepShape"
|
||||
Include="Mod/Import/App/StepShape.h"
|
||||
FatherInclude="Base/PyObjectBase.h"
|
||||
Namespace="Import"
|
||||
Constructor="true"
|
||||
Delete="true"
|
||||
FatherNamespace="Base">
|
||||
<Documentation>
|
||||
<Author Licence="LGPL" Name="Juergen Riegel" EMail="Juergen.Riegel@web.de" />
|
||||
<DeveloperDocu>StepShape in a Import</DeveloperDocu>
|
||||
<UserDocu>StepShape in Import
|
||||
This class gives a interface to retrieve TopoShapes out of an loaded STEP file of any kind.
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
<Methode Name="read">
|
||||
<Documentation>
|
||||
<UserDocu>method read()
|
||||
Read a STEP file into memory and make it accessible
|
||||
</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
|
||||
</PythonExport>
|
||||
</GenerateModel>
|
||||
Reference in New Issue
Block a user