Architektura: Siatka na kształt
Arch MeshToShape |
Menu location |
---|
Arch → Utilities → Mesh to Shape |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch SplitMesh, Arch RemoveShape |
Description
Arch MeshToShape converts a selected Mesh (Mesh Feature) object into a Shape (Part Feature) object.
This tool is optimized for objects with flat faces (no curves). The corresponding tool Part ShapeFromMesh from the Part Workbench might be more suited for objects that contain curved surfaces.
Usage
- Select a mesh object.
- Press the Mesh to Shape entry in Arch → Utilities → Mesh to Shape.
Properties
Limitations
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:
new_obj = meshToShape(obj, mark=True, fast=True, tol=0.001, flat=False, cut=True)
The above code snippet converts the given obj
(a mesh), into a shape, joining coplanar facets.
- If
mark
isTrue
, non-solid objects will be marked in red. - If
fast
isTrue
, it uses a faster algorithm by building a shell from the facets then removing splitter. tol
is the tolerance used when converting mesh segments to wires.- If
flat
isTrue
, it will force the wires to be perfectly planar to be sure they can be converted into faces, but this might leave gaps in the final shell. - If
cut
isTrue
, holes in faces are made by subtraction.
Example:
import Arch, Mesh, BuildRegularGeoms
Box = FreeCAD.ActiveDocument.addObject("Mesh::Cube", "Cube")
Box.Length = 1000
Box.Width = 2000
Box.Height = 1000
FreeCAD.ActiveDocument.recompute()
new_obj = Arch.meshToShape(Box)
ś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, 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