Draft Drawing/cs: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
{{Docnav |
||
| |
|||
|[[Draft_Clone|Clone]] |
|||
| |
|||
|[[Draft_Mirror|Mirror]] |
|||
|[[Draft_Module|Draft]] |
|[[Draft_Module|Draft]] |
||
|IconL= |
|IconL= |
||
|IconR= |
|||
|IconC=Workbench_Draft.svg |
|IconC=Workbench_Draft.svg |
||
|IconR=Draft_Mirror.svg |
|||
}} |
}} |
||
{{VeryImportantMessage|THIS COMMAND IS OBSOLETE<br> |
|||
It works with the [[Drawing_Module|Drawing Workbench]] which was deprecated in FreeCAD version 0.17 when the [[TechDraw_Module|TechDraw Workbench]] was introduced. Use that workbench and the [[TechDraw_DraftView|TechDraw DraftView]] command instead.}} |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 22: | Line 23: | ||
</div> |
</div> |
||
This |
This command is similar to the [[Drawing_View|Drawing View]] command but is optimized for [[Draft_Module|Draft]] objects. Contrary to that command, it can handle specific objects such as [[Draft_Dimension|Draft Dimensions]] and [[Draft_Text|Draft Texts]], and it can render faces. |
||
This command is now obsolete. Use the [[TechDraw_Module|TechDraw Workbench]] and the [[TechDraw_DraftView|TechDraw DraftView]] command instead. |
|||
[[Image:Draft drawing example.jpg|640px]] |
[[Image:Draft drawing example.jpg|640px]] |
||
{{Caption|Draft |
{{Caption|On the left the selected Draft objects. On the right the created drawing views.}} |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 36: | Line 39: | ||
</div> |
</div> |
||
==Notes== |
|||
* The tool will work best with 2D objects from the [[Draft Workbench|Draft Workbench]] or [[Sketcher Workbench|Sketcher Workbench]]. |
|||
* The selected object can also be an [[Arch SectionPlane|Arch SectionPlane]], which will show the elements viewed by that plane. |
|||
* If there is no existing page, a new one will be created. |
|||
* If no page was selected but there is at least one in the document, the first page found will be used to put the projections. |
|||
* If you select a sheet and the objects already projected on that sheet, the projections will be updated. |
|||
==Volby== |
|||
<div class="mw-translate-fuzzy"> |
|||
* Vyberete objekt, který chcete umístit na výkres. Nástroj bude nejlépe pracovat s plochými 2D objekty z modulů [[Draft Module/cs|Kreslení]] nebo [[Sketcher Workbench/cs|Skicář]]. |
|||
* Je-li vybraný objekt [[Arch SectionPlane/cs|Architektura Rovina řezu]], vytvoří tento nástroj další pohled této roviny řezu. |
|||
* Ve stejném výběru přidejte objekt stránky, na který chcete vybraný objekt vykreslit. Jestliže stránka neexistuje, bude nově vytvořena. Jestliže jste stránku nevybrali, ale alespoň jedna už v dokumentu je, bude první nalezená použita pro vykreslení. |
|||
* Jestliže jste vybrali existující stránku a objekty, které už ve stránce jsou (např. objekt "Obdélník" již zde je jako objekt "PohledObdélník"), budou nahrazeny. To Vám umožňuje jednoduše vybrat všechny objekty a poslat je na existující stránku, čímž budou na stránce aktualizovány i již dříve vložené objekty. |
|||
</div> |
|||
==Vlastnosti== |
|||
<div class="mw-translate-fuzzy"> |
|||
* {{PropertyData|Fill Style}}: Pro uzavřené tvary umožňuje specifikovat jeden z defaultních stylů pro zaplňování výkresů nebo použití barev tvaru. |
|||
* {{PropertyData|Font Size}}: Umožňuje specifikovat velikost fontu pro texty a kóty. |
|||
* {{PropertyData|Line Width}}: Umožňuje specifikovat tloušťku čar zobrazených objektů. |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
==Skriptování== |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
Nástroj Výkres může být použit v [[macros/cs|makrech]] a z konzoly Pythonu použitím následující funkce: |
|||
</div> |
|||
{{Code|code= |
|||
DrawingView = makeDrawingView(obj, page, lwmod=None, tmod=None, otherProjection=None) |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
* Přidá pohled daného objektu na danou stránku. |
|||
* Vrací vytvořený objekt pohledu. |
|||
</div> |
|||
The attributes of the view usually need to be modified so that it is displayed correctly in the drawing page. In particular, the position is controlled by {{incode|X}} and {{incode|Y}}, which are given in millimeters, and {{incode|Scale}} is important to correctly fit the projected shape in the page. The scale usually ranges from 1 to 0.25 (1:1 to 1:4) for small solids, and from 0.02 to 0.01 (1:50 to 1:100) for typical architectural elements. |
|||
Příklad: |
|||
{{Code|code= |
|||
import FreeCAD, Draft, Drawing |
|||
obj = Draft.makePolygon(5, 1000) |
|||
page = FreeCAD.ActiveDocument.addObject('Drawing::FeaturePage', 'Page') |
|||
page.Template = FreeCAD.getResourceDir() + 'Mod/Drawing/Templates/A3_Landscape.svg' |
|||
View = Draft.makeDrawingView(obj, page) |
|||
View.Scale = 0.02 |
|||
FreeCAD.ActiveDocument.recompute() |
|||
View.X = 200 |
|||
View.Y = 150 |
|||
FreeCAD.ActiveDocument.recompute() |
|||
}} |
|||
{{Docnav |
{{Docnav |
||
| |
|||
|[[Draft_Clone|Clone]] |
|||
| |
|||
|[[Draft_Mirror|Mirror]] |
|||
|[[Draft_Module|Draft]] |
|[[Draft_Module|Draft]] |
||
|IconL= |
|IconL= |
||
|IconR= |
|||
|IconC=Workbench_Draft.svg |
|IconC=Workbench_Draft.svg |
||
|IconR=Draft_Mirror.svg |
|||
}} |
}} |
||
{{Draft Tools navi{{#translation:}}}} |
{{Draft Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Revision as of 07:15, 11 August 2021
THIS COMMAND IS OBSOLETE
It works with the Drawing Workbench which was deprecated in FreeCAD version 0.17 when the TechDraw Workbench was introduced. Use that workbench and the TechDraw DraftView command instead.
It works with the Drawing Workbench which was deprecated in FreeCAD version 0.17 when the TechDraw Workbench was introduced. Use that workbench and the TechDraw DraftView command instead.
Draft Drawing |
Umístění Menu |
---|
Drafting → Drawing |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Nikdo |
Popis
Tento nástroj umožňuje umístit vybrané objekty na svg Výkresy. Jestliže v dokumentu není žádná šablona, bude použita defaultní.
This command is similar to the Drawing View command but is optimized for Draft objects. Contrary to that command, it can handle specific objects such as Draft Dimensions and Draft Texts, and it can render faces.
This command is now obsolete. Use the TechDraw Workbench and the TechDraw DraftView command instead.
On the left the selected Draft objects. On the right the created drawing views.
Použití
- Vyberte objekty, které chcete umístit na výkres
- Stiskněte tlačítko Výkres
Draft
- 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
User documentation
- 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