Draft FlipDimension/es: Difference between revisions
(Updating to match new version of source page) |
No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav|[[Draft_Heal|Heal]]|[[Draft_VisGroup|VisGroup]]|[[Draft_Module|Draft]]|IconL=Draft_Heal.svg|IconC=Workbench_Draft.svg|IconR=Draft_VisGroup.svg}} |
|||
{{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 class="mw-translate-fuzzy"> |
||
{{GuiCommand/es |
|||
{{GuiCommand/es|Name=Draft FlipDimension|Workbenches=[[Draft Module/es|Draft]], [[Arch Module/es|Arch]]|MenuLocation=Draft → Utilities → Flip Dimension|SeeAlso=[[Draft Dimension/es|Dimension]]}} |
|||
|Name=Draft FlipDimension |
|||
|Name/es=Draft FlipDimension |
|||
|MenuLocation=Draft → Utilities → Flip Dimension |
|||
|Workbenches=[[Draft_Workbench/es|Draft]], [[Arch_Workbench/es|Arch]] |
|||
|SeeAlso=[[Draft Dimension/es|Dimension]] |
|||
}} |
|||
</div> |
</div> |
||
Line 21: | Line 35: | ||
</div> |
</div> |
||
==Notes== |
|||
<div class="mw-translate-fuzzy"> |
|||
Lo que hace esta herramienta, internamente, es invertir la dirección '''Normal''' de la dimensión, que es la dirección utilizada para dibujar el texto con la orientación correcta. Las dimensiones también tienen una propiedad '''Flip Text''', que gira el texto 180 grados alrededor de la dirección normal. Al combinar estas dos características, la dirección normal y el texto volteado, puede hacer que el texto aparezca correctamente en todas las situaciones posibles. |
|||
* [[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. |
|||
</div> |
|||
==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() |
|||
}} |
|||
[[Draft Dimension]]s also have a {{PropertyData|Flip Text}} property which, when it is {{TRUE}}, rotates the text by 180 degrees around the normal direction. By combining these two features, flipping the normal direction and flipping the text, you are able to make the text appear correctly in all possible situations. |
|||
{{Docnav |
|||
{{Docnav|[[Draft_Heal|Heal]]|[[Draft_VisGroup|VisGroup]]|[[Draft_Module|Draft]]|IconL=Draft_Heal.svg|IconC=Workbench_Draft.svg|IconR=Draft_VisGroup.svg}} |
|||
|[[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:}}}} |
{{Draft Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Latest revision as of 11:04, 4 September 2021
Draft FlipDimension |
Ubicación en el Menú |
---|
Draft → Utilities → Flip Dimension |
Entornos de trabajo |
Draft, Arch |
Atajo de teclado por defecto |
Ninguno |
Introducido en versión |
- |
Ver también |
Dimension |
Description
Descripción
Cuando está en modo 2D, el texto de Dimensiones de borrador se muestra alineado con la línea de dimensión. La herramienta Dimensión siempre intenta mostrarle el texto de la dimensión en el lado correcto de la línea de dimensión, dependiendo de dónde lo esté viendo. En algunos casos, sin embargo, la dirección de visualización puede no reflejar la intención del espectador, y la orientación del texto de cota puede invertirse. Esta herramienta invierte esa orientación en los objetos dimensión seleccionados.
Usage
Utilización
- Seleccione uno o más objetos dimension
- Presione el botón Flip Dimension
Notes
- Draft Dimensions also have a DatosFlip 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