Part Ebene

From FreeCAD Documentation
Revision as of 13:01, 20 April 2022 by FBXL5 (talk | contribs) (Created page with "{{Docnav/de |Primitives |Ellipsoid |Part |IconL=Part_Primitives.svg |IconR=Part_Ellipsoid.svg |IconC=Workben...")

Part Ebene

Menüeintrag
Part → Grundkörper erstellen → Ebene
Arbeitsbereich
Part
Standardtastenkürzel
Keiner
Eingeführt in Version
-
Siehe auch
Part Grundkörper

Description

Beschreibung

Erstellt eine einfache parametrische Ebene 10 x 10 mm mit den Parametern für Position, Länge und Breite. Als Vorgabe wird die Ebene am Ursprung (0,0,0) platziert.

Anwendung

See Part Primitives.

Example

Part Plane from the scripting example

A Part Plane object created with the scripting example below is shown here.

Eigenschaften

See also: Property editor.

A Part Plane object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:

Daten

Attachment

The object has the same attachment properties as a Part Part2DObject.

Plane

  • DatenLength (Length): The length of the plane. This is the dimension in its X direction. The default is 10mm.
  • DatenWidth (Length): The width of the plane. This is the dimension in its Y direction. The default is 10mm.

Scripting

See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

A Part Plane can be created with the addObject() method of the document:

plane = FreeCAD.ActiveDocument.addObject("Part::Plane", "myPlane")
  • Where "myPlane" is the name for the object.
  • The function returns the newly created object.

Example:

import FreeCAD as App

doc = App.activeDocument()

plane = doc.addObject("Part::Plane", "myPlane")
plane.Length = 4
plane.Width = 8
plane.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(20, 75, 60))

doc.recompute()