Viewpoints panel
Section Plan
Section Fit, then an orthographic plan view of the box, square on.
On the ribbonStacked button, Viewpoints panel
NeedsA selection
What it does#
Fits the planes the same way Section Fit does, then swings the camera to an orthographic plan of them. The camera turns with the box, so the objects sit square on screen rather than skewed across it.
How to use it#
- Select the objects and click Section Plan.
Good to know#
Plan has no Shift+Click of its own; change the padding and snap angle from Section Fit.
Source#
The tool's own files, word for word as shipped in Viewpoints.panel/Section.stack/Plan.pushbutton. Every pyNavis tool is an ordinary bundle: copy these into your own extension and change what you like.
script.py Runs on a click. View on GitHub"""Fits the section planes, then swings to an orthographic plan of them.
The camera turns with the box, so the objects sit square on screen rather than
skewed across it.
"""
from pynavis import section, selection, settings, toast
values = settings.load(section.TOOL, section.DEFAULTS)
result = section.plan_to_selection(selection.get_items(), values)
toast.show(result.level, result.message, result.detail)bundle.yaml The bundle contract: the keys pyNavis reads for this tool. View on GitHubtitle: Section Plan
tooltip: Fit the section planes and look straight down at them, square on