Arch CloseHoles/ru: Difference between revisions
(Created page with "Этот инструмент идентифицирует дыры (круговую последовательность открытых ребер) в объекте Par...") |
(Updating to match new version of source page) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{docnav |
|||
|[[Arch_RemoveShape|Remove Shape]] |
|||
|[[Arch_MergeWalls|Merge Walls]] |
|||
|[[Arch_Module|Arch]] |
|||
|IconL=Arch_RemoveShape.svg |
|||
|IconC=Workbench_Arch.svg |
|||
|IconR=Arch_MergeWalls.svg |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
{{GuiCommand/ru |
{{GuiCommand/ru |
||
Line 14: | Line 24: | ||
Этот инструмент идентифицирует дыры (круговую последовательность открытых ребер) в объекте [[Part Module | Shape]] и пытается закрыть его, добавив в него новую грань, сделанную из этой последовательности ребер. Вы все равно должны убедиться, что результат является прочным. |
Этот инструмент идентифицирует дыры (круговую последовательность открытых ребер) в объекте [[Part Module | Shape]] и пытается закрыть его, добавив в него новую грань, сделанную из этой последовательности ребер. Вы все равно должны убедиться, что результат является прочным. |
||
<div class="mw-translate-fuzzy"> |
|||
==How to use== |
|||
==Использование== |
|||
</div> |
|||
# Select a [[Part Module|Shape]] object |
# Select a [[Part Module|Shape]] object. |
||
# Press the {{ |
# Press the {{Button|[[Image:Arch CloseHoles.svg|16px]] [[Arch CloseHoles|Close Holes]]}} entry in {{MenuCommand|Arch → Utilities → Close Holes}}. |
||
==Scripting== |
==Scripting== |
||
{{Emphasis|See also:}} [[Arch API|Arch API]] and [[FreeCAD Scripting Basics|FreeCAD Scripting Basics]]. |
|||
This tool can |
This tool can be used in [[macros|macros]] and from the [[Python|Python]] console by using the following function: |
||
{{Code|code= |
{{Code|code= |
||
solid = closeHole(shape) |
|||
}} |
}} |
||
closes a hole in an open shape |
|||
* Closes a hole in a {{incode|shape}}, which is a {{incode|Part.Shape}}, and returns the new {{incode|solid}} object. |
|||
[[Category:Arch/ru]] |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD, Draft, Arch |
|||
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0),FreeCAD.Vector(2000, 2000, 0)]) |
|||
Wall = Arch.makeWall(Line, width=150, height=3000) |
|||
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box") |
|||
Box.Length = 900 |
|||
Box.Width = 450 |
|||
Box.Height = 2000 |
|||
FreeCAD.ActiveDocument.recompute() |
|||
Draft.rotate(Box, 45) |
|||
Draft.move(Box, FreeCAD.Vector(1000, 700, 0)) |
|||
Arch.removeComponents(Box, Wall) |
|||
FreeCAD.ActiveDocument.recompute() |
|||
solid = Arch.closeHole(Wall.Shape) |
|||
}} |
|||
{{docnav |
|||
|[[Arch_RemoveShape|Remove Shape]] |
|||
|[[Arch_MergeWalls|Merge Walls]] |
|||
|[[Arch_Module|Arch]] |
|||
|IconL=Arch_RemoveShape.svg |
|||
|IconC=Workbench_Arch.svg |
|||
|IconR=Arch_MergeWalls.svg |
|||
}} |
|||
{{Arch Tools navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Revision as of 18:23, 19 February 2020
Arch CloseHoles |
Системное название |
---|
Arch CloseHoles |
Расположение в меню |
Архитектура → Утилиты → Убрать отверстия |
Верстаки |
Arch |
Быстрые клавиши |
Нет |
Представлено в версии |
- |
См. также |
Проверь |
Описание
Этот инструмент идентифицирует дыры (круговую последовательность открытых ребер) в объекте Shape и пытается закрыть его, добавив в него новую грань, сделанную из этой последовательности ребер. Вы все равно должны убедиться, что результат является прочным.
Использование
- Select a Shape object.
- Press the Close Holes entry in Arch → Utilities → Close Holes.
Scripting
See also: Arch API and FreeCAD Scripting Basics.
This tool can be used in macros and from the Python console by using the following function:
solid = closeHole(shape)
- Closes a hole in a
shape
, which is aPart.Shape
, and returns the newsolid
object.
Example:
import FreeCAD, Draft, Arch
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0),FreeCAD.Vector(2000, 2000, 0)])
Wall = Arch.makeWall(Line, width=150, height=3000)
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 900
Box.Width = 450
Box.Height = 2000
FreeCAD.ActiveDocument.recompute()
Draft.rotate(Box, 45)
Draft.move(Box, FreeCAD.Vector(1000, 700, 0))
Arch.removeComponents(Box, Wall)
FreeCAD.ActiveDocument.recompute()
solid = Arch.closeHole(Wall.Shape)
Arch
- Elements: Wall, Structure, Curtain Wall, Window, Roof, Space, Stairs, Equipment, Frame, Fence, Truss, Profile, Pipe, Pipe Connector
- Reinforcements: Straight Rebar, U-Shape Rebar, L-Shape Rebar, Stirrup, Bent-Shape Rebar, Helical Rebar, Column Reinforcement, Beam Reinforcement, Slab Reinforcement, Footing Reinforcement, Custom Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Building Part, Project, Site, Building, Level, External reference, Section Plane, Schedule
- Axes: Axis, Axes system, Grid
- Modification: Cut with plane, Add component, Remove component, Survey
- Utilities: Component, Clone component, Split Mesh, Mesh to Shape, Select non-manifold meshes, Remove Shape from Arch, Close Holes, Merge Walls, Check, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import Export Preferences (IFC, DAE, OBJ, JSON, 3DS, SHP), IfcOpenShell, IfcPlusPlus, Arch API
Документация пользователя
- Начинающим
- Установка: Загрузка, Windows, Linux, Mac, Дополнительных компонентов, Docker, AppImage, Ubuntu Snap
- Базовая: О FreeCAD, Интерфейс, Навигация мыши, Методы выделения, Имя объекта, Настройки, Верстаки, Структура документа, Свойства, Помоги FreeCAD, Пожертвования
- Помощь: Учебники, Видео учебники
- Верстаки: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web