Public Member Functions | |
def | setUp (self) |
def | tearDown (self) |
def | test_arc (self) |
def | test_arc_3points (self) |
def | test_bezcurve (self) |
def | test_bspline (self) |
def | test_circle (self) |
def | test_cubicbezcurve (self) |
def | test_dimension_angular (self) |
def | test_dimension_linear (self) |
def | test_dimension_radial (self) |
def | test_ellipse (self) |
def | test_facebinder (self) |
def | test_fillet (self) |
def | test_label (self) |
def | test_line (self) |
def | test_point (self) |
def | test_polygon (self) |
def | test_polyline (self) |
def | test_rectangle (self) |
def | test_shapestring (self) |
def | test_text (self) |
Public Attributes | |
doc | |
Detailed Description
Test Draft creation functions.
Member Function Documentation
◆ setUp()
def drafttests.test_creation.DraftCreation.setUp | ( | self | ) |
Set up a new document to hold the tests. This is executed before every test, so we create a document to hold the objects.
◆ tearDown()
def drafttests.test_creation.DraftCreation.tearDown | ( | self | ) |
Finish the test. This is executed after each test, so we close the document.
References drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_creation.DraftCreation.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, App::RelabelDocumentExpressionVisitor.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
Referenced by PathTests.TestPathHelix.TestPathHelix.test03(), and PathTests.TestPathHelix.TestPathHelix.test04().
◆ test_arc()
def drafttests.test_creation.DraftCreation.test_arc | ( | self | ) |
Create a circular arc.
◆ test_arc_3points()
def drafttests.test_creation.DraftCreation.test_arc_3points | ( | self | ) |
Create a circular arc from three points.
◆ test_bezcurve()
def drafttests.test_creation.DraftCreation.test_bezcurve | ( | self | ) |
Create a bezier curve of six points, degree five.
◆ test_bspline()
def drafttests.test_creation.DraftCreation.test_bspline | ( | self | ) |
Create a BSpline of three points.
◆ test_circle()
def drafttests.test_creation.DraftCreation.test_circle | ( | self | ) |
Create a circle.
◆ test_cubicbezcurve()
def drafttests.test_creation.DraftCreation.test_cubicbezcurve | ( | self | ) |
Create a cubic bezier curve of four points.
◆ test_dimension_angular()
def drafttests.test_creation.DraftCreation.test_dimension_angular | ( | self | ) |
Create an angular dimension between two lines at given angles.
◆ test_dimension_linear()
def drafttests.test_creation.DraftCreation.test_dimension_linear | ( | self | ) |
Create a linear dimension.
◆ test_dimension_radial()
def drafttests.test_creation.DraftCreation.test_dimension_radial | ( | self | ) |
Create a circle and then a radial dimension.
References drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_creation.DraftCreation.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, App::RelabelDocumentExpressionVisitor.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ test_ellipse()
def drafttests.test_creation.DraftCreation.test_ellipse | ( | self | ) |
Create an ellipse.
◆ test_facebinder()
def drafttests.test_creation.DraftCreation.test_facebinder | ( | self | ) |
Create a box, and then a facebinder from its faces.
References drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_creation.DraftCreation.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, App::RelabelDocumentExpressionVisitor.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ test_fillet()
def drafttests.test_creation.DraftCreation.test_fillet | ( | self | ) |
Create two lines, and a fillet between them.
References drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_creation.DraftCreation.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, App::RelabelDocumentExpressionVisitor.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ test_label()
def drafttests.test_creation.DraftCreation.test_label | ( | self | ) |
Create a label.
References drafttests.test_airfoildat.DraftAirfoilDAT.doc, drafttests.test_creation.DraftCreation.doc, Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, App::RelabelDocumentExpressionVisitor.doc, draftguitools.gui_base_original.DraftTool.doc, App::DynamicProperty::PropData.doc, draftguitools.gui_base.GuiCommandBase.doc, App::LinkBaseExtension::PropInfo.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ test_line()
def drafttests.test_creation.DraftCreation.test_line | ( | self | ) |
Create a line.
◆ test_point()
def drafttests.test_creation.DraftCreation.test_point | ( | self | ) |
Create a point.
◆ test_polygon()
def drafttests.test_creation.DraftCreation.test_polygon | ( | self | ) |
Create a regular polygon.
◆ test_polyline()
def drafttests.test_creation.DraftCreation.test_polyline | ( | self | ) |
Create a polyline.
◆ test_rectangle()
def drafttests.test_creation.DraftCreation.test_rectangle | ( | self | ) |
Create a rectangle.
◆ test_shapestring()
def drafttests.test_creation.DraftCreation.test_shapestring | ( | self | ) |
Create a ShapeString. NOT IMPLEMENTED CURRENTLY.
◆ test_text()
def drafttests.test_creation.DraftCreation.test_text | ( | self | ) |
Create a text object.
Member Data Documentation
◆ doc
drafttests.test_creation.DraftCreation.doc |
Referenced by WorkingPlane.Plane.alignToPointAndAxis(), WorkingPlane.Plane.alignToPointAndAxis_SVG(), Mod.Show.SceneDetails.Pickability.Pickability.apply_data(), Mod.Show.SceneDetails.VProperty.VProperty.apply_data(), Mod.Show.SceneDetails.ClipPlane.ClipPlane.apply_data(), Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.apply_data(), importSVG.svgHandler.characters(), importSVG.svgHandler.endElement(), Mod.Show.SceneDetail.SceneDetail.full_key(), WorkingPlane.Plane.reset(), Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.scene_value(), Mod.Show.SceneDetails.Pickability.Pickability.scene_value(), Mod.Show.SceneDetails.VProperty.VProperty.scene_value(), Mod.Show.SceneDetail.SceneDetail.set_doc(), PathTests.TestPathToolController.TestPathToolController.tearDown(), PathTests.TestPathHelix.TestPathHelix.tearDown(), PathTests.TestPathSetupSheet.TestPathSetupSheet.tearDown(), drafttests.test_creation.DraftCreation.tearDown(), TestSpreadsheet.SpreadsheetCases.tearDown(), PathTests.TestPathUtil.TestPathUtil.test00(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test00(), PathTests.TestPathUtil.TestPathUtil.test01(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test01(), PathTests.TestPathUtil.TestPathUtil.test02(), PathTests.TestPathUtil.TestPathUtil.test03(), PathTests.TestPathHelix.TestPathHelix.test03(), PathTests.TestPathUtil.TestPathUtil.test04(), PathTests.TestPathHelix.TestPathHelix.test04(), PathTests.TestPathSetupSheet.TestPathSetupSheet.test13(), drafttests.test_creation.DraftCreation.test_dimension_radial(), drafttests.test_creation.DraftCreation.test_facebinder(), drafttests.test_creation.DraftCreation.test_fillet(), drafttests.test_creation.DraftCreation.test_label(), TestSpreadsheet.SpreadsheetCases.testAggregates(), TestSpreadsheet.SpreadsheetCases.testAlias(), TestSpreadsheet.SpreadsheetCases.testAmbiguousAlias(), TestSpreadsheet.SpreadsheetCases.testClearAlias(), TestSpreadsheet.SpreadsheetCases.testCrossDocumentLinks(), TestSpreadsheet.SpreadsheetCases.testFunctions(), TestSpreadsheet.SpreadsheetCases.testInsertRows(), TestSpreadsheet.SpreadsheetCases.testInvoluteGear(), TestSpreadsheet.SpreadsheetCases.testIssue3128(), TestSpreadsheet.SpreadsheetCases.testIssue3225(), TestSpreadsheet.SpreadsheetCases.testIssue3363(), TestSpreadsheet.SpreadsheetCases.testIssue3432(), TestSpreadsheet.SpreadsheetCases.testMatrix(), TestSpreadsheet.SpreadsheetCases.testNumbers(), TestSpreadsheet.SpreadsheetCases.testPlacementName(), TestSpreadsheet.SpreadsheetCases.testPrecedence(), TestSpreadsheet.SpreadsheetCases.testRelationalOperators(), TestSpreadsheet.SpreadsheetCases.testRemoveRows(), TestSpreadsheet.SpreadsheetCases.testRenameAlias(), TestSpreadsheet.SpreadsheetCases.testRenameAlias2(), TestSpreadsheet.SpreadsheetCases.testRenameAlias3(), TestSpreadsheet.SpreadsheetCases.testSetInvalidAlias(), TestSpreadsheet.SpreadsheetCases.testSetInvalidAlias2(), TestSpreadsheet.SpreadsheetCases.testSketcher(), TestSpreadsheet.SpreadsheetCases.testUnits(), Mod.PartDesign.WizardShaft.Shaft.Shaft.updateConstraint(), Mod.PartDesign.WizardShaft.Shaft.Shaft.updateEdge(), and Mod.Show.SceneDetails.ObjectClipPlane.ObjectClipPlane.val().
The documentation for this class was generated from the following file:
- src/Mod/Draft/drafttests/test_creation.py