Part CheckGeometry: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(Fixed Docnav)
(36 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<languages/>
<translate>
<translate>
<!--T:1-->
<!--T:10-->
{{Docnav
{{Template:UnfinishedDocu}}
|[[Part_RefineShape|RefineShape]]

|[[Part_MakeFace|MakeFace]]
|[[Part_Module|Part]]
|IconL=Part_RefineShape.svg
|IconR=Part_MakeFace.svg
|IconC=Workbench_Part.svg
}}


<!--T:2-->
<!--T:2-->
{{GuiCommand
{{GuiCommand|Name=Part CheckGeometry‏‎|MenuLocation=Part → Check geometry|Workbenches=[[Part Workbench|Part]]|SeeAlso=}}
|Name=Part CheckGeometry‏‎
|MenuLocation=Part → Check geometry
|Workbenches=[[Part_Module|Part]]
|SeeAlso=
}}


==Introduction== <!--T:3-->
==Description== <!--T:3-->
The {{Button|[[Image:Part_CheckGeometry.svg|16px]] [[Part_CheckGeometry|Part CheckGeometry]]}} tool runs a verification and reports if geometry is a valid solid.


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


<!--T:5-->
<!--T:5-->
# Select a part (beware to select the whole part and not just a face to check for valid solid)
[[Category:UnfinishedDocu]]
# Invoke the tool by either:
#* Finding the {{Button|[[Image:Part_CheckGeometry.svg|16px]]}} button available in the Part workbench Boolean toolbar.
#* Using the {{MenuCommand|Part → [[Image:Part_CheckGeometry.svg|16px]] Check geometry}} entry from the top menu.

<!--T:72-->
Results will be reported in the [[Task_panel|Task panel]].

==Activate additional BOP check== <!--T:6-->

<!--T:7-->
The function CheckGeometry checks if the [https://en.wikipedia.org/wiki/Boundary_representation Boundary representation] (BRep or [[Glossary#B|B-rep]]) of the model is valid. Additionally to this BRep check, it is possible to have an additional BOP (BOP= Boolean OPerations) check.

<!--T:71-->
Beginning with version 0.19 there is a settings panel in the CheckGeometry results with a checkbox for toggling this on or off. For users of earlier versions, to activate the BOP check follow these steps :
# Use the menu {{menuCommand|Tools → Edit parameters... → Preferences → Mod → Part → CheckGeometry}}
# In the right pane double right-click on the ''RunBOPCheck'' parameter to change its value to '''true'''
# Click {{Button|Save to disk}}, close and restart.
See the screenshot below.

<!--T:8-->
If the parameter or folder does not exist, create it by:
# Right-clicking on '''Part''' and choosing {{KEY|Add sub-group}}
# Name the sub-group {{incode|CheckGeometry}}
# Make sure the feshly created sub-group {{incode|CheckGeometry}} is selected
# Right-clicking in the right (empty) window and choosing {{KEY|New Boolean Item}}
# Name the new Boolean item {{incode|RunBOPCheck}} and make sure it is set to ''True''
# Press the {{Button|Save to disk}} button
# Close and restart.

</translate>

[[File:PartCheckGeometry.png]]

<translate>

==Run check and interpret results== <!--T:9-->
# Select within the [[Tree_view|tree view]] one or more objects to check
# Press the [[Image:Part_CheckGeometry.svg|24px]] [[Part_CheckGeometry|CheckGeometry]] button.
#: Result: A report will display on the left side of the screen showing the result of the scan ({{VersionPlus|0.19}} any errors found are also logged in the [[Report_view|report view]] if logging is enabled in preferences)
# If the scan turned up errors: click in the report window on a specific error message and the corresponding geometric object (edge/face ...) will be highlighted in the [[3D_view|3D view]]
#: '''Note:''' At the moment FreeCAD has no automatic repair methods for solids, so you need to look at the steps used in FreeCAD to model this specific geometry and try to fix the error yourself


<!--T:11-->
[[Image:GeometryCheck_Errors.jpg]]


<!--T:12-->
{{Docnav
|[[Part_RefineShape|RefineShape]]
|[[Part_MakeFace|MakeFace]]
|[[Part_Module|Part]]
|IconL=Part_RefineShape.svg
|IconR=Part_MakeFace.svg
|IconC=Workbench_Part.svg
}}


</translate>
</translate>
{{Part Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}
<languages/>

Revision as of 15:26, 24 January 2021

Part CheckGeometry‏‎

Menu location
Part → Check geometry
Workbenches
Part
Default shortcut
None
Introduced in version
-
See also
None

Description

The Part CheckGeometry tool runs a verification and reports if geometry is a valid solid.

Usage

  1. Select a part (beware to select the whole part and not just a face to check for valid solid)
  2. Invoke the tool by either:
    • Finding the button available in the Part workbench Boolean toolbar.
    • Using the Part → Check geometry entry from the top menu.

Results will be reported in the Task panel.

Activate additional BOP check

The function CheckGeometry checks if the Boundary representation (BRep or B-rep) of the model is valid. Additionally to this BRep check, it is possible to have an additional BOP (BOP= Boolean OPerations) check.

Beginning with version 0.19 there is a settings panel in the CheckGeometry results with a checkbox for toggling this on or off. For users of earlier versions, to activate the BOP check follow these steps :

  1. Use the menu Tools → Edit parameters... → Preferences → Mod → Part → CheckGeometry
  2. In the right pane double right-click on the RunBOPCheck parameter to change its value to true
  3. Click Save to disk, close and restart.

See the screenshot below.

If the parameter or folder does not exist, create it by:

  1. Right-clicking on Part and choosing Add sub-group
  2. Name the sub-group CheckGeometry
  3. Make sure the feshly created sub-group CheckGeometry is selected
  4. Right-clicking in the right (empty) window and choosing New Boolean Item
  5. Name the new Boolean item RunBOPCheck and make sure it is set to True
  6. Press the Save to disk button
  7. Close and restart.


File:PartCheckGeometry.png


Run check and interpret results

  1. Select within the tree view one or more objects to check
  2. Press the CheckGeometry button.
    Result: A report will display on the left side of the screen showing the result of the scan (version 0.19 and above any errors found are also logged in the report view if logging is enabled in preferences)
  3. If the scan turned up errors: click in the report window on a specific error message and the corresponding geometric object (edge/face ...) will be highlighted in the 3D view
    Note: At the moment FreeCAD has no automatic repair methods for solids, so you need to look at the steps used in FreeCAD to model this specific geometry and try to fix the error yourself