Placement API/de: Difference between revisions
(Created page with "Category:API/de") |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{VeryImportantMessage|( |
{{VeryImportantMessage|(October 2019) Diese Seite nicht bearbeiten. Die Informationen sind unvollständig und veraltet. Zur neuesten API siehe [https://www.freecadweb.org/api autogenerated API documentation] (engl.) oder erstelle selbst die Dokumentation, siehe dazu [[Source documentation/de|Quelldokumentation]].}} |
||
In FreeCAD, Placement defines an object's position and rotation. The Placement concept is explained in detail here: [[Placement|Placement]]. |
In FreeCAD, Placement defines an object's position and rotation. The Placement concept is explained in detail here: [[Placement|Placement]]. |
||
Line 21: | Line 21: | ||
{{APIFunction|toMatrix| | |a matrix representing the Placement's transformation.}} |
{{APIFunction|toMatrix| | |a matrix representing the Placement's transformation.}} |
||
{{Userdocnavi{{#translation:}}}} |
|||
[[Category:API |
[[Category:API{{#translation:}}]] |
||
[[Category:Poweruser Documentation{{#translation:}}]] |
|||
{{clear}} |
{{clear}} |
Latest revision as of 13:07, 18 December 2022
(October 2019) Diese Seite nicht bearbeiten. Die Informationen sind unvollständig und veraltet. Zur neuesten API siehe autogenerated API documentation (engl.) oder erstelle selbst die Dokumentation, siehe dazu Quelldokumentation.
In FreeCAD, Placement defines an object's position and rotation. The Placement concept is explained in detail here: Placement.
Example of setting a document object's Placement:
myObj = FreeCAD.ActiveDocument.ActiveObject
pl = FreeCAD.Placement()
pl.move(FreeCAD.Vector(2,0,0))
myObj.Placement = pl
Placement( ) or (Placement) or (Matrix) or (Base, Rotation) or (Base,Rotation,Center) or (Base,Axis,Angle)
Description: Constructs a placement, empty or with the given arguments, or as a copy of the given placement.
Description: applies the Placement to the given vector
Returns: the resulting vector.
Description: multiplies this placement with another one
Returns: the resulting placement.
Anwenderdokumentation
- Erste Schritte
- Installation: Herunterladen, Windows, Linux, Mac, Zusätzlicher Komponenten, Docker, AppImage, Ubuntu Snap
- Grundlagen: Über FreeCAD, Graphische Oberfläche, Mausbedienung, Auswahlmethoden, Objektname, Programmeinstellungen, Arbeitsbereiche, Dokumentstruktur, Objekteigenschaften, Hilf FreeCAD, Spende
- Hilfe: Tutorien, Video Tutorien
- Arbeitsbereiche: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework