Draft FlipDimension/cs: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
No edit summary |
||
(10 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
⚫ | |||
{{Docnav |
|||
|[[Draft_Slope|Slope]] |
|||
|[[Draft_Shape2DView|Shape2DView]] |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL=Draft_Slope.svg |
|||
|IconR=Draft_Shape2DView.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
</div> |
|||
==Description== |
|||
<div class="mw-translate-fuzzy"> |
|||
==Popis== |
==Popis== |
||
Ve 2D módu je zobrazení textu [[Draft Dimension/cs|Kóty]] zarovnáno ke kótovací čáře. Nástroj Kóta se snaží vždy zobrazit text na správné straně kótovací čáry v závislosti ze které strany má být viděna. V některých případech však směr pohledu nemusí vyjadřovat smysl pohledu a pak se může hodit změna orientace textu kóty. Tento nástroj obrací orientaci vybraného objektu [[Draft Dimension/cs|kóty]]. |
Ve 2D módu je zobrazení textu [[Draft Dimension/cs|Kóty]] zarovnáno ke kótovací čáře. Nástroj Kóta se snaží vždy zobrazit text na správné straně kótovací čáry v závislosti ze které strany má být viděna. V některých případech však směr pohledu nemusí vyjadřovat smysl pohledu a pak se může hodit změna orientace textu kóty. Tento nástroj obrací orientaci vybraného objektu [[Draft Dimension/cs|kóty]]. |
||
</div> |
|||
==Usage== |
|||
What this tool does, internally, is to invert the '''Normal''' direction of the dimension, which is the direction used to draw the text with the correct orientation. Dimensions also have a '''Flip Text''' property, which rotates the text by 180 degrees around the normal direction. By combining these two features, normal direction and Flip Text, you are able to make the text appear correctly in all possible situations. |
|||
<div class="mw-translate-fuzzy"> |
|||
==Použití== |
==Použití== |
||
# Vyberte jeden nebo více objektů [[Draft Dimension/cs|kóta]] |
# Vyberte jeden nebo více objektů [[Draft Dimension/cs|kóta]] |
||
# Stiskněte tlačítko {{KEY|[[Image:Draft_FlipDimension.png|16px]] [[Draft FlipDimension/cs|PřehoďKótu]]}} |
# Stiskněte tlačítko {{KEY|[[Image:Draft_FlipDimension.png|16px]] [[Draft FlipDimension/cs|PřehoďKótu]]}} |
||
</div> |
|||
==Notes== |
|||
{{clear}} |
|||
⚫ | |||
* [[Draft_Dimension|Draft Dimensions]] also have a {{PropertyData|Flip Text}} property. When set to {{TRUE}} the text is rotated 180° around the normal direction. This can be combined with the effect of this command. |
|||
==Scripting== |
|||
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
|||
To flip a [[Draft_Dimension|Draft Dimension]] invert its {{incode|Normal}} property. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
import Draft |
|||
doc = App.newDocument() |
|||
p1 = App.Vector(0, 0, 0) |
|||
p2 = App.Vector(1000, 0, 0) |
|||
p3 = App.Vector(500, 300, 0) |
|||
dimension = Draft.make_dimension(p1, p2, p3) |
|||
dimension.ViewObject.FontSize = 200 |
|||
dimension.Normal = dimension.Normal.negative() |
|||
doc.recompute() |
|||
}} |
|||
{{Docnav |
|||
|[[Draft_Slope|Slope]] |
|||
|[[Draft_Shape2DView|Shape2DView]] |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL=Draft_Slope.svg |
|||
|IconR=Draft_Shape2DView.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{Draft Tools navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 21:00, 29 August 2021
Kreslení PřehoďKótu |
Umístění Menu |
---|
Draft → Utilities → Flip Dimension |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Kóty |
Description
Popis
Ve 2D módu je zobrazení textu Kóty zarovnáno ke kótovací čáře. Nástroj Kóta se snaží vždy zobrazit text na správné straně kótovací čáry v závislosti ze které strany má být viděna. V některých případech však směr pohledu nemusí vyjadřovat smysl pohledu a pak se může hodit změna orientace textu kóty. Tento nástroj obrací orientaci vybraného objektu kóty.
Usage
Použití
- Vyberte jeden nebo více objektů kóta
- Stiskněte tlačítko PřehoďKótu
Notes
- Draft Dimensions also have a ÚdajeFlip Text property. When set to
true
the text is rotated 180° around the normal direction. This can be combined with the effect of this command.
Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
To flip a Draft Dimension invert its Normal
property.
Example:
import FreeCAD as App
import Draft
doc = App.newDocument()
p1 = App.Vector(0, 0, 0)
p2 = App.Vector(1000, 0, 0)
p3 = App.Vector(500, 300, 0)
dimension = Draft.make_dimension(p1, p2, p3)
dimension.ViewObject.FontSize = 200
dimension.Normal = dimension.Normal.negative()
doc.recompute()
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, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub