TechDraw "Вставить объект верстака Arch"

From FreeCAD Documentation
Revision as of 17:47, 20 November 2021 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Other languages:

Вставить объект верстака Arch

Системное название
TechDraw_ArchView
Расположение в меню
TechDraw → Вставить объект верстака Arch
Верстаки
TechDraw, Arch
Быстрые клавиши
Нет
Представлено в версии
-
См. также
Плоскость Сечения

Описание

The ArchView tool inserts a view of an Arch SectionPlane on a TechDraw page.

Применение

  1. Select an Arch section plane in the 3D view or in the tree
  2. If you have multiple drawing pages in your document, you will need to select the desired page in the tree.
  3. Press the Insert Arch Workbench Object button
  4. A view of the objects seen by the section plane will appear on the page.

Ограничения

The ArchView is rendered within the Arch Workbench, therefore TechDraw has limited control over its appearance. You may need to make changes within Arch to get the representation you want.

Опции

  • The Arch View is rendered by the Arch Workbench, the same way as in the Drawing Workbench. See Notes.
  • Draft Dimensions, Draft Texts and any other 2D (Sketch or Draft) object considered by the section plane is rendered "as is" (no intersection or hidden lines) on top of the solid geometry
  • The volume of Arch Spaces is not rendered, only the label will be rendered
  • Cut lines, projected lines (if Show Hidden property is set to True) and 2D lines above can be rendered with different line widths. This can be configured in the Arch preferences.
  • The ArchView has two rendering modes: Wireframe, which uses the OpenCasCade algorithms of the Drawing Workbench, is fast and produces only lines (no face fill possible), and Solid, which is based on the Painter's algorithm, and is capable of rendering faces filled with their shape color. However, it is much slower and can fail in many situations. The image below illustrates the difference between the two rendering modes:

  • Only the base line of Arch Pipes is rendered, not the full volume of the tube:

Свойства

  • ДанныеSource: The section plane object to be displayed
  • ДанныеAll On: If hidden objects must be shown or not. If False, only objects that are visible in the 3D view are rendered
  • ДанныеRender Mode: The render mode to use, Solid or Wireframe
  • ДанныеShow Hidden: If the hidden geometry (the part of the geometry that lies behind the section plane) is shown or not. It will be rendered in dashed line, which can be configured in the Arch preferences.
  • ДанныеShow Fill: If cut areas must be filled with a grey color or not
  • ДанныеLine Width: The width of the main lines. Cut lines and projected/2D line widths ratios can be configured in the Arch preferences
  • ДанныеFont Size: The size of all texts that appear in this view

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

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

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

dv = FreeCAD.ActiveDocument.addObject('TechDraw::DrawViewArch','TestArch')
dv.Source = mySectionPlane
rc = page.addView(dv)