Arch SplitMesh/cs: Difference between revisions
(Created page with "==Použití==") |
(Updating to match new version of source page) |
||
(32 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
⚫ | |||
⚫ | |||
{{Docnav |
|||
|[[Arch_CloneComponent|Clonecomponent]] |
|||
|[[Arch_MeshToShape|MeshToShape]] |
|||
|[[Arch_Workbench|Arch]] |
|||
|IconL=Arch_CloneComponent.svg |
|||
|IconR=Arch_MeshToShape.svg |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
</div> |
|||
==Popis== |
==Popis== |
||
<div class="mw-translate-fuzzy"> |
|||
Tento nástroj rozdělí vybrané [[Mesh |
Tento nástroj rozdělí vybrané [[Mesh Workbench|Síťové]] objekty do jejich vlastních oddělených komponent. |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
==Použití== |
==Použití== |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
# Select a mesh object |
|||
# Vyberte objekt sítě |
|||
# |
# Stiskněte tlačítko {{KEY|[[Image:Arch SplitMesh.png|16px]] '''Rozděl síť'''}} pro vstup do Architektura -> Menu Utility |
||
</div> |
|||
==Scripting== |
==Scripting== |
||
<div class="mw-translate-fuzzy"> |
|||
The Split Mesh tool can by used in [[macros]] and from the python console by using the following function: |
|||
==Skriptování== |
|||
<syntaxhighlight> |
|||
</div> |
|||
splitMesh (object,[mark]) |
|||
</syntaxhighlight> |
|||
splits the given mesh object into separated components. |
|||
<div class="mw-translate-fuzzy"> |
|||
If mark is False, nothing else is done. If True (default), non-manifold components will be painted in red. |
|||
Nástroj Rozděl síť může být využit v [[macros|makrech]] a z konzoly Pythonu použitím následující funkce: |
|||
</div> |
|||
{{Code|code= |
|||
⚫ | |||
new_list = splitMesh(obj, mark=True) |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
rozdělí vybraný síťový objekt do oddělených komponent. |
|||
</div> |
|||
Example: |
|||
{{Code|code= |
|||
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" |
|||
new_list = Arch.splitMesh(mesh_obj) |
|||
}} |
|||
{{Docnav |
|||
|[[Arch_CloneComponent|Clonecomponent]] |
|||
|[[Arch_MeshToShape|MeshToShape]] |
|||
|[[Arch_Workbench|Arch]] |
|||
|IconL=Arch_CloneComponent.svg |
|||
|IconR=Arch_MeshToShape.svg |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
{{Arch_Tools_navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 16:52, 12 March 2022
Arch Rozděl síť |
Umístění Menu |
---|
Arch → Utilities → Split Mesh |
Pracovní stoly |
Arch |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Arch SelectNonSolidMeshes |
Popis
Tento nástroj rozdělí vybrané Síťové objekty do jejich vlastních oddělených komponent.
Použití
Scripting
Skriptování
Nástroj Rozděl síť může být využit v makrech a z konzoly Pythonu použitím následující funkce:
new_list = splitMesh(obj, mark=True)
rozdělí vybraný síťový objekt do oddělených komponent.
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"
new_list = Arch.splitMesh(mesh_obj)
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