Draft Draft2Sketch: Difference between revisions

From FreeCAD Documentation
({{Button}} instead of {{KEY}} template)
(Moved to "how to use")
Line 20: Line 20:


==Options== <!--T:5-->
==Options== <!--T:5-->
* If you convert a [[Draft Wire]], point constraints will be applied to the nodes
* If you convert a [[Draft Rectangle]], point constraints will be applied to the corners, and horizontal and vertical constraints to the edges
* Non-Draft objects that are totally planar will also get converted to sketches


There are no options for this tool. Either it works with the selected object or not.
<!--T:6-->
The sketcher does support straight lines and circular arcs. The conversion of any element that can not be represented with those will fail.

<!--T:7-->
The conversion of any element that can not be represented with either a straight line or circular curve will just fail, i.e. the item will not appear in the sketch. See also the BSpline conversion in the forum https://forum.freecadweb.org/viewtopic.php?f=9&t=25082


==Scripting== <!--T:8-->
==Scripting== <!--T:8-->

Revision as of 19:15, 14 November 2018

Draft Draft2Sketch

Menu location
Drafting → Draft to Sketch
Workbenches
Draft, Arch
Default shortcut
None
Introduced in version
-
See also
Sketcher Workbench, PartDesign Workbench

Description

This tool converts Draft objects to Sketcher objects, and vice-versa.

How to use

  1. Select a Draft object or a Sketch.
  2. Press the Draft Draft2Sketch button.

Options

There are no options for this tool. Either it works with the selected object or not.

Scripting

See also: Draft API and FreeCAD Scripting Basics.

There is no programming interface available for the Draft2Sketch tool. See the Sketcher Workbench documentation for the Sketcher API.