Placement API/ro: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{VeryImportantMessage|(October 2019) Do not edit this page. The information is incomplete and outdated. For the latest API, see the [https://www.freecadweb.org/api autogenerated API documentation], or generate the documentation yourself, see [[Source documentation|Source documentation]].}} |
|||
⚫ | |||
⚫ | |||
Exemplu de setare a destinației de plasare a obiectului de document: |
Exemplu de setare a destinației de plasare a obiectului de document: |
||
Line 9: | Line 11: | ||
myObj.Placement = pl |
myObj.Placement = pl |
||
}} |
}} |
||
{{APIClass | Placement |) sau (Placement) sau (Matrice) sau (Base, Rotation) sau (Base, Rotation, Centre) sau (Base, Axes, Angle | Construește un plasament, vid sau cu arguemntele date, sau o copie a amplasamentului dat.}} {{APIProperty | Base |. Un vector reprezentâtnd poziție du Plasementului}} {{APIProperty | Rotation |. Un quaternion ( număr complex format din patru unități sclare) reprezentând rotația Plasamentului }} {{APIFunction | inverse | | calculază plasamentul invers |. Un placement}} {{APIFunction | move | Vector | deplasează plasamentul de-a lungul unui vector dat | nimic}} {{APIFunction | multVec | Vector | aplică plasamentul la vectorul dat| vectorul rezultant}.} {{APIFunction | multiplcați | Placement | multiplică acest plasamentul cu altul| plasamentul rezultatnt}.} {{APIFunction | toMatrix | | |. O matrice reprezentând transformarea plasamentului }} |
{{APIClass | Placement |) sau (Placement) sau (Matrice) sau (Base, Rotation) sau (Base, Rotation, Centre) sau (Base, Axes, Angle | Construește un plasament, vid sau cu arguemntele date, sau o copie a amplasamentului dat.}} {{APIProperty | Base |. Un vector reprezentâtnd poziție du Plasementului}} {{APIProperty | Rotation |. Un quaternion ( număr complex format din patru unități sclare) reprezentând rotația Plasamentului }} {{APIFunction | inverse | | calculază plasamentul invers |. Un placement}} {{APIFunction | move | Vector | deplasează plasamentul de-a lungul unui vector dat | nimic}} {{APIFunction | multVec | Vector | aplică plasamentul la vectorul dat| vectorul rezultant}.} {{APIFunction | multiplcați | Placement | multiplică acest plasamentul cu altul| plasamentul rezultatnt}.} {{APIFunction | toMatrix | | |. O matrice reprezentând transformarea plasamentului }} |
||
{{Userdocnavi{{#translation:}}}} |
|||
[[Category:API]] |
[[Category:API{{#translation:}}]] |
||
[[Category:Poweruser Documentation{{#translation:}}]] |
|||
{{clear}} |
{{clear}} |
Latest revision as of 21:04, 27 February 2020
(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