Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder Class Reference

Public Member Functions

def arc (self, p, r, sweep)
 
def close (self)
 
def curve (self, *points)
 
def line (self, p)
 
def move (self, p)
 

Public Attributes

 pos
 
 theta
 
 wire
 

Detailed Description

A helper class to prepare a Part.Wire object

Member Function Documentation

◆ arc()

def Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.arc (   self,
  p,
  r,
  sweep 
)
"Add an arc from self.pos to p which radius is r
sweep (0 or 1) determine the orientation of the arc

References Mod.PartDesign.fcsprocket.fcsprocket.midpoints(), e57::BufferView.pos(), KwdSct.pos, GmfMshSct.pos, Py::MapBase< T >::iterator.pos, Py::MapBase< T >::const_iterator.pos, Gui::DockWindowItem.pos, SoVectorizeText.pos, SoVectorizeImage.pos, Gui::TaskView::TaskDialog.pos, Gui::ToolTip.pos, draftguitools.gui_base_original.DraftTool.pos, draftguitools.gui_beziers.BezCurve.pos, draftguitools.gui_beziers.CubicBezCurve.pos, draftguitools.gui_lines.Line.pos, draftguitools.gui_splines.BSpline.pos, draftguitools.gui_trackers.boxTracker.pos(), MeshGui::Vertex.pos, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.pos, Mod.PartDesign.fcgear.svggear.SVGWireBuilder.pos, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.pos, PathScripts.PathDressupDogbone.Marker.pos, PathScripts.PathDressupTagGui.HoldingTagMarker.pos, KDL::Trajectory_Stationary.pos, SketcherGui::DrawSketchHandlerEllipse.pos, Base::DualQuat.theta(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.theta, Mod.PartDesign.fcgear.svggear.SVGWireBuilder.theta, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.theta, Robot::AxisDefinition.theta, SketcherGui::DrawSketchHandlerEllipse.theta, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.wire, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.wire, WireInfo.wire, PathScripts.PathDressupLeadInOut.ObjectDressup.wire, PathScripts.PathDressupRampEntry.ObjectDressup.wire, PathScripts.PathDressupTag.ObjectDressup.wire, and PathScripts.PathFeatureExtensions.Extension.wire.

◆ close()

def Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.close (   self)

◆ curve()

def Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.curve (   self,
points 
)
Add a Bezier curve from self.pos to points[-1]
every other points are the control points of the Bezier curve (which
will thus be of degree len(points) )

References e57::BufferView.pos(), KwdSct.pos, GmfMshSct.pos, Py::MapBase< T >::iterator.pos, Py::MapBase< T >::const_iterator.pos, Gui::DockWindowItem.pos, SoVectorizeText.pos, SoVectorizeImage.pos, Gui::TaskView::TaskDialog.pos, Gui::ToolTip.pos, draftguitools.gui_base_original.DraftTool.pos, draftguitools.gui_beziers.BezCurve.pos, draftguitools.gui_beziers.CubicBezCurve.pos, draftguitools.gui_lines.Line.pos, draftguitools.gui_splines.BSpline.pos, draftguitools.gui_trackers.boxTracker.pos(), MeshGui::Vertex.pos, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.pos, Mod.PartDesign.fcgear.svggear.SVGWireBuilder.pos, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.pos, PathScripts.PathDressupDogbone.Marker.pos, PathScripts.PathDressupTagGui.HoldingTagMarker.pos, KDL::Trajectory_Stationary.pos, SketcherGui::DrawSketchHandlerEllipse.pos, Base::DualQuat.theta(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.theta, Mod.PartDesign.fcgear.svggear.SVGWireBuilder.theta, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.theta, Robot::AxisDefinition.theta, SketcherGui::DrawSketchHandlerEllipse.theta, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.wire, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.wire, WireInfo.wire, PathScripts.PathDressupLeadInOut.ObjectDressup.wire, PathScripts.PathDressupRampEntry.ObjectDressup.wire, PathScripts.PathDressupTag.ObjectDressup.wire, and PathScripts.PathFeatureExtensions.Extension.wire.

◆ line()

def Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.line (   self,
  p 
)
Add a segment between self.pos and p

References e57::BufferView.pos(), KwdSct.pos, GmfMshSct.pos, Py::MapBase< T >::iterator.pos, Py::MapBase< T >::const_iterator.pos, Gui::DockWindowItem.pos, SoVectorizeText.pos, SoVectorizeImage.pos, Gui::TaskView::TaskDialog.pos, Gui::ToolTip.pos, draftguitools.gui_base_original.DraftTool.pos, draftguitools.gui_beziers.BezCurve.pos, draftguitools.gui_beziers.CubicBezCurve.pos, draftguitools.gui_lines.Line.pos, draftguitools.gui_splines.BSpline.pos, draftguitools.gui_trackers.boxTracker.pos(), MeshGui::Vertex.pos, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.pos, Mod.PartDesign.fcgear.svggear.SVGWireBuilder.pos, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.pos, PathScripts.PathDressupDogbone.Marker.pos, PathScripts.PathDressupTagGui.HoldingTagMarker.pos, KDL::Trajectory_Stationary.pos, SketcherGui::DrawSketchHandlerEllipse.pos, Base::DualQuat.theta(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.theta, Mod.PartDesign.fcgear.svggear.SVGWireBuilder.theta, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.theta, Robot::AxisDefinition.theta, SketcherGui::DrawSketchHandlerEllipse.theta, Mod.PartDesign.fcgear.fcgear.FCWireBuilder.wire, Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.wire, WireInfo.wire, PathScripts.PathDressupLeadInOut.ObjectDressup.wire, PathScripts.PathDressupRampEntry.ObjectDressup.wire, PathScripts.PathDressupTag.ObjectDressup.wire, and PathScripts.PathFeatureExtensions.Extension.wire.

Referenced by Plot.Line.getp(), Plot.Line.setp(), draftguitools.gui_trackers.wireTracker.update(), and draftviewproviders.view_label.ViewProviderLabel.updateData().

◆ move()

Member Data Documentation

◆ pos

◆ theta

◆ wire


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