Arch Окно

From FreeCAD Documentation
Revision as of 05:04, 5 June 2017 by Baritone (talk | contribs) (Created page with "===Создание с нуля===")

Arch Window

Системное название
Arch Window
Расположение в меню
Архитектура → Окно
Верстаки
Arch
Быстрые клавиши
W I
Представлено в версии
-
См. также
Стена

Описание

Window (окно) это базовый объект для всех типов "внедряемых" объектов, таких как окна, двери и т.д... Он спроектирован так, что может быть и независим, и "базироваться" на другом компоненте вроде стены. У него своя собственная геометрия, которая может быть сделана из нескольких твердотельных компонентов (например, оконная рама или внутренняя панель), и определяет объём, которые будет вычитаться из базового объекта, чтобы сделать проём.

Объекты Window базируются на замкнутых двумерных объектах, вроде прямоугольников или эскизов, которые используются для определения их внутренних компонентов. Базовые двумерные объекты должны, следовательно, содержать несколько замкнутых многоугольников, которые могут быть скомбинированы для создания заполненных панелей (один многоугольник) или рамок (несколько многоугольников).

Инструмент window предлагает несколько предустановок, которые позволяют создать окно или дверь по списку параметров, без необходимости создавать вручную двумерные объекты и компоненты. Но окра можно сделать с нуля, нарисовав сначала двумерный объект.

На рисунке выше окно создано на базе прямоугольника, вставленного в стену. Добавление окна в стену автоматически вырезает нужный проём в несущей окно стене.

Изображение выше показывает более сложное окно, созданное на базе эскиза. При входе в режим редактирования окна, Вы можете создать различные компоненты, установить их толщину, и выделить и назначить многоугольники из эскиза для них.

Использование

Использование предустановок

  1. Optionally, выделите объект Arch. Если объект не выделен, при установке окно будет вставлено в объект под мышью.
  2. Нажмите кнопку Окно, или нажмите клавиши W, затем I
  3. Выберите предустановку из списка
  4. Заполните желаемые параметры
  5. Нажмите кнопку OK

Создание с нуля

  1. Optionally, select a face on the Arch object where you want the window to be incuded
  2. Switch to the Sketcher Workbench
  3. Create a new sketch
  4. Draw one or more closed wires
  5. Close the sketch
  6. Switch back to the Arch Workbench
  7. Press the Arch Window button, or press W then I keys
  8. Enter Edit mode by double-clicking the window in the tree view, to adjust the window components

Presets

The following presets are available:

Building components

Windows can include 2 types of components: panels and frames. Panels are made from one closed wire, which gets extruded, while frames are made from 2 or more closed wire, where each one is extruded, then the smaller ones are subtracted from the biggest one. You can access, create, modify and delete components of a window in edit mode (double-click the window in the Tree view). The components have the following properties:

  • Name: A name for the component
  • Type: The type of component. Can be "Frame", "Glass panel", "Solid panel" or "Louvres"
  • Wires: A comma-separated list of wires the component is based on
  • Thickness: The extrusion thickness of the component
  • Offset: The distance between the component and its base 2D wire(s)

Options

  • Windows share the common properties and behaviours of all Arch Components
  • If the Auto-includecheckbox on the Window creation task panel is unchecked, the window won't be inserted into any host object on creation.
  • Add a selected window to a wall by selecting both, then pressing the Arch Add button.
  • Remove a selected window from a wall by selecting the window, then pressing the Arch Remove button.
  • When using presets, it is often convenient to turn the "Near" Draft Snap on, so you can snap your window to an existing face.
  • The hole created by a window in its host object is determined by two properties: Hole Depth and Hole Wire (introduced in version 0.17). The Hole Wire number can be picked in the 3D view from the window's task panel available when double-clicking the window in the tree view
  • Windows can make use of Multi-Materials. The window will search in the attached Multi-Material for material layers with a same name for each of its window component, and use it if any is found. For example, a component named "OuterFrame" will search in the attached Multi-Material, for a material layer named "OuterFrame". If such material layer is found, its material will be attributed to the OuterFrame component. The thickness value of the material layer is disregarded.

Doors

Doors can be made easily with the window tool, you only need to draw the base of the inner wire touching the exterior wire like in the image below.

Door

Properties

  • ДанныеHeight: The height of this window
  • ДанныеWidth: The width of this window
  • ДанныеHole Depth: The depth of the hole created by this window in its host object
  • ДанныеHole Wire: The number of the wire from the base object that is used to create a hole in the host object of this window. This value can be set graphically when double-clicking the window in the tree view. Setting a value of 0 will make the window automatically pick its biggest wire for the hole.
  • ДанныеWindow Parts: A list of strings (5 strings per component, setting the component options above)
  • ДанныеLouvre Width: If any of the components is set to "Louvres", this property defines the size of the louvre elements
  • ДанныеLouvre Spacing: If any of the components is set to "Louvres", this property defines the spacing between the louvre elements

Scripting

The Window tool can by used in macros and from the python console by using the following function:

makeWindow (obj,[name])
creates a window based on the given object

Example:

import Draft, Arch
rect = Draft.makeRectangle(length=2,height=4)
Arch.makeWindow(rect)