Arch Add/cs: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "==Použití==")
Line 12: Line 12:
Na předchozím obrázku je kvádr přidaný do zdi.
Na předchozím obrázku je kvádr přidaný do zdi.


==How to use==
==Použití==


# Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
# Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)

Revision as of 20:13, 29 November 2013

Arch Add

Menu location
Arch -> Add
Workbenches
Arch
Default shortcut
None
Introduced in version
-
See also
Arch Remove

Popis

Nástroj Přidání Vám umožní 4 druhy operací: * Přidání na tvaru založených objektů na architektonický prvek jako například zeď nebo struktura. Tyto objekty pak tvoří součást architektonického prvku a umožňují vám modifikovat jeho tvar ale dál si udržují základní vlastnosti jako je šířka a výška

Na předchozím obrázku je kvádr přidaný do zdi.

Použití

  1. Select the object(s) to be added, then the "host" object (the host object must be the last one you selected)
  2. Press the Add button

Scripting

The Add tool can by used in macros and from the python console by using the following function:

addComponents (objectsList,hostObject): 
  • Adds the given object or the objects from the given list as components to the given host Object. Use this for example to add windows to a wall, or to add walls to a floor.
  • Returns nothing.

Example:

 import FreeCAD, Arch, Draft, Part
 line = Draft.makeWire([FreeCAD.Vector(0,0,0),FreeCAD.Vector(2,2,0)])
 wall = Arch.makeWall(line)
 box = Part.makeBox(1,1,1)
 Arch.addComponents(box,wall)