Arch Remove/cs: Difference between revisions
(Created page with "==Skriptování==") |
(Updating to match new version of source page) |
||
(34 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
{{GuiCommand|Name=Arch Remove|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Remove|SeeAlso=[[Arch Add]]}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{docnav/cs|[[Arch_Add|Add component]]|[[Arch_Survey|Survey]]|[[Arch_Workbench|Arch]]|IconL=Arch_Add.svg |IconC=Workbench_Arch.svg |IconR=Arch_Survey.svg}} |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
{{GuiCommand/cs |
|||
|Name=Arch Remove |
|||
|Name/cs=Architektura Odebrat |
|||
|MenuLocation=Arch → Remove |
|||
|Workbenches=[[Arch_Workbench/cs|Arch]] |
|||
|SeeAlso=[[Arch Add]] |
|||
}} |
|||
</div> |
|||
==Popis== |
==Popis== |
||
<div class="mw-translate-fuzzy"> |
|||
Nástroj |
Nástroj Odebrat Vám umožňuje 2 druhy činnosti: |
||
* Odebrat komponentu ze stavebního objektu, například odebrat kvádr, který byl přidán do zdi, jako je v příkladu [[Přidání]] |
|||
* Odebrat |
* Odebrat komponentu ze stavebního objektu, například odebrat kvádr, který byl přidán do zdi, jako je v příkladu [[Arch Add/cs|Přidat]] |
||
* Odebrat objekt založený na objektu [[Part_Workbench/cs|tvar]] ze stavební komponenty jako je třeba [[Arch Wall/cs|zeď]] nebo [[Arch Structure/cs|struktura]] |
|||
</div> |
|||
The counterpart of this tool is the {{Button|[[Image:Arch_Add.svg|16px]] [[Arch_Add|Arch Add]]}} tool. |
|||
[[Image:Arch Remove example.jpg|600px]] |
[[Image:Arch Remove example.jpg|600px]] |
||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
==Použití== |
==Použití== |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
# Vyberte součást uvnitř stavebního objektu '''nebo''': |
# Vyberte součást uvnitř stavebního objektu '''nebo''': |
||
# Vyberte objekt(y), který má být odebrán, potom stavební komponentu, ze které se bude odebírat (tato stavební komponenta musí být vybrána jako poslední) |
# Vyberte objekt(y), který má být odebrán, potom stavební komponentu, ze které se bude odebírat (tato stavební komponenta musí být vybrána jako poslední) |
||
# Stiskněte |
# Stiskněte tlačítko {{KEY|[[Image:Arch Remove.png|16px]] '''Odebrat'''}} |
||
</div> |
|||
Or |
|||
# Select objects to be subtracted, the last object selected must the Arch object from which the other objects will be subtracted. |
|||
# Press the {{Button|[[Image:Arch_Remove.svg|16px]]}} button, or {{KEY|Arch}} → {{KEY|[[Image:Arch_Remove.svg|16px]] [[Arch_Remove|Remove]]}} from the top menu. |
|||
<div class="mw-translate-fuzzy"> |
|||
==Skriptování== |
==Skriptování== |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
Nástroj Odebrat může být využit v [[macros|makrech]] a z konzoly Pythonu použitím následující funkce: |
|||
</div> |
|||
{{Code|code= |
|||
⚫ | |||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
* odebere zadanou komponentu nebo komponenty podle zadaného seznamu objectsList z jejich rodičů. Je-li specifikován hlavní objekt hostObject, tato funkce se pokusí místo nich přidat komponenty jako jsou mezery. |
|||
Příklad: |
|||
</div> |
|||
The Remove tool can by used in [[macros]] and from the python console by using the following function: |
|||
⚫ | |||
* removes the given component or the components from the given list from their parents. If a host object is specified, this function will try adding the components as holes to the host object instead. |
|||
Example: |
Example: |
||
{{Code|code= |
|||
<syntaxhighlight> |
|||
import FreeCAD, Draft, Arch |
|||
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0),FreeCAD.Vector(2000, 2000, 0)]) |
|||
wall = Arch.makeWall(line) |
|||
Wall = Arch.makeWall(Line, width=150, height=3000) |
|||
box = Part.makeBox(1,1,1) |
|||
Arch.addComponents(box,wall) |
|||
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box") |
|||
⚫ | |||
Box.Length = 900 |
|||
</syntaxhighlight> |
|||
Box.Width = 450 |
|||
⚫ | |||
Box.Height = 2000 |
|||
FreeCAD.ActiveDocument.recompute() |
|||
Draft.rotate(Box, 45) |
|||
Draft.move(Box, FreeCAD.Vector(1000, 700, 0)) |
|||
⚫ | |||
FreeCAD.ActiveDocument.recompute() |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
{{docnav/cs|[[Arch_Add|Add component]]|[[Arch_Survey|Survey]]|[[Arch_Workbench|Arch]]|IconL=Arch_Add.svg |IconC=Workbench_Arch.svg |IconR=Arch_Survey.svg}} |
|||
</div> |
|||
{{Arch Tools navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 14:57, 9 March 2022
Architektura Odebrat |
Umístění Menu |
---|
Arch → Remove |
Pracovní stoly |
Arch |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Arch Add |
Popis
Nástroj Odebrat Vám umožňuje 2 druhy činnosti:
The counterpart of this tool is the Arch Add tool.
Na obrázku výše je ze zdi odebrán kvádr
Použití
Or
- Select objects to be subtracted, the last object selected must the Arch object from which the other objects will be subtracted.
- Press the button, or Arch → Remove from the top menu.
Skriptování
Nástroj Odebrat může být využit v makrech a z konzoly Pythonu použitím následující funkce:
removeComponents(objectsList, host=None)
- odebere zadanou komponentu nebo komponenty podle zadaného seznamu objectsList z jejich rodičů. Je-li specifikován hlavní objekt hostObject, tato funkce se pokusí místo nich přidat komponenty jako jsou mezery.
Příklad:
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()
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, Assembly, BIM, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub