Draft Draft2Sketch: Difference between revisions
(Vertical GuiCommand. See also Sketcher and PartDesign workbenches, where this tool could be useful) |
(Redaction) |
||
Line 31: | Line 31: | ||
==Scripting== <!--T:8--> |
==Scripting== <!--T:8--> |
||
{{emphasis|See also:}} [[Draft API]] and [[FreeCAD Scripting Basics]]. |
|||
Not available, see the [[Sketcher Module]] documentation for how to create sketches by scripting |
|||
There is no programming interface available for the Draft2Sketch tool. See the [[Sketcher Workbench]] documentation for the Sketcher API. |
|||
</translate> |
</translate> |
Revision as of 19:06, 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
- Select a Draft object or a Sketch
- Press the Draft Draft2Sketch button
Options
- 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
The sketcher does support straight lines and circular arcs. The conversion of any element that can not be represented with those will fail.
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
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.