Sketcher Dialog

From FreeCAD Documentation
Revision as of 19:58, 29 March 2020 by FuzzyBot (talk | contribs) (Updating to match new version of source page)

Einleitung

Wenn du dich in einer Skizze befindest, wird der Skizzierdialog im Combo-Ansichtsfenster auf der Registerkarte Aufgaben (Aufgabenleiste) angezeigt. Um in eine Skizze zu springen, wähle diese im Modellbaum aus, doppelklicke darauf oder klicke mit der rechten Maustaste darauf und wähle dann im Kontextmenü Skizze bearbeiten. Eine weitere Möglichkeit ist, auf das Symbol in der Werkzeugleiste zu klicken . (Skizze bearbeiten).

Der Dialog besteht aus den folgenden Abschnitten:

Lösermeldungen

Dieser Abschnitt informiert dich über den Zustand der Skizze, ob sie unter- oder überbeschränkt ist und wie viele Freiheitsgrade die Skizze hat. Durch Anklicken der Freiheitsgrade werden die unterbeschränkten Skizzierelemente grün markiert.

Es gibt zwei Optionen für Löser Meldungen:

Name Description
Template:MenuCommand/de Wenn diese Option aktiviert ist, werden neu erstellte Zwangsbeschränkungen, die für die bestehenden Zwangsbeschränkungen redundant sind, automatisch entfernt. Die Beseitigung erfolgt stillschweigend für Zwangsbeschränkungen, die nicht dimensional sind.
Hinweis: Bei dimensional redundanten Zwangsbeschränkungen wirst Du darüber informiert, dass die neue Zwangsbeschränkungen ungültig ist, unabhängig davon, ob Du Template:MenuCommand/de}verwendest oder nicht.
Template:MenuCommand/de Wenn diese Option aktiviert ist, wird das gesamte Dokument nach jeder Skizzenaktion neu berechnet. Der Vorteil ist, dass du, wenn du z.B. die Skizze einer Tasche bearbeitest, den Effekt sofort siehst. Der Nachteil ist, dass es bei komplexen Dokumenten sehr lange dauert. Deaktiviere daher die Option, wenn die Bearbeitung von Skizzen langsam wird.

Erweiterte Löser Steuerung

Dieser Dialogabschnitt wird nur angezeigt, wenn du die Option 'Show Advanced Solver Control in the Task bar in the Skizzierer Einstellungen setzt.

Du kannst Folgendes festlegen:

Name Description
Default solver The solver that is used for solving the geometry. LevenbergMarquardt and DogLeg are trust region optimization algorithms. The BFGS solver uses the Broyden–Fletcher–Goldfarb–Shanno algorithm.
DogLeg Gauss step This setting is only available for the solver DogLeg. It is the step type used in the DogLeg algorithm.
Maximum iterations If the solver needs more iterations to find a convergence to a solution, it will stop and output that it failed.
Sketch size multiplier If checked, the maximum iterations will be multiplied by the number of parameters. The idea is that bigger sketches would need more iterations to converge.
Convergence The threshold for the squared error. This error is used to determine whether a solution converges or not.
Eps/Eps1/Tau These settings are only available for the solver LevenbergMarquardt. You should only change there something if you fully understand how the LevenbergMarquardt solver works.
Tolg/Tolx/Tolf These settings are only available for the solver DogLeg. You should only change there something if you fully understand how the DogLeg solver works.
QR Algorithm During diagnosing the rank of the matrix is calculated which enables to further analyze the constraint system to determine if there are redundant/conflicting constraints. The rank revealing decomposition used in FreeCAD is QR. There are two algorithms: Eigen Dense QR is a dense matrix QR with full pivoting, which is the legacy proven algorithm that works very well but it is rather slow as the system grows. The Eigen Sparse QR algorithm is an optimization for sparse matrices (having lots of zeros), which is usually much faster, since FreeCAD's systems do have a lot of zeros.
Pivot threshold When doing a QR, values under the pivot threshold are treated as zero.
Redundant Solver The solver that is used during diagnosing to determine whether a group is redundant or conflicting.
Red. Max Iterations The same as Maximum iterations, but for the redundant solving.
Red. Sketch size multiplier The same as Sketch size multiplier, but for the redundant solving.
Red. Convergence The same as Convergence, but for the redundant solving.
R.Eps/R.Eps1/R.Tau The same as Eps/Eps1/Tau, but for the redundant solving.
R.Tolg/R.Tolx/R.Tolf The same as Tolg/Tolx/Tolf, but for the redundant solving.
Console Debug mode Setting to specify the verbosity of the console output.
Solve With this button the solver will explicitly started.
Restore Defaults With this button the default solver settings will be restored.

Note: Most of the solver parameters are of no practical use. They can however help testing and understanding the solvers.

Bearbeitungssteuerung

Die Bearbeitungssteuerung sollen den Arbeitsablauf verbessern. Sie können auch global für alle Skizzen über die Bearbeitungs Einstellungen eingestellt werden.

Du kannst die folgenden Steuerelemente einstellen:

Name Description
Show Grid If checked, a grid will be shown.
Grid size The distance between two subsequent grid lines. Note that the default value of 0 mm will result in a 10 mm grid.
Grid snap If checked, new points will snap to the nearest grid line. Note that the points have already to be close to a grid line that the snap takes effect. The distance is a fifth of the value set for Grid size, so for a 10 mm grid, the snapping only occurs if the point is not more than 2 mm away from a grid line.
Note: A snapped point has no coincident constraint with the grid point it snapped to.
Auto constraints If checked, the sketcher proposes automatically sensible constraints. If you draw for example a polyline and point towards the bottom, you will see that the sketcher proposes a vertical constraint:. If you set now a point the drawn line segment will get the vertical constraint.
Avoid redundant auto constraints If checked, the sketcher tries not to propose redundant auto constraints. This option only has an effect if also the option Auto constraints is used.
Rendering order The order how sketches are rendered. To change it, drag and drop a geometry type to the top or bottom.

Zwangsbeschränkungen

In diesem Abschnitt werden die Einschränkungen der Skizze aufgelistet. Wenn du eine Zwangsbeschränkung in der Liste deaktivierst, kannst du es ausblenden.

You can set the following options:

Name Description
Filter You can select what constraint types will be listed. The types are
All: allnn constraints
Normal: constraints to normal sketch elements
Datums: dimensional constraints to construction elements
Named: constraints with a name
Reference: constraints in reference mode
Hide Internal Alignment If checked, internal alignments will be hidden. Currently the sketcher uses internal alignments to construct Ellipses/Arcs and B-splines.
Note: You can only hide these alignments in the constraint list. To hide them in the sketch you must use the toolbar button (Show/Hide internal geometry).
Extended Information If checked, extended information will be added to the list in this form
[(GeoID1,PosID1);(GeoID2,PosID2);(GeoID3,PosID3)]
PosID can have the following values:
0: Edge, 1 = starting point, 2 = endpoint, 3 = midpoint
The GeoID is the number of the sketch element minus 1. The coordinate system origin has the GeoID -1.
For example a dimension from the origin to the center of a circle with the element number '2' will get this information: [(1,3);(-1,1)]

Elemente

In Abschnitten werden die Skizzierelemente aufgelistet und können hervorgehoben werden. Wenn Du in der Liste auf ein Element klickst, wird es grün markiert. Jedes Element in der Liste beginnt mit einer Zahl. Die Zahl ist die Reihenfolge der Erstellung in der Skizze.
Wenn Du die Taste Ctrl gedrückt hältst, kannst Du mehrere Elemente auf einmal auswählen. Wenn Du die Taste Z drückst, kannst Du zum nächsten gültigen Typ wechseln. Wenn du zum Beispiel eine Linie in der Liste auswählst und Z drückst, kannst du zu ihren Definitionspunkten wechseln.

Du kannst die folgenden Optionen einstellen:

Name Description
Type You can select the list selection type. If you set for example End point, all elements in the list that don't have an end point (circles etc.) will get the icon to indicate that you can click on them but they will not be highlighted. If you click e.g. on a line, its end point will be highlighted.
You can choose between the types Edge, Starting Point, End Point and Center Point.
Mode You can select what sketch elements will be shown in the list, either All, Normal (regular sketch elements), Construction (construction elements) and External (elements from external geometries).
Extended Naming If checked, the naming in the list changes from
<number>-type
to
type(Edge<number>[-Construction]
So the name gets longer but contains the information about the element mode.
Auto-switch to Edge If checked, only the Type Edge will be available for the list.