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 | |
A helper class to prepare a Part.Wire object
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.
def Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.close | ( | self | ) |
Referenced by femexamples.examplesgui.FemExamples.reject().
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.
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().
def Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.move | ( | self, | |
p | |||
) |
set current position
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, and SketcherGui::DrawSketchHandlerEllipse.pos.
Referenced by draftguitools.gui_circulararray.CircularArray.Activated(), and draftguitools.gui_polararray.PolarArray.Activated().
Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.pos |
Referenced by draftguitools.gui_beziers.BezCurve.action(), draftguitools.gui_beziers.CubicBezCurve.action(), draftguitools.gui_ellipses.Ellipse.action(), draftguitools.gui_lines.Line.action(), draftguitools.gui_rectangles.Rectangle.action(), draftguitools.gui_splines.BSpline.action(), draftguitools.gui_stretch.Stretch.action(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.arc(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.arc(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.arc(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.curve(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.curve(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.curve(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.line(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.line(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.line(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.move(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.move(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.move(), and draftguitools.gui_trackers.boxTracker.update().
Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.theta |
Referenced by Mod.PartDesign.fcgear.fcgear.FCWireBuilder.arc(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.arc(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.arc(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.curve(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.curve(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.curve(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.line(), Mod.PartDesign.fcgear.svggear.SVGWireBuilder.line(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.line(), and Mod.PartDesign.fcgear.svggear.SVGWireBuilder.move().
Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.wire |
Referenced by Mod.PartDesign.fcgear.fcgear.FCWireBuilder.arc(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.arc(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.curve(), Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.curve(), PathScripts.PathDressupLeadInOut.ObjectDressup.execute(), PathScripts.PathDressupRampEntry.ObjectDressup.execute(), PathScripts.PathDressupTag.ObjectDressup.execute(), PathScripts.PathDressupRampEntry.ObjectDressup.generateHelix(), PathScripts.PathDressupRampEntry.ObjectDressup.generateRamps(), PathScripts.PathFeatureExtensions.Extension.getSubLink(), Mod.PartDesign.fcgear.fcgear.FCWireBuilder.line(), and Mod.PartDesign.fcsprocket.fcsprocket.FCWireBuilder.line().