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)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{Docnav
{{Docnav|[[TechDraw_Dimension_Length|New Length]]|[[TechDraw_Dimension_Vertical Extent|New Vertical Extent]]|[[TechDraw_Module|TechDraw]]|IconL=Techdraw_Dimension_Length.png|IconC=Workbench_TechDraw.svg|IconR=TechDraw_Dimension_HExtent.svg}}
|[[TechDraw_Balloon|New Balloon]]
|[[TechDraw_Dimension_Vertical Extent|New Vertical Extent]]
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Balloon.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_HExtent.svg
}}


{{GuiCommand
{{GuiCommand
Line 6: Line 13:
|MenuLocation=TechDraw → Dimension Horizontal Extent
|MenuLocation=TechDraw → Dimension Horizontal Extent
|Workbenches=[[TechDraw Module|TechDraw]]
|Workbenches=[[TechDraw Module|TechDraw]]
|SeeAlso=[[TechDraw Dimension Length]], [[TechDraw Dimension Vertical Extent]]
|SeeAlso=[[TechDraw Dimension Length|TechDraw Dimension Length]], [[TechDraw Dimension Vertical Extent|TechDraw Dimension Vertical Extent]]
}}
}}


Line 13: Line 20:
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.
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.


[[Image:TechDraw_Dimension_Horizontal_Extent_example.png|400px]]

[[Image:TechDraw_Dimension_Horizontal_Extent_example.png]]
{{Caption|Horizontal Extent dimension of BSpline Face}}
{{Caption|Horizontal Extent dimension of BSpline Face}}


Line 25: Line 31:
== Limitations ==
== Limitations ==


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 problem|topological naming]]" issues. See the information in the {{Button|[[Image:TechDraw_Dimension_Length.svg|16px]] [[TechDraw Dimension Length|TechDraw Dimension Length]]}} tool for more information.


==Properties==
==Properties==


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 ===
=== Data ===
Line 37: Line 43:
==Scripting==
==Scripting==


{{Emphasis|See also:}} [[TechDraw API]] and [[FreeCAD Scripting Basics]].
{{Emphasis|See also:}} [[TechDraw API|TechDraw API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]].


The Dimension Horizontal Extent tool can be used in [[macros]] and from the [[Python]] console by using the following functions:
The Dimension Horizontal Extent tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following functions:


{{Code|code=
{{Code|code=
Line 48: Line 54:




{{Docnav
{{Docnav|[[TechDraw_Dimension_Length|New Length]]|[[TechDraw_Dimension_Vertical Extent|New Vertical Extent]]|[[TechDraw_Module|TechDraw]]|IconL=Techdraw_Dimension_Length.png|IconC=Workbench_TechDraw.svg|IconR=TechDraw_Dimension_HExtent.svg}}
|[[TechDraw_Balloon|New Balloon]]

|[[TechDraw_Dimension_Vertical Extent|New Vertical Extent]]
{{TechDraw Tools navi}}
|[[TechDraw_Module|TechDraw]]
|IconL=TechDraw_Balloon.svg
|IconC=Workbench_TechDraw.svg
|IconR=TechDraw_Dimension_HExtent.svg
}}


{{TechDraw Tools navi{{#translation:}}}}
{{Userdocnavi}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

Revision as of 21:52, 21 March 2020

TechDraw Dimension Horizontal Extent

Menu location
TechDraw → Dimension Horizontal Extent
Workbenches
TechDraw
Default shortcut
None
Introduced in version
-
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 File:TechDraw Dimension HExtent.svg 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)