Arch RemoveShape: Difference between revisions
m (added link to German translation of this page) |
m (png to svg) |
||
(27 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
{{GuiCommand|Name=Arch RemoveShape|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Conversion Tools -> Remove Shape|SeeAlso=[[Arch MeshToShape]]}} |
|||
<translate> |
|||
<!--T:10--> |
|||
{{docnav|[[Arch_SelectNonSolidMeshes|Select non-solid meshes]]|[[Arch_CloseHoles|Close Holes]]|[[Arch_Module|Arch]]|IconL=Arch_SelectNonManifold.svg |IconC=Workbench_Arch.svg |IconR=Arch_CloseHoles.svg}} |
|||
<!--T:1--> |
|||
⚫ | |||
{{GuiCommand |
|||
|Name=Arch RemoveShape |
|||
|Workbenches=[[Arch Module|Arch]] |
|||
|MenuLocation=Arch → Utilities → Remove Shape |
|||
|SeeAlso=[[Arch SplitMesh]], [[Arch MeshToShape|Arch MeshToShape]] |
|||
}} |
|||
⚫ | |||
⚫ | |||
<!--T:3--> |
|||
==How to use== |
|||
⚫ | This tool attempts at removing the inner cubic shape of an {{Button|[[Image:Arch_Wall.svg|16px]] [[Arch Wall]]}} or {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure]]}}, and adjusting its properties, making it totally parametric. This tool will only work if the underlying shape is cubic (exactly 6 faces, all corners have only right angles). |
||
==Usage== <!--T:4--> |
|||
⚫ | |||
# Press the {{KEY|[[Image:Arch RemoveShape.png|16px]] '''Remove Shape'''}} entry in Arch -> Conversion Tools menu |
|||
<!--T:5--> |
|||
⚫ | |||
# Select an {{Button|[[Image:Arch_Wall.svg|16px]] [[Arch Wall]]}} or {{Button|[[Image:Arch_Structure.svg|16px]] [[Arch Structure]]}} |
|||
# Press the {{Button|[[Image:Arch RemoveShape.svg|16px]]}} button or use {{KEY|Arch}} → {{KEY|Utilities}} → {{KEY|[[Image:Arch RemoveShape.svg|16px]] [[Arch RemoveShape|Remove Shape]]}} from the top menu. |
|||
⚫ | |||
⚫ | |||
{{Emphasis|See also:}} [[Arch API]] and [[FreeCAD Scripting Basics]]. |
|||
<!--T:7--> |
|||
'''removeShape (object)''': takes an arch object (wall or structure) built on a cubic shape, and removes |
|||
⚫ | |||
the inner shape, keeping its length, width and height as parameters. |
|||
</translate> |
|||
{{Code|code= |
|||
removeShape(objs, mark=True) |
|||
}} |
|||
<translate> |
|||
<!--T:8--> |
|||
* Takes a list of Arch objects ({{incode|objs}}) built on a cubic shape, and removes the inner shape, keeping the length, width and height as properties of the Arch object. |
|||
⚫ | |||
* If {{incode|mark}} is {{incode|True}}, objects that cannot be processed by this function will become red. |
|||
</translate> |
|||
{{languages | {{de|Arch RemoveShape/de}} {{it|Arch RemoveShape/it}} }} |
|||
{{Code|code= |
|||
import FreeCAD, Draft, Arch |
|||
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box") |
|||
Box.Length = 1000 |
|||
Box.Width = 2000 |
|||
Box.Height = 1000 |
|||
FreeCAD.ActiveDocument.recompute() |
|||
Structure = Arch.makeStructure(Box) |
|||
FreeCAD.ActiveDocument.recompute() |
|||
Arch.removeShape(Structure) |
|||
FreeCAD.ActiveDocument.recompute() |
|||
}} |
|||
<translate> |
|||
<!--T:11--> |
|||
{{docnav|[[Arch_SelectNonSolidMeshes|Select non-solid meshes]]|[[Arch_CloseHoles|Close Holes]]|[[Arch_Module|Arch]]|IconL=Arch_SelectNonManifold.svg |IconC=Workbench_Arch.svg |IconR=Arch_CloseHoles.svg}} |
|||
</translate> |
|||
{{Arch Tools navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Revision as of 12:01, 6 March 2020
Arch RemoveShape |
Menu location |
---|
Arch → Utilities → Remove Shape |
Workbenches |
Arch |
Default shortcut |
None |
Introduced in version |
- |
See also |
Arch SplitMesh, Arch MeshToShape |
Description
This tool attempts at removing the inner cubic shape of an Arch Wall or Arch Structure, and adjusting its properties, making it totally parametric. This tool will only work if the underlying shape is cubic (exactly 6 faces, all corners have only right angles).
Usage
- Select an Arch Wall or Arch Structure
- Press the button or use Arch → Utilities → Remove Shape 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:
removeShape(objs, mark=True)
- Takes a list of Arch objects (
objs
) built on a cubic shape, and removes the inner shape, keeping the length, width and height as properties of the Arch object.objs
is a single object, Arch Wall or Arch Structure, or a list of them.
- If
mark
isTrue
, objects that cannot be processed by this function will become red.
import FreeCAD, Draft, Arch
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 1000
Box.Width = 2000
Box.Height = 1000
FreeCAD.ActiveDocument.recompute()
Structure = Arch.makeStructure(Box)
FreeCAD.ActiveDocument.recompute()
Arch.removeShape(Structure)
FreeCAD.ActiveDocument.recompute()
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, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub