Arch RemoveShape/cs: Difference between revisions

From FreeCAD Documentation
(Created page with "Stavitelství OdebráníTvar")
 
(Updating to match new version of source page)
 
(36 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<languages/>
{{GuiCommand|Name=Arch RemoveShape|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Conversion Tools -> Remove Shape|SeeAlso=[[Arch MeshToShape]]}}


<div class="mw-translate-fuzzy">
==Description==
{{docnav/cs|[[Arch_SelectNonSolidMeshes|Select non-solid meshes]]|[[Arch_CloseHoles|Close Holes]]|[[Arch_Workbench|Arch]]|IconL=Arch_SelectNonSolidMeshes.png |IconC=Workbench_Arch.svg |IconR=Arch_CloseHoles.svg}}
</div>


<div class="mw-translate-fuzzy">
This tool attempts at removing the inner cubic shape of an [[Arch Wall]] or [[Arch Structure]], and adjusting its properties, making it totally parametric. This tool will only work if the underlying shape is cubic (exactly 6 faces, all corners have only right angles).
{{GuiCommand/cs
|Name=Arch RemoveShape|Name/cs=Arch RemoveShape
|Workbenches=[[Arch_Workbench/cs|Arch]]
|MenuLocation=Arch → Utilities → Remove Shape
|SeeAlso=[[Arch MeshToShape/cs|Arch MeshToShape]]
}}
</div>


==How to use==
==Popis==


<div class="mw-translate-fuzzy">
# Select an [[Arch Wall]] or [[Arch Structure]]
Tento nástroj se pokouší odebrat trojrozměrný tvar ze [[Arch Wall|zdi]] nebo [[Arch Structure|stavební struktury]] a nastavit její vlastnosti, tak že ji udělá plně parametrickou. Tento nástroj funguje pouze tehdy když základní tvar je trojrozměrný (přesně 6 ploch, všechny úhly jsou pravé).
# Press the {{KEY|[[Image:Arch RemoveShape.png|16px]] '''Remove Shape'''}} entry in Arch -> Conversion Tools menu
</div>

==Použití==

<div class="mw-translate-fuzzy">
# Vyberte [[Arch Wall|zeď]] nebo [[Arch Structure|strukturu]]
# Stiskem tlačítka {{KEY|[[Image:Arch RemoveShape.png|16px]] '''Odebrat tvar'''}} přejdete od Architektura -> Menu Utility
</div>


==Scripting==
==Scripting==


<div class="mw-translate-fuzzy">
This tool can by used in [[macros]] and from the python console by using the following function:
==Skriptování==
<syntaxhighlight>
</div>
removeShape (object)

</syntaxhighlight>
<div class="mw-translate-fuzzy">
takes an arch object (wall or structure) built on a cubic shape, and removes the inner shape, keeping its length, width and height as parameters.
Tento nástroj může být použit v [[macros|makrech]] a z konzoly Pythonu použitím následující funkce:
<languages/>
</div>
{{Code|code=
removeShape(objs, mark=True)
}}

<div class="mw-translate-fuzzy">
vezme stavební objekt (zeď nebo struktura) založený na trojrozměrném tvaru a odebere z něj vnitřní tvar o délce, šířce a výšce daný parametry.
</div>

{{Code|code=
import FreeCAD, Draft, Arch

Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 1000
Box.Width = 2000
Box.Height = 1000
FreeCAD.ActiveDocument.recompute()

Structure = Arch.makeStructure(Box)
FreeCAD.ActiveDocument.recompute()

Arch.removeShape(Structure)
FreeCAD.ActiveDocument.recompute()
}}


<div class="mw-translate-fuzzy">
{{docnav/cs|[[Arch_SelectNonSolidMeshes|Select non-solid meshes]]|[[Arch_CloseHoles|Close Holes]]|[[Arch_Workbench|Arch]]|IconL=Arch_SelectNonSolidMeshes.png |IconC=Workbench_Arch.svg |IconR=Arch_CloseHoles.svg}}
</div>

{{Arch_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 16:51, 12 March 2022

Arch RemoveShape

Umístění Menu
Arch → Utilities → Remove Shape
Pracovní stoly
Arch
Výchozí zástupce
Nikdo
Představen ve verzi
-
Viz také
Arch MeshToShape

Popis

Tento nástroj se pokouší odebrat trojrozměrný tvar ze zdi nebo stavební struktury a nastavit její vlastnosti, tak že ji udělá plně parametrickou. Tento nástroj funguje pouze tehdy když základní tvar je trojrozměrný (přesně 6 ploch, všechny úhly jsou pravé).

Použití

  1. Vyberte zeď nebo strukturu
  2. Stiskem tlačítka Odebrat tvar přejdete od Architektura -> Menu Utility

Scripting

Skriptování

Tento nástroj může být použit v makrech a z konzoly Pythonu použitím následující funkce:

removeShape(objs, mark=True)

vezme stavební objekt (zeď nebo struktura) založený na trojrozměrném tvaru a odebere z něj vnitřní tvar o délce, šířce a výšce daný parametry.

import FreeCAD, Draft, Arch

Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 1000
Box.Width = 2000
Box.Height = 1000
FreeCAD.ActiveDocument.recompute()

Structure = Arch.makeStructure(Box)
FreeCAD.ActiveDocument.recompute()

Arch.removeShape(Structure)
FreeCAD.ActiveDocument.recompute()