Arch CloseHoles/cs: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
⚫ | |||
{{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> |
|||
==Popis== |
==Popis== |
||
Tento nástroj identifikuje |
Tento nástroj identifikuje mezery (kruhovité sekvence s otevřenými okraji) v objektu [[Part Module|Tvary]] a pokouší se je uzavřít přidáním nové části vytvořené z okrajové sekvence. Nicméně, musíte přitom stále kontrolovat zda je výsledek těleso. |
||
<div class="mw-translate-fuzzy"> |
|||
==Použití== |
==Použití== |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
# Vyberte objekt [[Part Module|Tvar]] |
# Vyberte objekt [[Part Module|Tvar]] |
||
# Stiskněte tlačítko {{KEY|[[Image:Arch CloseHoles.png|16px]] '''Uzavřít |
# Stiskněte tlačítko {{KEY|[[Image:Arch CloseHoles.png|16px]] '''Uzavřít mezery'''}} a dostanete se do nástrojového menu Architektura -> Menu Utility |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
==Skriptování== |
==Skriptování== |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
Tento nástroj může být použit v [[macros|makrech]] a z konzoly Pythonu použitím následující funkce: |
Tento nástroj může být použit v [[macros|makrech]] a z konzoly Pythonu použitím následující funkce: |
||
</div> |
|||
<syntaxhighlight> |
|||
{{Code|code= |
|||
closeHole (shape) |
|||
solid = closeHole(shape) |
|||
</syntaxhighlight> |
|||
}} |
|||
⚫ | |||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
</div> |
|||
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 |
Umístění Menu |
---|
Arch → Utilities → Close Holes |
Pracovní stoly |
Arch |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Arch Check |
Popis
Tento nástroj identifikuje mezery (kruhovité sekvence s otevřenými okraji) v objektu Tvary a pokouší se je uzavřít přidáním nové části vytvořené z okrajové sekvence. Nicméně, musíte přitom stále kontrolovat zda je výsledek těleso.
Použití
- Vyberte objekt Tvar
- Stiskněte tlačítko Uzavřít mezery a dostanete se do nástrojového menu Architektura -> Menu Utility
Skriptování
Tento nástroj může být použit v makrech a z konzoly Pythonu použitím následující funkce:
solid = closeHole(shape)
uzavře mezery v otevřeném tvaru
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
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub