Arch CloseHoles/it: Difference between revisions
Renatorivo (talk | contribs) No edit summary |
No edit summary |
||
(41 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{GuiCommand/it|Name=Arch CloseHoles|Name/it=Chiudi fori|Workbenches=[[Arch Module/it|Architettura]]|MenuLocation=Arch → Utilità → Chiudi fori|SeeAlso=[[Arch Check/it|Controlla]]}} |
|||
{{Docnav/it |
|||
⚫ | |||
|[[Arch_RemoveShape/it|Rimuovi forma]] |
|||
|[[Arch_MergeWalls/it|Unisci Muri]] |
|||
|[[Arch_Workbench/it|Arch]] |
|||
|IconL=Arch_RemoveShape.svg |
|||
|IconR=Arch_MergeWalls.svg |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
{{GuiCommand/it |
|||
⚫ | |||
|Name=Arch CloseHoles |
|||
|Name/it=Chiudi fori |
|||
|MenuLocation=Arch → Utilità → Chiudi fori |
|||
|Workbenches=[[Arch_Workbench/it|Arch]] |
|||
|SeeAlso=[[Arch_Check/it|Controlla]] |
|||
}} |
|||
<span id="Description"></span> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
<span id="Usage"></span> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
⚫ | |||
⚫ | |||
</div> |
|||
<span id="Scripting"></span> |
|||
⚫ | |||
{{Emphasis|Vedere anche:}} [[Arch_API/it|API di Arch]] e [[FreeCAD_Scripting_Basics/it|Nozioni di base sugli script di FreeCAD]]. |
|||
⚫ | |||
{{Code|code= |
{{Code|code= |
||
solid = closeHole(shape) |
|||
}} |
}} |
||
: Chiude un foro aperto in una forma. |
|||
* Chiude un foro in una {{incode|shape}}, che è una {{incode|Part.Shape}}, e restituisce il nuovo oggetto {{incode|solid}}. |
|||
{{clear}} |
|||
Esempio: |
|||
{{Code|code= |
|||
import FreeCAD, Draft, Arch |
|||
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0),FreeCAD.Vector(2000, 2000, 0)]) |
|||
Wall = Arch.makeWall(Line, width=150, height=3000) |
|||
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box") |
|||
Box.Length = 900 |
|||
Box.Width = 450 |
|||
Box.Height = 2000 |
|||
FreeCAD.ActiveDocument.recompute() |
|||
Draft.rotate(Box, 45) |
|||
Draft.move(Box, FreeCAD.Vector(1000, 700, 0)) |
|||
Arch.removeComponents(Box, Wall) |
|||
FreeCAD.ActiveDocument.recompute() |
|||
solid = Arch.closeHole(Wall.Shape) |
|||
}} |
|||
{{Docnav/it |
|||
|[[Arch_RemoveShape/it|Rimuovi forma]] |
|||
|[[Arch_MergeWalls/it|Unisci Muri]] |
|||
|[[Arch_Workbench/it|Arch]] |
|||
|IconL=Arch_RemoveShape.svg |
|||
|IconR=Arch_MergeWalls.svg |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
{{Arch Tools navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 10:50, 9 December 2023
Chiudi fori |
Posizione nel menu |
---|
Arch → Utilità → Chiudi fori |
Ambiente |
Arch |
Avvio veloce |
Nessuno |
Introdotto nella versione |
- |
Vedere anche |
Controlla |
Descrizione
Questo strumento identifica i fori (sequenza circolare di bordi aperti) in un oggetto Forma e tenta di chiuderlo con l'aggiunta di una nuova faccia costruita dalla sequenza dei bordi aperti. È però comunque necessario verificare se il risultato è un solido.
Utilizzo
- Selezionare una Forma (un oggetto Parte)
- Selezionare la voce Chiudi fori nel menu Arch → Utilità → Chiudi fori.
Script
Vedere anche: API di Arch e Nozioni di base sugli script di FreeCAD.
Lo strumento può essere utilizzato nelle macro e dalla console Python tramite la seguente funzione:
solid = closeHole(shape)
- Chiude un foro in una
shape
, che è unaPart.Shape
, e restituisce il nuovo oggettosolid
.
Esempio:
import FreeCAD, Draft, Arch
Line = Draft.makeWire([FreeCAD.Vector(0, 0, 0),FreeCAD.Vector(2000, 2000, 0)])
Wall = Arch.makeWall(Line, width=150, height=3000)
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 900
Box.Width = 450
Box.Height = 2000
FreeCAD.ActiveDocument.recompute()
Draft.rotate(Box, 45)
Draft.move(Box, FreeCAD.Vector(1000, 700, 0))
Arch.removeComponents(Box, Wall)
FreeCAD.ActiveDocument.recompute()
solid = Arch.closeHole(Wall.Shape)
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, Arch, Assembly, 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