67 lines
1.9 KiB
XML
67 lines
1.9 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="BaseClassPy"
|
|
Name="PathSimPy"
|
|
Twin="PathSim"
|
|
TwinPointer="PathSim"
|
|
Include="Mod/CAM/PathSimulator/App/PathSim.h"
|
|
Namespace="PathSimulator"
|
|
FatherInclude="Base/BaseClassPy.h"
|
|
FatherNamespace="Base"
|
|
Constructor="true"
|
|
Delete="true">
|
|
<Documentation>
|
|
<Author Licence="LGPL" Name="Shai Seger" EMail="shaise_at_g-mail" />
|
|
<UserDocu>FreeCAD python wrapper of PathSimulator
|
|
|
|
PathSimulator.PathSim():
|
|
|
|
Create a path simulator object
|
|
</UserDocu>
|
|
</Documentation>
|
|
<Methode Name="BeginSimulation" Keyword='true'>
|
|
<Documentation>
|
|
<UserDocu>BeginSimulation(stock, resolution):
|
|
|
|
Start a simulation process on a box shape stock with given resolution
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="SetToolShape">
|
|
<Documentation>
|
|
<UserDocu>SetToolShape(shape):
|
|
|
|
Set the shape of the tool to be used for simulation
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="GetResultMesh">
|
|
<Documentation>
|
|
<UserDocu>
|
|
GetResultMesh():
|
|
|
|
Return the current mesh result of the simulation.
|
|
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Methode Name="ApplyCommand" Keyword='true'>
|
|
<Documentation>
|
|
<UserDocu>
|
|
ApplyCommand(placement, command):
|
|
|
|
Apply a single path command on the stock starting from placement.
|
|
|
|
</UserDocu>
|
|
</Documentation>
|
|
</Methode>
|
|
<Attribute Name="Tool" ReadOnly="true">
|
|
<Documentation>
|
|
<UserDocu>Return current simulation tool.</UserDocu>
|
|
</Documentation>
|
|
<Parameter Name="Tool" Type="Object"/>
|
|
</Attribute>
|
|
</PythonExport>
|
|
</GenerateModel>
|