TechDraw "Вставить активный вид (3D Вид)"

From FreeCAD Documentation
Jump to navigation Jump to search
This page is a translated version of the page TechDraw ActiveView and the translation is 59% complete.
Other languages:
Deutsch • ‎English • ‎français • ‎italiano • ‎polski • ‎русский

TechDraw ActiveView.svg Вставить активный вид (3D Вид)

Системное название
TechDraw_ActiveView
Расположение в меню
TechDraw → Вставить активный вид (3D Вид)
Верстаки
TechDraw
Быстрые клавиши
Нет
Представлено в версии
0.19
См. также
Вставить SVG знак

Описание

The ActiveView tool inserts a copy of a 3D window into a drawing page.

TechDraw ActiveView example.png

A simple view from the 3D model that doesn't perform any complex calculation.

Применение

  1. Navigate to the 3D window you wish to copy.
  2. If you have multiple drawing pages in your document, you will also need to select the desired page in the tree.
  3. Press the TechDraw ActiveView.svg Insert Active View button
  4. A dialog will open to allow you to specify the size, border and background color of the copy.

Примечания

  • Active views are static once generated, they are never updated with changes to the 3D model.
  • ActiveView behind the scenes is a TechDraw Symbol.svg Symbol View. Its ДанныеScale Type is therefore always initialized as Custom.
  • This tool is still somewhat Experimental.

Свойства

See TechDraw Symbol.svg Symbol

Dialog Fields

  • ДанныеWidth: The width of the generated view.
  • ДанныеHeight: The height of the generated view.
  • ДанныеBorder: The amount of empty space to be left around the view (but within Width x Height).
  • ДанныеBackground: Show or hide a background.
  • ДанныеBackground Color: Color to paint the background, if applicable.
  • ДанныеLine Width: Thickness of individual lines in the view.
  • ДанныеRender Mode: The render mode of the library Coin3d. The possible modes are
    • AS_IS Render primitives as they are
    • WIREFRAME Render polygons as wireframe
    • POINTS Render only the vertices of the polygons and lines
    • WIREFRAME_OVERLAY Render a wireframe overlay in addition to the AS_IS mode
    • HIDDEN_LINE As WIREFRAME, but culls lines which would otherwise not be shown due to geometric culling
    • BOUNDING_BOX Only show the bounding box of each object

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

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

The ActiveView tool can be used in macros and from the Python console by using the following functions:

import TechDrawGui
TechDrawGui.copyActiveViewToSvgFile(Gui.ActiveDocument.ActiveView,"myFile.svg")