TechDraw VerticalExtentDimension: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
m ((Vertical Docnav))
(One intermediate revision by the same user not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:18-->
<!--T:18-->
{{Docnav
{{Docnav|[[TechDraw_Dimension_Horizontal Extent|New Horizontal Extent]]|[[TechDraw_SaveSVG|Save SVG]]|[[TechDraw_Module|TechDraw]]|IconL=TechDraw_Dimension_HExtent.svg|IconC=Workbench_TechDraw.svg|IconR=techdraw-saveSVG.svg}}
|[[TechDraw_Dimension_Horizontal Extent|New Horizontal Extent]]
|[[TechDraw_SaveSVG|Save SVG]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Dimension_HExtent.svg
|IconC=Workbench_TechDraw.svg
|IconR=techdraw-saveSVG.svg
}}


<!--T:1-->
<!--T:1-->
Line 9: Line 16:
|MenuLocation=TechDraw → Dimension Vertical Extent
|MenuLocation=TechDraw → Dimension Vertical Extent
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw Module|TechDraw]]
|SeeAlso=[[TechDraw Dimension Length]], [[TechDraw Dimension Horizontal Extent]]
|SeeAlso=[[TechDraw Dimension Length|TechDraw Dimension Length]], [[TechDraw Dimension Horizontal Extent|TechDraw Dimension Horizontal Extent]]
}}
}}


Line 34: Line 41:


<!--T:12-->
<!--T:12-->
Dimension objects are vulnerable to "topological naming" issues. See the information in the [[TechDraw Dimension Length]] tool for more information.
Dimension objects are vulnerable to "topological naming" issues. See the information in the [[TechDraw Dimension Length|TechDraw Dimension Length]] tool for more information.


==Properties== <!--T:5-->
==Properties== <!--T:5-->


<!--T:13-->
<!--T:13-->
This object has the same properties as the [[TechDraw Dimension Length]] tool. See that tool for details. Exceptions noted.
This object has the same properties as the [[TechDraw Dimension Length|TechDraw Dimension Length]] tool. See that tool for details. Exceptions noted.


=== Data === <!--T:20-->
=== Data === <!--T:20-->
Line 49: Line 56:


<!--T:14-->
<!--T:14-->
{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].


<!--T:15-->
<!--T:15-->
The Dimension Vertical Extent tool can be used in [[macros]] and from the [[Python]] console by using the following functions:
The Dimension Vertical Extent tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following functions:


</translate>
</translate>
Line 64: Line 71:


<!--T:19-->
<!--T:19-->
{{Docnav
{{Docnav|[[TechDraw_Dimension_Horizontal Extent|New Horizontal Extent]]|[[TechDraw_SaveSVG|Save SVG]]|[[TechDraw_Module|TechDraw]]|IconL=TechDraw_Dimension_HExtent.svg|IconC=Workbench_TechDraw.svg|IconR=techdraw-saveSVG.svg}}
|[[TechDraw_Dimension_Horizontal Extent|New Horizontal Extent]]
|[[TechDraw_SaveSVG|Save SVG]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Dimension_HExtent.svg
|IconC=Workbench_TechDraw.svg
|IconR=techdraw-saveSVG.svg
}}


<!--T:16-->
<!--T:16-->

Revision as of 21:12, 15 October 2019

TechDraw Dimension Vertical Extent

Menu location
TechDraw → Dimension Vertical Extent
Workbenches
TechDraw
Default shortcut
None
Introduced in version
-
See also
TechDraw Dimension Length, TechDraw Dimension Horizontal Extent

Description

The Dimension Vertical Extent tool adds a linear dimension to a View. The dimension extends from the bottom most point on the selected objects to the top most point. A CosmeticVertex will be placed at each point.


Vertical Extent dimension of BSpline Face

How to use

  1. Select a View or a collection of Edges in a View.
  2. Press the File:TechDraw Dimension VExtent.svg Dimension Vertical Extent button
  3. A dimension will be added to the View. The dimension may be dragged to the desired position.

Limitations

Dimension objects are vulnerable to "topological naming" issues. See the information in the TechDraw Dimension Length tool for more information.

Properties

This object has the same properties as the TechDraw Dimension Length tool. See that tool for details. Exceptions noted.

Data

  • DataMeasureType: true - based on 3D geometry or "Projected" - based on the drawing. Not normally manipulated directly by the end user. Not yet implemented for Dimension Vertical Extent.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

The Dimension Vertical Extent tool can be used in macros and from the Python console by using the following functions:

selection = [(view1, 'Edge1'), (view1, 'Edge2')]  #or [] for all
hExtentDim = TechDraw.Dimension.makeExtentDim(selection, VERTICAL)
rc = page.addView(hExtentDim)