Basic 2D drawing tools and other generic tools. More...
Namespaces | |
annotation | |
This module provides the object code for Draft Annotation. | |
arc_3points | |
Provides the object code for Draft Arc_3Points. | |
array | |
Provides the object code for Draft array. | |
base | |
This module provides the object code for the basic Draft object. | |
bezcurve | |
This module provides the object code for Draft BezCurve. | |
block | |
This module provides the object code for Draft Block. | |
bspline | |
This module provides the object code for Draft BSpline. | |
circle | |
This module provides the object code for Draft Circle. | |
clone | |
This module provides the object code for Draft Clone. | |
cut | |
Provides provides the code for Draft cut function. | |
dimension | |
This module provides the object code for Draft Dimension. | |
downgrade | |
Provides the code for Draft downgrade function. | |
draft_test_objects | |
Run this file to create a standard test document for Draft objects. | |
DraftFillet | |
Provides Fillet class for objects created with a prototype version. | |
DraftGui | |
GUI elements and utilities of the Draft workbench. | |
draftify | |
This module provides the code for Draft draftify function. | |
draftlink | |
Provides the object code for the Draft Link object. | |
DraftTools | |
Provide GUI commands of the Draft workbench. | |
DraftTrackers | |
Provide Coin based objects used for previews in the Draft Workbench. | |
drawingview | |
This module provides the object code for the Draft DrawingView object. | |
ellipse | |
This module provides the object code for Draft Ellipse. | |
extrude | |
This module provides the code for Draft extrude function. | |
facebinder | |
This module provides the object code for Draft Facebinder. | |
fillet | |
Provides the object code for the Fillet object. | |
fuse | |
This module provides the code for Draft fuse function. | |
gui_arcs | |
Provides tools for creating circular arcs with the Draft Workbench. | |
gui_array_simple | |
Provides simple tools for creating arrays with the Draft Workbench. | |
gui_arrays | |
Provide the Draft ArrayTools command to group the other array tools. | |
gui_base | |
This module provides the Base object for all Draft Gui commands. | |
gui_base_original | |
Provides the Base object for most old Draft Gui Commands. | |
gui_beziers | |
Provides tools for creating Bezier curves with the Draft Workbench. | |
gui_circles | |
Provides tools for creating circlres with the Draft Workbench. | |
gui_circulararray | |
This module provides the Draft CircularArray tool. | |
gui_clone | |
Provides tools for creating clones of objects. | |
gui_dimension_ops | |
Provides tools to modify Draft dimensions. | |
gui_downgrade | |
Provides tools for downgrading objects with the Draft Workbench. | |
gui_draft2sketch | |
Provides tools for converting Draft objects to Sketches and back. | |
gui_drawing | |
Provides tools for sending projections to a Drawing Workbench page. | |
gui_edit | |
Provide the Draft_Edit command used by the Draft workbench. | |
gui_edit_arch_objects | |
Provide the support functions to Draft_Edit for Arch objects. | |
gui_edit_draft_objects | |
Provide the support functions to Draft_Edit for Draft objects. | |
gui_edit_part_objects | |
Provide the support functions to Draft_Edit for Part objects. | |
gui_ellipses | |
Provides tools for creating ellipses with the Draft Workbench. | |
gui_facebinders | |
Provides tools for creating facebinders with the Draft Workbench. | |
gui_fillet | |
Provides tools for creating fillets between two lines. | |
gui_grid | |
Provide the Draft_ToggleGrid command to show the Draft grid. | |
gui_groups | |
Provides tools to do various operations with groups. | |
gui_health | |
Provides the Draft_Heal command to heal older Draft files. | |
gui_join | |
Provides tools for joining lines with the Draft Workbench. | |
gui_labels | |
Provides tools for creating labels with the Draft Workbench. | |
gui_line_add_delete | |
Provides certain add and remove line operations. | |
gui_lineops | |
Provides certain line operations in the Draft Workbench. | |
gui_lines | |
Provides tools for creating straight lines with the Draft Workbench. | |
gui_lineslope | |
Provides tools to change the slope of a line over the working plane. | |
gui_mirror | |
Provides tools for creating mirrored objects with the Draft Workbench. | |
gui_move | |
Provides tools for moving objects in the 3D space. | |
gui_offset | |
Provides tools for offsetting objects with the Draft Workbench. | |
gui_orthoarray | |
Provides the Draft OrthoArray GuiCommand. | |
gui_patharray | |
Provides tools for creating path arrays with the Draft Workbench. | |
gui_planeproxy | |
This module provides the Draft WorkingPlaneProxy tool. | |
gui_pointarray | |
Provides tools for creating point arrays with the Draft Workbench. | |
gui_points | |
Provides tools for creating simple points with the Draft Workbench. | |
gui_polararray | |
This module provides the Draft PolarArray tool. | |
gui_polygons | |
Provides tools for creating regular polygons with the Draft Workbench. | |
gui_rectangles | |
Provides tools for creating rectangles with the Draft Workbench. | |
gui_rotate | |
Provides tools for rotating objects in the 3D space. | |
gui_scale | |
Provides tools for scaling objects with the Draft Workbench. | |
gui_selectplane | |
This module provides the Draft SelectPlane tool. | |
gui_shape2dview | |
Provides tools for projecting objects into a 2D plane. | |
gui_shapestrings | |
Provides tools for creating text shapes with the Draft Workbench. | |
gui_snapper | |
Snapper class to control snapping in the Draft Workbench. | |
gui_snaps | |
Provide the Draft_Snap commands used by the snapping mechanism in Draft. | |
gui_splines | |
Provides tools for creating B-Splines with the Draft Workbench. | |
gui_split | |
Provides tools for splitting lines with the Draft Workbench. | |
gui_stretch | |
Provides tools for stretching objects with the Draft Workbench. | |
gui_styles | |
Provides tools for applying styles to objects in the Draft Workbench. | |
gui_subelements | |
Provides tools for highlighting subelements in the Draft Workbench. | |
gui_texts | |
Provides tools for creating dimensions with the Draft Workbench. | |
gui_togglemodes | |
Provides certain mode operations of the Draft Workbench. | |
gui_tool_utils | |
Provides the utility functions for Draft Gui Commands. | |
gui_trimex | |
Provides tools for trimming and extending lines. | |
gui_upgrade | |
Provides tools for upgrading objects with the Draft Workbench. | |
gui_utils | |
This module provides GUI utility functions for the Draft Workbench. | |
gui_wire2spline | |
Provides tools for converting polylines to B-splines. | |
heal | |
This module provides the code for Draft heal function. | |
importAirfoilDAT | |
Airfoil (.dat) file importer. | |
importDWG | |
DWG file importer & exporter. | |
importDXF | |
DXF file importer & exporter. | |
importOCA | |
OCA (Open CAD Format) file importer & exporter. | |
importSVG | |
SVG file importer and exporter. | |
init_draft_statusbar | |
This module provides the code for the Draft Statusbar. | |
init_tools | |
This module provides lists of commands for the Draft Workbench. | |
join | |
This module provides the code for Draft join functions. | |
label | |
This module provides the object code for Draft Label. | |
make | |
This module provides the code for Draft make_circle. | |
make_array | |
This module provides the code for Draft make_array function. | |
make_bezcurve | |
This module provides the code for Draft make_bezcurve function. | |
make_block | |
This module provides the code for Draft make_block function. | |
make_bspline | |
This module provides the code for Draft make_bspline function. | |
make_circulararray | |
Provides functions for creating circular arrays in a plane. | |
make_clone | |
This module provides the code for Draft make_clone function. | |
make_copy | |
This module provides the code for Draft make_copy function. | |
make_drawingview | |
This module provides the code for Draft make_drawing_view function. | |
make_ellipse | |
This module provides the code for Draft make_ellipse function. | |
make_facebinder | |
This module provides the code for Draft make_facebinder function. | |
make_fillet | |
Provides the code to create Fillet objects. | |
make_line | |
This module provides the code for Draft make_line function. | |
make_orthoarray | |
Provides functions for creating orthogonal arrays in 2D and 3D. | |
make_patharray | |
Provides functions for creating path arrays. | |
make_point | |
This module provides the code for Draft make_point function. | |
make_pointarray | |
This module provides the code for Draft make_point_array function. | |
make_polararray | |
Provides functions for creating polar arrays in a plane. | |
make_rectangle | |
This module provides the code for Draft make_rectangle function. | |
make_shape2dview | |
This module provides the code for Draft make_shape2dview function. | |
make_shapestring | |
This module provides the code for Draft make_shapestring function. | |
make_sketch | |
This module provides the code for Draft make_sketch function. | |
make_text | |
Provides the make function to create Draft Text objects. | |
make_wire | |
This module provides the code for Draft make_wire function. | |
make_wpproxy | |
This module provides the code for Draft makeworkingplane_proxy function. | |
mirror | |
Provides the code for the mirror operation. | |
move | |
This module provides the code for Draft move function. | |
offset | |
This module provides the code for Draft offset function. | |
patharray | |
Provides the object code for the Draft PathArray object. | |
point | |
This module provides the object code for Draft Point. | |
pointarray | |
Provides the object code for the Draft PointArray object. | |
polygon | |
This module provides the object code for Draft Polygon. | |
rectangle | |
This module provides the object code for Draft Rectangle. | |
rotate | |
This module provides the code for Draft rotate function. | |
scale | |
This module provides the code for Draft scale function. | |
shape2dview | |
This module provides the object code for Draft Shape2dView. | |
shapestring | |
This module provides the object code for Draft Shapestring. | |
split | |
This module provides the code for Draft split functions. | |
task_circulararray | |
This module provides the task panel code for the CircularArray tool. | |
task_orthoarray | |
Provide the task panel for the Draft OrthoArray tool. | |
task_polararray | |
This module provides the task panel code for the PolarArray tool. | |
task_scale | |
Provide the task panel for the Draft Scale tool. | |
task_selectplane | |
This module provides the task panel code for the SelectPlane tool. | |
task_shapestring | |
Provide the task panel for the Draft ShapeString tool. | |
text | |
Provide the object code for Draft Text objects. | |
todo | |
This module provides the ToDo class for the Draft Workbench. | |
translate | |
Provide translate functions for the Draft Workbench. | |
utils | |
This module provides utility functions for the Draft Workbench. | |
view_array | |
Provides the view provider code for the Draft Array objects. | |
view_base | |
This module provides the view provider code for the base Draft object. | |
view_bezier | |
Provides the view provider code for Bezier curve objects. | |
view_bspline | |
Provides the view provider code for BSpline objects. | |
view_circulararray | |
Provides the view provider code for the circular array object. | |
view_clone | |
This module provides the view provider code for the Draft Clone object. | |
view_draftlink | |
This module provides the view provider code for the Draft Link object. | |
view_facebinder | |
This module provides the view provider code for Draft Facebinder. | |
view_fillet | |
Provides the view provider code for Fillet objects. | |
view_orthoarray | |
Provides the view provider code for the ortho array object. | |
view_point | |
This module provides the view provider code for Draft Point. | |
view_polararray | |
Provides the view provider code for the polar array object. | |
view_rectangle | |
This module provides the view provider code for the Draft Rectangle object. | |
view_wpproxy | |
This module provides the view provider code for Draft WorkingPlaneProxy. | |
wire | |
This module provides the object code for Draft Wire. | |
WorkingPlane | |
This module handles the Working Plane and grid of the Draft module. | |
wpproxy | |
This module provides the object code for Draft WorkingPlaneProxy. | |
Variables | |
Draft.DraftLabel = Label | |
Draft.getSVG = svg.getSVG | |
bool | Draft.gui = True |
Draft.makeAngularDimension = make_angular_dimension | |
Draft.makeDimension = make_dimension | |
Draft.makeLabel = make_label | |
Draft.ViewProviderDraftLabel = ViewProviderLabel | |
Detailed Description
Basic 2D drawing tools and other generic tools.
Create and manipulate basic 2D objects.
This module offers tools to create and manipulate basic 2D objects
The module allows to create 2D geometric objects such as line, rectangle, circle, etc., modify these objects by moving, scaling or rotating them, and offers a couple of other utilities to manipulate further these objects, such as decompose them (downgrade) into smaller elements.
The functionality of the module is divided into GUI tools, usable from the visual interface, and corresponding python functions, that can perform the same operation programmatically.
Variable Documentation
◆ DraftLabel
Draft.DraftLabel = Label |
◆ getSVG
Draft.getSVG = svg.getSVG |
Referenced by importSVG.export(), and ArchSectionPlane.getSVG().
◆ gui
bool Draft.gui = True |
Referenced by StdCmdGroup.activated(), MeshGui::MeshSplit.cutMesh(), Gui::Command.getObjectCmd(), Gui::Application.getViewProvider(), Gui::MainWindow.insertFromMimeData(), MeshGui::MeshSplit.makeCopy(), MeshGui::DlgEvaluateMeshImp.on_refreshButton_clicked(), Gui::Application.open(), MeshGui::MeshSplit.trimMesh(), and InspectionGui::VisualInspection.VisualInspection().
◆ makeAngularDimension
Draft.makeAngularDimension = make_angular_dimension |
◆ makeDimension
Draft.makeDimension = make_dimension |
◆ makeLabel
Draft.makeLabel = make_label |
◆ ViewProviderDraftLabel
Draft.ViewProviderDraftLabel = ViewProviderLabel |