Placement API
(October 2019) Do not edit this page. The information is incomplete and outdated. For the latest API, see the autogenerated API documentation, or generate the documentation yourself, see Source documentation.
În FreeCAD, Plasamentul definește poziția și rotația unui obiect. Conceptul de Plasament este explicat în detaliu aici: Placement.
Exemplu de setare a destinației de plasare a obiectului de document:
myObj = FreeCAD.ActiveDocument.ActiveObject
pl = FreeCAD.Placement()
pl.move(FreeCAD.Vector(2,0,0))
myObj.Placement = pl
Placement () sau (Placement) sau (Matrice) sau (Base, Rotation) sau (Base, Rotation, Centre) sau (Base, Axes, Angle )
Description: Construește un plasament, vid sau cu arguemntele date, sau o copie a amplasamentului dat.
Returns: . Un quaternion ( număr complex format din patru unități sclare) reprezentând rotația Plasamentului
{{APIFunction | multVec | Vector | aplică plasamentul la vectorul dat| vectorul rezultant}.} {{APIFunction | multiplcați | Placement | multiplică acest plasamentul cu altul| plasamentul rezultatnt}.}
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub