TechDraw HorizontalExtentDimension/en: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 2: Line 2:
{{Docnav
{{Docnav
|[[TechDraw_Balloon|New Balloon]]
|[[TechDraw_Balloon|New Balloon]]
|[[TechDraw_Dimension_Vertical Extent|New Vertical Extent]]
|[[TechDraw_Dimension_Vertical_Extent|New Vertical Extent]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Balloon.svg
|IconL=TechDraw_Balloon.svg
|IconR=TechDraw_Dimension_Vertical_Extent.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_HExtent.svg
}}
}}


Line 13: Line 13:
|MenuLocation=TechDraw → Dimension Horizontal Extent
|MenuLocation=TechDraw → Dimension Horizontal Extent
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw Module|TechDraw]]
|Version=0.19
|SeeAlso=[[TechDraw Dimension Length|TechDraw Dimension Length]], [[TechDraw Dimension Vertical Extent|TechDraw Dimension Vertical Extent]]
|SeeAlso=[[TechDraw Dimension Length|TechDraw Dimension Length]], [[TechDraw Dimension Vertical Extent|TechDraw Dimension Vertical Extent]]
}}
}}
Line 26: Line 27:


# Select a View or a collection of Edges in a View.
# Select a View or a collection of Edges in a View.
# Press the {{Button|[[Image:TechDraw_Dimension_HExtent.svg|16px]] [[TechDraw Dimension Horizontal Extent|Dimension Horizontal Extent]]}} button
# Press the {{Button|[[Image:TechDraw_Dimension_Horizontal_Extent.svg|16px]] [[TechDraw Dimension Horizontal Extent|Dimension Horizontal Extent]]}} button
# A dimension will be added to the View. The dimension may be dragged to the desired position.
# A dimension will be added to the View. The dimension may be dragged to the desired position.


Line 56: Line 57:
{{Docnav
{{Docnav
|[[TechDraw_Balloon|New Balloon]]
|[[TechDraw_Balloon|New Balloon]]
|[[TechDraw_Dimension_Vertical Extent|New Vertical Extent]]
|[[TechDraw_Dimension_Vertical_Extent|New Vertical Extent]]
|[[TechDraw_Module|TechDraw]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Balloon.svg
|IconL=TechDraw_Balloon.svg
|IconR=TechDraw_Dimension_Vertical_Extent.svg
|IconC=Workbench_TechDraw.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_HExtent.svg
}}
}}



Revision as of 14:36, 2 December 2020

TechDraw Dimension Horizontal Extent

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

Description

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

Horizontal Extent dimension of BSpline Face

How to use

  1. Select a View or a collection of Edges in a View.
  2. Press the Dimension Horizontal 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 Horizontal Extent.

Scripting

See also: TechDraw API and FreeCAD Scripting Basics.

The Dimension Horizontal 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, HORIZONTAL)
rc = page.addView(hExtentDim)