Sketcher SketchObject/de

Einleitung


Ein Sketcher SketchObject, oder formal ein, ist das Basiselement für die Erstellung von 2D-Objekten mit der Arbeitsumgebung Sketcher.

Das ist vom Part Part2DObject abgeleitet, d.h. es ist ein Part Feature-Objekt spezialisiert auf 2D-Geometrie. Wie das Part2DObject, kann das SketchObject Ebenen und Flächen zugeordnet werden. Zusätzlich kann das SketchObject mit geometrischen Randbedingungen arbeiten.



Anwendung

 * 1) Zum Arbeitsbereich Sketcher wechseln.
 * 2) Die Schaltfläche  drücken.
 * 3) Eine  auswählen: XY-Ebene, XZ-Ebene, oder YZ-Ebene. Wahlweise die  aktivieren, und einen -Wert eingeben.
 * 4)  drücken.

Auch wenn das Sketch-Objekt eigenständig verwendet werden kann, um auf einer Fläche zu zeichnen, wird es meistens in Verbindung mit dem Arbeitsbereich PartDesign verwendet um extrudierte Volumenkörper zu erstellen.


 * 1) Switch to the PartDesign Workbench.
 * 2) Press.
 * 3) Press.
 * : XY_Plane (Base plane), XZ_Plane (Base plane), or YZ_Plane (Base plane).
 * 1) Press.

Eigenschaften
Siehe Eigenschaft für alle Eigenschaftstypen, die geskriptete Objekte haben können.

The Sketcher SketchObject ( class) is derived from the Part Part2DObject ( class) and inherits all its properties.

The Sketcher SketchObject also has the following additional properties in the property editor. Hidden properties can be shown by using the command in the context menu of the property editor.

Daten

 * : a list of Part geometries that exist inside the sketch.
 * : named constraints, if they exist; otherwise it is an empty list.
 * : a list of Part geometries outside this Sketch that are used for reference.
 * : (read-only) if the sketch is fully constrained.

Ansicht

 * : if constraints are automatically added when geometry is drawn.
 * : if redundant auto-constraints are avoided.


 * : if the grid is resized based on the boundingbox of the geometry of the sketch.
 * : the size of the spacing of the local grid lines in the 3D view; it defaults to.
 * : if the grid can be used to snap points.
 * : the style of the grid lines; (default) or.
 * : if a grid local to the object will be displayed in the 3D view. This grid is independent of the Draft Grid.
 * : if the grid is only displayed while the sketch is being edited.
 * : if the local grid will be localized around the origin of the shape, otherwise it will extend itself more.
 * : the maximum number of lines in the grid.


 * : name of the workbench to activate when editing the sketch; it defaults to.
 * : if the camera will be forced to orthographic view mode when the sketch is opened.
 * : if all objects that depend on the sketch are hidden when the sketch is opened.
 * : if the camera position is saved before opening the sketch, and is restored after closing it.
 * : if only (parts of) objects behind the sketch plane are visible while the sketch is being edited.
 * : if all objects used in links to external geometry are shown when the sketch is opened.
 * : if all objects this sketch is attached to are shown when the sketch is opened.
 * : a custom class associated with this object, that handles hiding and showing other objects when opening and closing the sketch.

Skripten
FreeCAD Scripting Basics and scripted objects.

See Part Feature for the general information on adding objects to the document.

A SketchObject is created with the method of the document.

For Python subclassing you should create the object.