PathScripts.PathCamoticsGui.CamoticsSimulation Class Reference

Public Member Functions

def accept (self)
 
def Activate (self)
 
def addMesh (self, surface)
 
def buildproject (self)
 
def callback (self, status, progress)
 
def cancel (self)
 
def execute (self, timeIndex)
 
def isDone (self, success)
 
def worker (self, lock)
 

Public Attributes

 job
 
 taskForm
 

Static Public Attributes

list filenames = []
 
 progressUpdate = QtCore.Signal(object)
 
 q = queue.Queue()
 
dictionary SHAPEMAP
 
 simmesh = None
 
 statusChange = QtCore.Signal(object)
 

Member Function Documentation

◆ accept()

◆ Activate()

def PathScripts.PathCamoticsGui.CamoticsSimulation.Activate (   self)

◆ addMesh()

def PathScripts.PathCamoticsGui.CamoticsSimulation.addMesh (   self,
  surface 
)
takes a binary stl and adds a Mesh to the current document

References PathScripts.PathCamoticsGui.CamoticsSimulation.simmesh.

Referenced by PathScripts.PathCamoticsGui.CamoticsSimulation.worker().

◆ buildproject()

def PathScripts.PathCamoticsGui.CamoticsSimulation.buildproject (   self)

◆ callback()

◆ cancel()

def PathScripts.PathCamoticsGui.CamoticsSimulation.cancel (   self)

◆ execute()

def PathScripts.PathCamoticsGui.CamoticsSimulation.execute (   self,
  timeIndex 
)

References SmSwitchboard.callback(), Gui::SoFCSelectionRoot.callback(), ArchCommands._SurveyObserver.callback, ArchStructure.StructSelectionObserver.callback, DraftGui.DraftToolBar.callback, nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >.callback, nlohmann::detail::parser< BasicJsonType, InputAdapterType >.callback, PathScripts.PathCamoticsGui.CamoticsSimulation.callback(), Gui::SoAutoZoomTranslation.callback(), MeshGui::SoFCMeshFacet.callback(), MeshGui::SoFCMeshObjectNode.callback(), MeshGui::SoFCMeshVertex.callback(), SketcherGui::SoZoomTranslation.callback(), qtunittest.GUITestResult.callback, Mod.Test.unittestgui.GUITestResult.callback, PathScripts.PathCamoticsGui.CamoticsSimulation.isDone(), and PathScripts.PathCamoticsGui.CamoticsSimulation.SIM.

Referenced by draftobjects.facebinder.Facebinder.addSubobjects(), PathScripts.PathDressupDogbone.ObjectDressup.boneStateList(), ArchSite.Compass.buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.generateTags(), ArchPanel.PanelCut.getWires(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), FeaturePython.DistanceBolt.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), draftobjects.draftlink.DraftLink.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), and draftobjects.pathtwistedarray.PathTwistedArray.onDocumentRestored().

◆ isDone()

def PathScripts.PathCamoticsGui.CamoticsSimulation.isDone (   self,
  success 
)

References Collector.q, Simplify::Vertex.q, PathScripts.PathCamoticsGui.CamoticsSimulation.q, KDL::ChainIkSolverPos_LMA.q, KDL::JntArrayAcc.q, and KDL::JntArrayVel.q.

Referenced by PathScripts.PathCamoticsGui.CamoticsSimulation.execute().

◆ worker()

Member Data Documentation

◆ filenames

list PathScripts.PathCamoticsGui.CamoticsSimulation.filenames = []
static

◆ job

PathScripts.PathCamoticsGui.CamoticsSimulation.job

Referenced by PathScripts.PathOp.ObjectOp.addBase(), PathScripts.PathDrilling.ObjectDrilling.circularHoleExecute(), PathScripts.PathToolLibraryEditor.EditorPanel.copyTools(), PathScripts.PathOp.ObjectOp.execute(), PathScripts.PathOp.ObjectOp.getJob(), PathScripts.PathOpGui.TaskPanelBaseGeometryPage.modifyPanel(), PathScripts.PathSimulatorGui.PathSimulation.onJobChange(), PathScripts.PathPocket.ObjectPocket.opUpdateDepths(), PathScripts.PathSurface.ObjectSurface.opUpdateDepths(), PathScripts.PathWaterline.ObjectWaterline.opUpdateDepths(), PathScripts.PathOp.ObjectOp.setDefaultValues(), PathTests.TestPathStock.TestPathStock.test00(), PathTests.TestPathPost.TestOutputNameSubstitution.test000(), PathTests.TestPathStock.TestPathStock.test01(), PathTests.TestPathPost.TestBuildPostList.test010(), PathTests.TestPathPost.TestOutputNameSubstitution.test010(), PathTests.TestPathPost.TestOutputNameSubstitution.test015(), PathTests.TestPathHelix.TestPathHelix.test02(), PathTests.TestPathPost.TestBuildPostList.test020(), PathTests.TestPathPost.TestOutputNameSubstitution.test020(), PathTests.TestPathHelix.TestPathHelix.test03(), PathTests.TestPathPost.TestBuildPostList.test030(), PathTests.TestPathPost.TestOutputNameSubstitution.test030(), PathTests.TestPathHelix.TestPathHelix.test04(), PathTests.TestPathPost.TestBuildPostList.test040(), PathTests.TestPathPost.TestOutputNameSubstitution.test040(), PathTests.TestPathPost.TestBuildPostList.test050(), PathTests.TestPathPost.TestOutputNameSubstitution.test050(), PathTests.TestPathPost.TestBuildPostList.test060(), PathTests.TestPathPost.TestOutputNameSubstitution.test060(), PathTests.TestPathPost.TestOutputNameSubstitution.test070(), PathTests.TestPathPost.TestOutputNameSubstitution.test080(), PathTests.TestPathStock.TestPathStock.test10(), PathTests.TestPathStock.TestPathStock.test11(), PathTests.TestPathStock.TestPathStock.test12(), and PathScripts.PathJobDlg.JobTemplateExport.updateUI().

◆ progressUpdate

PathScripts.PathCamoticsGui.CamoticsSimulation.progressUpdate = QtCore.Signal(object)
static

◆ q

◆ SHAPEMAP

dictionary PathScripts.PathCamoticsGui.CamoticsSimulation.SHAPEMAP
static
Initial value:
= {
"ballend": "Ballnose",
"endmill": "Cylindrical",
"v-bit": "Conical",
"chamfer": "Snubnose",
}

◆ simmesh

PathScripts.PathCamoticsGui.CamoticsSimulation.simmesh = None
static

◆ statusChange

PathScripts.PathCamoticsGui.CamoticsSimulation.statusChange = QtCore.Signal(object)
static

◆ taskForm


The documentation for this class was generated from the following file: