FeatureArea will return the user defined workplane if there is one, or else it returns auto selected plane by its internal Area object
37 lines
1.5 KiB
XML
37 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
|
|
<PythonExport
|
|
Father="DocumentObjectPy"
|
|
Name="FeatureAreaPy"
|
|
Twin="FeatureArea"
|
|
TwinPointer="FeatureArea"
|
|
Include="Mod/Path/App/FeatureArea.h"
|
|
Namespace="Path"
|
|
FatherInclude="App/DocumentObjectPy.h"
|
|
FatherNamespace="App">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Zheng, Lei" EMail="realthunder.dev@gmail.com" />
|
|
<UserDocu>This class handles Path Area features</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="getArea">
|
|
<Documentation>
|
|
<UserDocu>Return a copy of the encapsulated Python Area object.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="setParams" Keyword="true">
|
|
<Documentation>
|
|
<UserDocu>setParams(key=value...): Convenient function to configure this feature.\n
|
|
Same usage as Path.Area.setParams(). This function stores the parameters in the properties.</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Attribute Name="WorkPlane" ReadOnly="false">
|
|
<Documentation>
|
|
<UserDocu>The current workplane. If no plane is set, it is derived from the added shapes.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="WorkPlane" Type="Object"/>
|
|
</Attribute>
|
|
<CustomAttributes />
|
|
</PythonExport>
|
|
</GenerateModel>
|
|
|