Draft Draft2Sketch/it: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
(Updating to match new version of source page) |
||
(33 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
⚫ | |||
{{Docnav/it|[[Draft_Shape2DView/it|Vista 2D della forma]]|[[Draft_Array/it|Schiera]]|[[Draft_Module/it|Draft]]|IconL=Draft_Shape2DView.svg|IconC=Workbench_Draft.svg|IconR=Draft_Array.svg}} |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/it|Name=Draft Draft2Sketch|Name/it=Da Draft a Sketch|Workbenches=[[Draft Module/it|Draft]], [[Arch Module/it|Architettura]]|MenuLocation=Draft → Da Draft a Sketch|SeeAlso=[[Sketcher Workbench/it|Sketcher]], [[PartDesign Workbench/it|PartDesign]]}} |
{{GuiCommand/it|Name=Draft Draft2Sketch|Name/it=Da Draft a Sketch|Workbenches=[[Draft Module/it|Draft]], [[Arch Module/it|Architettura]]|MenuLocation=Draft → Da Draft a Sketch|SeeAlso=[[Sketcher Workbench/it|Sketcher]], [[PartDesign Workbench/it|PartDesign]]}} |
||
</div> |
|||
==Descrizione== |
==Descrizione== |
||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
</div> |
|||
[[Image:Draft Draft2Sketch example.jpg||480px]] |
[[Image:Draft Draft2Sketch example.jpg||480px]] |
||
{{Caption|Conversione di forme Draft in forme di Sketcher con vincoli}} |
{{Caption|Conversione di forme Draft in forme di Sketcher con vincoli}} |
||
== |
==Utilizzo== |
||
<div class="mw-translate-fuzzy"> |
|||
# Selezionare un oggetto di Draft o di Sketcher. |
# Selezionare un oggetto di Draft o di Sketcher. |
||
# Premere il pulsante {{Button|[[Image:Draft Draft2Sketch.svg|16px]] Da Draft a Sketcher}}. |
# Premere il pulsante {{Button|[[Image:Draft Draft2Sketch.svg|16px]] Da Draft a Sketcher}}. |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
Notes: |
|||
Note: |
|||
* If you convert a [[Draft Wire]], the resulting sketch will use point constraints for the nodes. |
|||
⚫ | |||
* If you convert a [[Draft Rectangle]], the resulting sketch will use point constraints for the corners, and horizontal and vertical constraints for the edges. |
|||
⚫ | |||
* If you convert a [[Draft BezCurve]], the resulting sketch will be approximated by a [[Sketcher CreateBSpline|Sketcher BSpline]], as the [[Sketcher Workbench]] doesn't support Bezier curves currently. |
|||
* Quando si converte una [[Image:Draft_BezCurve.svg|16px]] [[Draft BezCurve/it|curva di Bezier]], lo schizzo risultante è approssimato a una [[Image:Sketcher_CreateBSpline.svg|16px]] [[Sketcher CreateBSpline/it|BSpline]], dato che [[Sketcher Workbench/it|Sketcher]] al momento non supporta le curve di Bezier. |
|||
* Non-Draft objects that are totally planar will also get converted to sketches. |
|||
⚫ | |||
</div> |
|||
===Limitations=== |
|||
The conversion of an object that cannot be represented with a combination of straight lines, circular arcs, and B-Splines will usually fail, that is, the item will not appear in the sketch. |
|||
===Limitazioni=== |
|||
In the past, a [[Draft BSpline]] couldn't be converted directly to a sketch. A tool to perform this conversion was developed for the [[KicadStepUp Workbench]], which would take a [[Draft BSpline]] and convert it into a series of [[Sketcher CreateArc|Sketcher Arcs]]. See the forum thread [https://forum.freecadweb.org/viewtopic.php?f=9&t=25082 BSplines to Shape2DView and Sketcher] for more information. |
|||
La conversione di un oggetto che non può essere rappresentato con una combinazione di linee rette, archi e B-Spline di solito fallisce, cioè l'oggetto non appare nello schizzo. |
|||
Since FreeCAD 0.17, the conversion from [[Draft BSpline]] to [[Sketcher CreateBSpline|Sketcher BSpline]] is possible. However, converting a spline to a series of arcs may still be useful for exporting geometry to applications that don't support B-Splines, like KiCad. |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
In passato, le [[Draft BSpline/it|BSpline]] di Draft non potevano essere convertite direttamente in uno schizzo. Per eseguire questa conversione è stato sviluppato uno strumento per l'ambiente [[KicadStepUp Workbench/it|KicadStepUp]], che accetta una BSpline e la converte in una serie di [[Sketcher CreateArc/it|Archi]] in Sketcher. Per ulteriori informazioni vedere la discussione del forum [https://forum.freecadweb.org/viewtopic.php?f=9&t=25082 BSplines to Shape2DView and Sketcher]. |
|||
⚫ | |||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
Da FreeCAD 0.17, è possibile convertire le [[Draft BSpline/it|BSpline di Draft]] in [[Sketcher CreateBSpline/it|BSpline di Sketcher]]. Tuttavia, la conversione di una spline in una serie di archi potrebbe comunque essere utile per esportare la geometria in applicazioni che non supportano le B-Spline, come KiCad. |
|||
⚫ | |||
⚫ | |||
</div> |
</div> |
||
⚫ | |||
There are no options for this tool. Either it works with the selected object or not. |
|||
Non ci sono opzioni per questo strumento. O funziona con l'oggetto selezionato o no. |
|||
⚫ | |||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
Non disponibile, consultare la documentazione del modulo [[Sketcher Module/it|Sketcher]] per sapere come creare schizzi tramite script. |
|||
⚫ | |||
{{Emphasis|Vedere anche:}} [[Draft API/it|Draft API]] e [[FreeCAD Scripting Basics/it|Nozioni di base sugli script di FreeCAD]]. |
|||
</div> |
</div> |
||
Internamente lo strumento Draft2Sketch utilizza due metodi per convertire da Draft a Sketch e viceversa. |
|||
There is no programming interface available for the Draft2Sketch tool. See the [[Sketcher Workbench]] documentation for the Sketcher API. |
|||
Convertire oggetti in schizzo: |
|||
{{Code|code= |
|||
Draft.makeSketch(objectslist, autoconstraints=False, addTo=None, delete=False, name="Sketch", radiusPrecision=-1) |
|||
}} |
|||
Convertire oggetti in Draft: |
|||
{{Code|code= |
|||
Draft.draftify(objectslist, makeblock=False, delete=True) |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{Docnav/it|[[Draft_Shape2DView/it|Vista 2D della forma]]|[[Draft_Array/it|Schiera]]|[[Draft_Module/it|Draft]]|IconL=Draft_Shape2DView.svg|IconC=Workbench_Draft.svg|IconR=Draft_Array.svg}} |
|||
</div> |
|||
{{Draft Tools navi}} |
{{Draft Tools navi{{#translation:}}}} |
||
{{Userdocnavi}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
{{clear}} |
Revision as of 15:40, 12 December 2020
Da Draft a Sketch |
Posizione nel menu |
---|
Draft → Da Draft a Sketch |
Ambiente |
Draft, Architettura |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Sketcher, PartDesign |
Descrizione
Lo strumento Da Draft a Sketch converte gli oggetti di Draft in oggetti di Sketcher, e viceversa.
Conversione di forme Draft in forme di Sketcher con vincoli
Utilizzo
Note:
- Quando si converte una polilinea di Draft, sono applicati i vincoli di punto ai nodi.
- Quando si converte un rettangolo di Draft, sono applicati i vincoli di punto ai vertici, e i vincoli orizzontale e verticale ai bordi.
- Quando si converte una curva di Bezier, lo schizzo risultante è approssimato a una BSpline, dato che Sketcher al momento non supporta le curve di Bezier.
- Possono essere convertiti in Schizzo anche gli oggetti che non sono di Draft, ma che sono totalmente piani.
Limitazioni
La conversione di un oggetto che non può essere rappresentato con una combinazione di linee rette, archi e B-Spline di solito fallisce, cioè l'oggetto non appare nello schizzo.
In passato, le BSpline di Draft non potevano essere convertite direttamente in uno schizzo. Per eseguire questa conversione è stato sviluppato uno strumento per l'ambiente KicadStepUp, che accetta una BSpline e la converte in una serie di Archi in Sketcher. Per ulteriori informazioni vedere la discussione del forum BSplines to Shape2DView and Sketcher.
Da FreeCAD 0.17, è possibile convertire le BSpline di Draft in BSpline di Sketcher. Tuttavia, la conversione di una spline in una serie di archi potrebbe comunque essere utile per esportare la geometria in applicazioni che non supportano le B-Spline, come KiCad.
Opzioni
Non ci sono opzioni per questo strumento. O funziona con l'oggetto selezionato o no.
Script
Vedere anche: Draft API e Nozioni di base sugli script di FreeCAD.
Internamente lo strumento Draft2Sketch utilizza due metodi per convertire da Draft a Sketch e viceversa.
Convertire oggetti in schizzo:
Draft.makeSketch(objectslist, autoconstraints=False, addTo=None, delete=False, name="Sketch", radiusPrecision=-1)
Convertire oggetti in Draft:
Draft.draftify(objectslist, makeblock=False, delete=True)
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub