Arch RemoveShape
Jump to navigation
Jump to search
Outdated translations are marked like this.
Menyplacering |
---|
Arch → Utilities → Remove Shape |
Arbetsbänk(ar) |
Arch |
Standard genväg |
Ingen |
Introducerad i version |
- |
Se även |
Arch SplitMesh, MeshToShape |
Contents |
Beskrivning
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).
Bruk
- Select an
Arch Wall or
Arch Structure
- Press the
button or use Arch → Utilities →
Remove Shape from the top menu.
Skript
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, Roof, Window, Door, Stairs, Space, Frame, Equipment; Pipe, Pipe Connector; Schedule
- Reinforcements: Rebar; Straight Rebar, UShape Rebar, LShape Rebar, Bent Shape Rebar, Stirrup Rebar, Helical Rebar
- Panels: Panel, Panel Cut, Panel Sheet, Nest
- Materials: Material, Multi-Material
- Organization: Site, Reference, Reference, Building, Floor, Building Part, Section Plane
- 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-solid meshes, Remove Shape, Close Holes, Merge Walls, Check, Ifc Explorer, Toggle IFC Brep flag, 3 Views from mesh, Create IFC spreadsheet, Toggle Subcomponents
- Additional: Preferences, Import-Export Preferences (IFC, DAE, OBJ, JSON, 3DS); Arch API
User documentation

- Installation: Windows, Linux, Mac; Getting started
- Basics: About FreeCAD, Workbenches, Preferences, Document structure, Interface Customization, Properties, Mouse Model; Tutorials
- Workbenches: Arch, Draft, FEM, Image, Inspection, Mesh, OpenSCAD, Part, PartDesign, Path, Plot, Points, Raytracing, Reverse Engineering, Robot, Ship, Sketcher, Spreadsheet, Start, Surface workbench, TechDraw, Test Framework, Web
- Scripting: Introduction to Python, FreeCAD scripting tutorial, FreeCAD Scripting Basics, How to install macros, Gui Command, Units Modules: Builtin modules, Workbench creation, Installing more workbenches Meshes: Mesh Scripting, Mesh Module Parts: The Part Module, Topological data scripting, PythonOCC, Mesh to Part Coin scenegraph: The Coin/Inventor scenegraph, Pivy Qt interface: PySide, Using the FreeCAD GUI, Dialog creation Parametric objects: Scripted objects Other: Code snippets, Line drawing function, Embedding FreeCAD, FreeCAD vector math library, Power users hub, Python, Macros, FreeCAD Scripting Basics, Topological data scripting