Is it possible to limit rotation of view, so Z-axis remains vertical?

Post here for help on using FreeCAD's graphical user interface (GUI).
matkor
Posts: 1
Joined: Mon Feb 20, 2017 12:19 pm
Location: Poland

Is it possible to limit rotation of view, so Z-axis remains vertical?

Postby matkor » Sun Mar 19, 2017 5:54 pm

OS: Ubuntu 16.04.2 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

Is it possible to limit rotation of view, so Z-axis remains vertical?
I am trying to model my house in FreeCAD, so I prefer Z-axis always being vertical.
chrisb
Posts: 1661
Joined: Tue Mar 17, 2015 9:14 am

Re: Is it possible to limit rotation of view, so Z-axis remains vertical?

Postby chrisb » Sun Mar 19, 2017 7:18 pm

There is a macro FCCamera in the macro section of the FreeCAD homepage which might help.
User avatar
NormandC
Posts: 12072
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Is it possible to limit rotation of view, so Z-axis remains vertical?

Postby NormandC » Sun Mar 19, 2017 7:34 pm

Hello matkor,

Welcome to the FreeCAD forum. It is not possible to lock an axis for the rotation.

Here's the direct link to the macro chrisb mentioned: Macro_FCCamera

There's also the turntable utility in the Tools menu, but it creates an animation, you need to click Play then Stop, so it's difficult to stop at an exact position.