Macro Align Camera to Working Plane/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "==Użycie== * Ustaw Płaszczyznę roboczą według własnych upodobań * Uruchom makrodefinicję")
(Created page with "==Opis== Za pomocą tej makrodefinicji ujęcie widoku jest wyrównywane do bieżącej Płaszczyzny roboczej.")
Line 13: Line 13:
}}
}}


==Description==
==Opis==
Za pomocą tej makrodefinicji ujęcie widoku jest wyrównywane do bieżącej [[Draft_SelectPlane|Płaszczyzny roboczej]].
This macro aligns the camera to the current [[Draft SelectPlane|Draft Working Plane]]


==Użycie==
==Użycie==

Revision as of 14:18, 11 September 2021

Macro Align Camera to Working Plane

Description
This macro aligns the camera to the current Draft Working Plane

Macro version: 0.1
Last modified: 2017-03-16
FreeCAD version: All
Download: ToolBar Icon
Author: yorik
Author
yorik
Download
ToolBar Icon
Links
Macro Version
0.1
Date last modified
2017-03-16
FreeCAD Version(s)
All
Default shortcut
None
See also
Macro Align Working Plane to Camera

Opis

Za pomocą tej makrodefinicji ujęcie widoku jest wyrównywane do bieżącej Płaszczyzny roboczej.

Użycie

Skrypt

ToolBar Icon

Macro_Align_Camera_to_Working_Plane.FCMacro

import FreeCAD,FreeCADGui
c = FreeCADGui.ActiveDocument.ActiveView.getCameraNode()
r = FreeCAD.DraftWorkingPlane.getRotation().Rotation.Q
c.orientation.setValue(r)