Команда "Уместить всё"

From FreeCAD Documentation
This page is a translated version of the page Std ViewFitAll and the translation is 67% complete.
Other languages:

Уместить всё

Системное название
Std_ViewFitAll
Расположение в меню
Вид → Стандартные виды‏‎ → Уместить всё
Верстаки
Все
Быстрые клавиши
V F
Представлено в версии
-
См. также
Уместить выделенное

Описание

The Std ViewFitAll command zooms and pans the camera so that all visible objects fit inside the active 3D view.

Применение

  1. There are several ways to invoke the command:
    • Press the Std ViewFitAll button.
    • Select the View → Standard views → Fit all option from the menu.
    • Select the Fit all option from the 3D view context menu.
    • Select the Fit all option from the Mini-cube menu of the Navigation Cube.
    • Use the keyboard shortcut: V then F.

Программирование

Смотрите так же: Основы составления скриптов в FreeCAD.

To change the view to 'fit all' use the fitAll method of the ActiveView object. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.ActiveDocument.ActiveView.fitAll()

Alternatively the SendMsgToActiveView method of the FreeCADGui object can be used. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.SendMsgToActiveView('ViewFit')