TechDraw DimensionRepair: Difference between revisions

From FreeCAD Documentation
(Usage)
 
(18 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{{Docnav
{{Docnav
|[[TechDraw_LandmarkDimension|Landmark Dimension]]
|[[TechDraw_LandmarkDimension|Landmark Dimension]]
Line 11: Line 12:
}}
}}


<!--T:2-->
{{GuiCommand
{{GuiCommand
|Name=TechDraw DimensionRepair
|Name=TechDraw DimensionRepair
Line 19: Line 21:
}}
}}


==Description==
==Description== <!--T:3-->


<!--T:4-->
The '''Dimension Repair''' tool is used to adjust the reference points of dimensions. These references may be become incorrect due to the "[[Topological_naming_problem|topological naming problem]]" or Hidden Line Removal. The tool can correct references based on 2D or 3D geometry.
The '''TechDraw DimensionRepair''' tool can adjust the 2D or 3D geometry references of a dimension. These references may become incorrect due to the "[[Topological_naming_problem|topological naming problem]]" or Hidden Line Removal.


<!--T:5-->
See [[TechDraw_LengthDimension#Limitation|TechDraw LengthDimension]] for more on dimensions and the topological naming problem.
See [[TechDraw_LengthDimension#Limitation|TechDraw LengthDimension]] for more on dimensions and the topological naming problem.


==Usage==
==Usage== <!--T:6-->


<!--T:7-->
# Select the dimension to be corrected and, optionally, the new reference Vertices or Edges in the View or in the [[3D_view|3D view]].
# Select the dimension to be corrected and, optionally, the new geometry references, points or edges, in the TechDraw View or in the [[3D_view|3D view]].
# Press the {{Button|[[Image:TechDraw_DimensionRepair.svg|16px]] [[TechDraw_DimensionRepair|Dimension Repair]]}} button or {{MenuCommand|TechDraw → Dimensions → Repair Dimension References}}.
# There are several ways to invoke the tool:
# A dialog opens showing the selected dimension and the current reference geometry or the preselected geometry.
#* Press the {{Button|[[Image:TechDraw_DimensionRepair.svg|16px]] [[TechDraw_DimensionRepair|Repair Dimension References]]}} button.
# Select the replacement geometry.
#* Select the {{MenuCommand|TechDraw → Dimensions → [[Image:TechDraw_DimensionRepair.svg|16px]]Repair Dimension References}} option from the menu.
# Press the {{Button|Use current selection}} button.
# The {{MenuCommand|Dimension Repair}} task panel opens showing the selected dimension and the current geometry references.
# Select new geometry references if you have not done so already.
# Press the {{Button|Replace References with Current Selection}} button.
# Press the {{Button|OK}} button to update the dimension.
# Press the {{Button|OK}} button to update the dimension.
# If 3D references have been selected: optionally change the {{PropertyData|Measure Type}} property of the dimension to {{Value|True}}.


==Scripting==
==Scripting== <!--T:8-->


<!--T:9-->
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].
See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].


<!--T:10-->
The Dimension Repair tool is not used in [[Macros|macros]] or from the [[Python|Python]] console. Dimension reference properties can be updated using Python.
The TechDraw DimensionRepair tool cannot used in [[Macros|macros]] or from the [[Python|Python]] console. Dimension reference properties can be updated using Python.




<!--T:11-->
{{Docnav
{{Docnav
|[[TechDraw_LandmarkDimension|LandmarkDimension]]
|[[TechDraw_LandmarkDimension|LandmarkDimension]]

Latest revision as of 07:20, 26 July 2023

Other languages:

TechDraw DimensionRepair

Menu location
TechDraw → Dimensions → Repair Dimension References
Workbenches
TechDraw
Default shortcut
None
Introduced in version
0.21
See also
TechDraw LengthDimension

Description

The TechDraw DimensionRepair tool can adjust the 2D or 3D geometry references of a dimension. These references may become incorrect due to the "topological naming problem" or Hidden Line Removal.

See TechDraw LengthDimension for more on dimensions and the topological naming problem.

Usage

  1. Select the dimension to be corrected and, optionally, the new geometry references, points or edges, in the TechDraw View or in the 3D view.
  2. There are several ways to invoke the tool:
  3. The Dimension Repair task panel opens showing the selected dimension and the current geometry references.
  4. Select new geometry references if you have not done so already.
  5. Press the Replace References with Current Selection button.
  6. Press the OK button to update the dimension.
  7. If 3D references have been selected: optionally change the DataMeasure Type property of the dimension to True.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

The TechDraw DimensionRepair tool cannot used in macros or from the Python console. Dimension reference properties can be updated using Python.