Difference between revisions of "Draft Draft2Sketch"

From FreeCAD Documentation
Jump to: navigation, search
(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-->
Not available, see the [[Sketcher Module]] documentation for how to create sketches by scripting
+
{{emphasis|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.
  
 
</translate>
 
</translate>

Revision as of 21:06, 14 November 2018

Other languages:
čeština • ‎Deutsch • ‎English • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎română • ‎русский • ‎svenska • ‎Türkçe

Draft Draft2Sketch.svg 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.

Draft Draft2Sketch example.jpg

How to use

  1. Select a Draft object or a Sketch
  2. Press the Draft Draft2Sketch.png 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.