Arch CutPlane/pl: Difference between revisions
(Created page with "Architektura: Płaszczyzna cięcia") |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
{{Docnav |
||
|[[Arch_CutLine|Cut with a line]] |
|[[Arch_CutLine|Cut with a line]] |
||
|[[Arch_Add|Add component]] |
|[[Arch_Add|Add component]] |
||
|[[ |
|[[Arch_Workbench|Arch]] |
||
|IconL=Arch_CutLine.svg |
|IconL=Arch_CutLine.svg |
||
|IconR=Arch_Add.svg |
|IconR=Arch_Add.svg |
||
Line 12: | Line 13: | ||
|Name=Arch CutPlane |
|Name=Arch CutPlane |
||
|MenuLocation=Arch → Cut Plane |
|MenuLocation=Arch → Cut Plane |
||
|Workbenches=[[ |
|Workbenches=[[Arch_Workbench|Arch]] |
||
|SeeAlso=[[Arch_CutLine|Arch CutLine]], [[Arch_Remove|Arch Remove]] |
|SeeAlso=[[Arch_CutLine|Arch CutLine]], [[Arch_Remove|Arch Remove]] |
||
}} |
}} |
||
Line 91: | Line 92: | ||
|[[Arch_CutLine|Cut with a line]] |
|[[Arch_CutLine|Cut with a line]] |
||
|[[Arch_Add|Add component]] |
|[[Arch_Add|Add component]] |
||
|[[ |
|[[Arch_Workbench|Arch]] |
||
|IconL=Arch_CutLine.svg |
|IconL=Arch_CutLine.svg |
||
|IconR=Arch_Add.svg |
|IconR=Arch_Add.svg |
Revision as of 09:51, 28 August 2021
Arch CutPlane |
Menu location |
---|
Arch → Cut Plane |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch CutLine, Arch Remove |
Description
The Cut Plane tool allows you to cut an Arch object according to a plane:
- You can cut an Arch object with the selected face, normal or opposite of the face plane.
- This add a subtraction component CutVolume to the Arch object
Left: Before applying the CutPlane tool. Middle: resulting wall after the cut is done. Right: yet another optional result
Usage
- Select the object to be cut, then the face (the face must be the last one you selected, and must be selected in the 3D View).
- Press the Cut Plane button.
- Choose if the object is cut behind the normal face or infront of the normal face.
- Click the OK button.
Scripting
See also: Arch API and FreeCAD Scripting Basics.
The CutPlane tool can be used in macros and from the Python console by using the following function:
cutObj = cutComponentwithPlane(archObject, cutPlane, sideFace)
- Creates a
cutObj
object from the givenarchObject
, which is cut bycutPlane
, which is the face of another object.archObject
should be aSelectionObject
obtained fromFreeCADGui.Selection.SelectionEx()[0]
.cutPlane
should be aFaceObject
obtained fromFreeCADGui.Selection.SelectionEx()[0].SubObjects[0]
.
sideFace
specifies on which side of theFaceObject
a volume will be created; this volume will then be used to subtract from thearchObject
. IfsideFace
is0
it will create a volume in the rear of the face, otherwise it create it in front of the face.
Example:
import FreeCAD, FreeCADGui, Draft, Arch
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 2000, 0)
Line = Draft.makeWire([p1, p2])
Wall = Arch.makeWall(Line, width=150, height=2000)
p3 = FreeCAD.Vector(0, 2000, 0)
p4 = FreeCAD.Vector(3000, 0, 0)
Line2 = Draft.makeWire([p3, p4])
Wall2 = Arch.makeWall(Line2, width=150, height=2000)
FreeCAD.ActiveDocument.recompute()
# Select the Wall
main_object = FreeCADGui.Selection.getSelectionEx()[0]
# Select the face of Wall2
selection = FreeCADGui.Selection.getSelectionEx()[0]
cut_face = selection.SubObjects[0]
cutObj = Arch.cutComponentwithPlane(main_object, cut_face, 0)
FreeCAD.ActiveDocument.recompute()
Wall3 = Draft.move(Wall, FreeCAD.Vector(-4000, 0, 0), copy=True)
Wall4 = Draft.move(Wall2, FreeCAD.Vector(-4000, 0, 0), copy=True)
FreeCAD.ActiveDocument.recompute()
# Select the Wall3
main_object2 = FreeCADGui.Selection.getSelectionEx()[0]
# Select the face of Wall4
selection2 = FreeCADGui.Selection.getSelectionEx()[0]
cut_face2 = selection2.SubObjects[0]
cutObj2 = Arch.cutComponentwithPlane(main_object2, cut_face2, 1)
FreeCAD.ActiveDocument.recompute()
środowisko pracy Architektura
- Elementy: Mury, Konstrukcja, ściana kurtynowa, Okna, Drzwi, Dach, Kubatura, Schody, Wyposażenie, Ramy, Ogrodzenie, Kratownica, Profil, Rura, Kształtka
- Zbrojenie: Pręty zbrojeniowe proste, Pręty zbrojeniowe typu U, Pręty zbrojeniowe typu L, Strzemiona, Strzemiona, Pręty zbrojeniowe spiralne, Zbrojenie słupów, Zbrojenie belek, Zbrojenie płyt stropowych, Zbrojenie stóp fundamentowych, Pręt zbrojeniowy
- Panels: Panel, Panelizacja do cięcia, Arkusz panela, Zagnieżdżanie
- Materiał: Wybór materiału, Materiał złożony
- Organizacja: Część budowli, Projekt, Teren, Budowla, Piętro, Odniesienie, Płaszczyzna przekroju, Obmiar
- Osie: Osie, Układ osi, Siatka
- Modifikacja: Płaszczyzna cięcia, Komponent dodaj, Komponent usuń, Przegląd
- Narzędzia: Komponent, Klonuj komponent, Podziel siatkę, Siatka na kształt, Zaznacz siatki nie bryłowe, Usuń kształt., Zamknij otwory, Połącz ściany, Sprawdź, Przełącz flagę Brep IFC, Trzy widoki, Arkusz kalkulacyjny IFC, Przełącz widoczność odjęcia
- Dodatkowe: Preferencje, Ustawienia Importu i Eksportu (IFC, DAE, OBJ, JSON, 3DS); SHP), Architektura: API
Centrum użytkownika
- Jak zacząć
- Instalacja: Pobieranie programu, Windows, Linux, Mac, Dodatkowych komponentów, Docker, AppImage, Ubuntu Snap
- Podstawy: Informacje na temat FreeCAD, Interfejs użytkownika, Profil nawigacji myszką, Metody wyboru, Nazwa obiektu, Edytor ustawień, Środowiska pracy, Struktura dokumentu, Właściwości, Pomóż w rozwoju FreeCAD, Dotacje
- Pomoc: Poradniki, Wideo poradniki
- Środowiska pracy: Strona Startowa, Architektura, Assembly, CAM, Rysunek Roboczy, MES, Inspekcja, Siatka, OpenSCAD, Część, Projekt Części, Punkty, Inżynieria Wsteczna, Robot, Szkicownik, Arkusz Kalkulacyjny, Start, Powierzchnia 3D, Rysunek Techniczny, Test Framework, Web