Part Plano

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page Part Plane and the translation is 8% complete.
Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎română • ‎čeština • ‎русский
Arrow-left.svg Anterior: Part Primitives.svg Primitivas
Siguiente: Elipsoide Part Ellipsoid.svg Arrow-right.svg

Part Plane.svg Part Plano

Ubicación en el Menú
Pieza → Crear primitivas... →Plano
Entornos de trabajo
Part
Atajo de teclado por defecto
Ninguno
Introducido en versión
-
Ver también
Part Primitivas

Description

Descripción

Crea un Plano paramétrico simple de 10 x 10 mm, con los parámetros de posición, longitud y anchura. Por defecto, el Plano es colocado en el origen (0,0,0).

Part Plane Example.png

Uso

See Part Primitives.

Example

Part Plane from the scripting example

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

Properties

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:

Data

Attachment

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

Plane

  • DatosLength (Length): The length of the plane. This is the dimension in its X direction. The default is 10mm.
  • DatosWidth (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()


Arrow-left.svg Previous: Part Primitives.svg Primitives
Next: Ellipsoid Part Ellipsoid.svg Arrow-right.svg