Architektura: Trzy widoki
Arch 3Views |
Menu location |
---|
Arch → Utilities → 3 Views from mesh |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch SplitMesh, Arch MeshToShape |
Description
This command is currently not in use. It will serve to generate flat, shape-based views from a Mesh based object, to be used by the Arch Equipment tool.
Usage
- Select a Mesh object.
- Select the button, or Arch → Utilities → 3Views from the top menu.
Scripting
See also: Arch API and FreeCAD Scripting Basics.
This tool can be used in macros and from the Python console by using the following function:
shape = createMeshView(obj, direction=FreeCAD.Vector(0, 0, -1), outeronly=False, largestonly=False)
- Creates a flat
shape
that is the projection of the given mesh object (obj
) in the givendirection
. - If
outeronly
isTrue
only the outer contour is taken into consideration, discarding the inner holes. - If
largestonly
isTrue
only the largest segment of the given mesh will be used.
Use Part.show()
to display the resulting flat shape.
Example:
import FreeCAD, Draft, Arch, Mesh, MeshPart
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0), FreeCAD.Vector(2000, 2000, 0)])
Wall = Arch.makeWall(Line, width=150, height=3000)
FreeCAD.ActiveDocument.recompute()
Shape = Wall.Shape.copy(False)
Shape.Placement = Wall.getGlobalPlacement()
mesh_obj = FreeCAD.ActiveDocument.addObject("Mesh::Feature", "Mesh")
mesh_obj.Mesh = MeshPart.meshFromShape(Shape=Shape, MaxLength=520)
mesh_obj.ViewObject.DisplayMode = "Flat Lines"
FreeCAD.ActiveDocument.recompute()
XAxis = FreeCAD.Vector(1, 0, 0)
YAxis = FreeCAD.Vector(0, 1, 0)
ZAxis = FreeCAD.Vector(0, 0, -1)
s1 = Arch.createMeshView(mesh_obj, ZAxis)
s2 = Arch.createMeshView(mesh_obj, XAxis)
s3 = Arch.createMeshView(mesh_obj, YAxis)
Part.show(s1)
Part.show(s2)
Part.show(s3)
Wall.ViewObject.Visibility = False
mesh_obj.ViewObject.Visibility = False
ś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, Złożenie, BIM, CAM, Rysunek Roboczy, MES, Inspekcja, Siatka, OpenSCAD, Część, Projekt Części, Punkty, Inżynieria Wsteczna, Robot, Szkicownik, Arkusz Kalkulacyjny, Powierzchnia 3D, Rysunek Techniczny, Test Framework