Difference between revisions of "Arch CloseHoles/cs"
Jump to navigation
Jump to search
(Updating to match new version of source page) |
|||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{GuiCommand|Name=Arch CloseHoles|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch | + | <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"> | ||
+ | {{GuiCommand/cs|Name=Arch CloseHoles|Name/cs=Arch CloseHoles|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch → Utilities → Close Holes|SeeAlso=[[Arch Check]]}} | ||
+ | </div> | ||
==Popis== | ==Popis== | ||
Line 5: | Line 18: | ||
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. | 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 mezery'''}} a dostanete se do nástrojového menu Architektura -> | + | # 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> |
− | closeHole (shape) | + | {{Code|code= |
− | < | + | solid = closeHole(shape) |
+ | }} | ||
+ | |||
+ | <div class="mw-translate-fuzzy"> | ||
uzavře mezery v otevřeném tvaru | uzavře mezery v otevřeném tvaru | ||
− | < | + | </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
Umístění Menu |
---|
Arch → Utilities → Close Holes |
Pracovní stoly |
Arch |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Arch Check |
Contents |
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, Roof, Window, Door, Stairs, Space, Frame, Equipment; Pipe, Pipe Connector; Schedule
- Reinforcements: Rebar; Straight Rebar, UShape Rebar, LShape Rebar, Bent Shape Rebar, Stirrup Rebar, Helical Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Site, Reference,Building, Floor, Building Part, Section Plane
- 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-solid meshes, Remove Shape, Close Holes, Merge Walls, Check, Ifc Explorer, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import-Export Preferences (IFC, DAE, OBJ, JSON, 3DS); Arch API
User documentation

- Installation: Windows, Linux, Mac; Getting started
- Basics: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials
- Workbenches: Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting