Arch SectionPlane/sv: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(21 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{docnav|[[Arch_Window|Window]]|[[Arch_CompAxis|Arch CompAxis]]|[[Arch_Module|Arch]]|IconL=Arch_Window.svg |IconC=Workbench_Arch.svg |IconR=Arch_CompAxis.png}} |
|||
{{Docnav |
|||
|[[Arch_Grid|Grid]] |
|||
|[[Arch_Space|Space]] |
|||
|[[Arch_Workbench|Arch]] |
|||
|IconL=Arch_Grid.svg |
|||
|IconR=Arch_Space.png |
|||
|IconC=Workbench_Arch.svg |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
{{GuiCommand/sv |
|||
{{GuiCommand/sv|Name=Arch SectionPlane|Workbenches=[[Arch Module|Arch]]|MenuLocation=Arch -> Section Plane|Shortcut=S P}} |
|||
|Name=Arch SectionPlane |
|||
|Name/sv=Arch SectionPlane |
|||
|MenuLocation=Arch → Section Plane |
|||
|Workbenches=[[Arch_Workbench|Arch]] |
|||
|Shortcut={{KEY|S}} {{KEY|P}} |
|||
|SeeAlso=[[Draft Shape2DView|Draft Shape2DView]], [[TechDraw_ArchView|TechDraw NewArch]] |
|||
}} |
|||
</div> |
</div> |
||
<span id="Description"></span> |
|||
==Beskrivning== |
==Beskrivning== |
||
Line 15: | Line 31: | ||
Objekt kan senare adderas eller tas bort från ett SectionPlane objekt med [[Arch Add/sv|Arch Add]] och [[Arch Remove/sv|Arch Remove]] verktygen. |
Objekt kan senare adderas eller tas bort från ett SectionPlane objekt med [[Arch Add/sv|Arch Add]] och [[Arch Remove/sv|Arch Remove]] verktygen. |
||
Vid skapandet, så skapar SectionPlane objekt för närvarande ett [[Drawing |
Vid skapandet, så skapar SectionPlane objekt för närvarande ett [[Drawing Workbench/sv|Ritningssida]] objekt vilken innehåller den projicerade 2D vyn av de objekt som behandlas av Section Plane. |
||
</div> |
</div> |
||
Line 21: | Line 37: | ||
Till vänster i bilden ovan placeras ett Section Plane objekt i scenen, och till höger dess SVG 2D representation. Ytsortering är för närvarande inte helt implementerad. |
Till vänster i bilden ovan placeras ett Section Plane objekt i scenen, och till höger dess SVG 2D representation. Ytsortering är för närvarande inte helt implementerad. |
||
<span id="Usage"></span> |
|||
<div class="mw-translate-fuzzy"> |
|||
====Bruk==== |
====Bruk==== |
||
</div> |
|||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
Line 32: | Line 51: | ||
==Options== |
==Options== |
||
* The Section plane object will only consider a certain set of objects, not all the objects of the document. Objects can be added or removed from a SectionPlane object by using the [[Arch Add]] and [[Arch Remove]] tools, or by double-clicking the Section Plane in the tree view, selecting objects either in the list of in the 3D scene, and pressing the '''add''' or |
* The Section plane object will only consider a certain set of objects, not all the objects of the document. Objects can be added or removed from a SectionPlane object by using the [[Arch_Add|Arch Add]] and [[Arch_Remove|Arch Remove]] tools, or by double-clicking the Section Plane in the tree view, selecting objects either in the list of in the 3D scene, and pressing the '''add''' or '''remove''' buttons. |
||
* With a section plane object selected, use the [[Draft Shape2DView]] tool to create a shape object representing the section view in the document |
* With a section plane object selected, use the [[Draft_Shape2DView|Draft Shape2DView]] tool to create a shape object representing the section view in the document. |
||
[[Image:Arch Section example2.jpg|600px]] |
[[Image:Arch Section example2.jpg|600px]] |
||
* Create [[TechDraw_ArchView|TechDraw ArchView]]. |
|||
* Create [[Draft_Drawing|Drawing DraftViews]] if you are working with the [[Drawing Module|Drawing Workbench]], or [[TechDraw NewArch|TechDraw ArchView]] if you are using the [[TechDraw Module|TechDraw Workbench]]. |
|||
[[Image:Arch Section example3.jpg|600px]] |
[[Image:Arch Section example3.jpg|600px]] |
||
Line 52: | Line 71: | ||
* {{PropertyView|Display Height}}: The height of the section plane gizmo in the 3D view. Doesn't affect the resulting view |
* {{PropertyView|Display Height}}: The height of the section plane gizmo in the 3D view. Doesn't affect the resulting view |
||
* {{PropertyView|Arrow Size}}: The size of the arrows of the section plane gizmo in the 3D view. Doesn't affect the resulting view |
* {{PropertyView|Arrow Size}}: The size of the arrows of the section plane gizmo in the 3D view. Doesn't affect the resulting view |
||
* {{PropertyView|Cut View}}: If this is |
* {{PropertyView|Cut View}}: If this is {{TRUE}}, the whole 3D view will be cut at the location of this section plane. |
||
* {{PropertyView|Clip view}}: if this is {{TRUE}}, it will clip the view to the display height and length of the section plane. This effectively turns the section plane into an orthographic camera, limiting the field of view. |
|||
[[Image:Arch_SectionPlane_ClipView.png|600px]] |
|||
{{Caption|The Arch SectionPlane with the clip view option will behave like a camera, limiting the field of view.}} |
|||
==Tweaks== |
|||
* Adding manually a property named '''RotateSolidRender''' of type '''App::PropertyAngle''' to the section plane's '''View''' properties (right-click the properties view -> show all, right-click again -> add property) allows to rotate the render when using Solid mode. This is useful when a rendered view has for example both Arch and Draft elements, and the rendering of the Arch elements is rotated in relation to the Draft elements. |
|||
==Scripting== |
==Scripting== |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{Code|code= |
{{Code|code= |
||
Section = makeSectionPlane(objectslist=None, name="Section") |
Section = makeSectionPlane(objectslist=None, name="Section") |
||
Line 65: | Line 95: | ||
Example: |
Example: |
||
{{Code|code= |
{{Code|code= |
||
import FreeCAD, Draft, Arch |
import FreeCAD, Draft, Arch |
||
Line 90: | Line 121: | ||
FreeCAD.ActiveDocument.recompute() |
FreeCAD.ActiveDocument.recompute() |
||
}} |
}} |
||
<div class="mw-translate-fuzzy"> |
<div class="mw-translate-fuzzy"> |
||
[[Category:Arch/sv]] |
[[Category:Arch/sv]] |
||
</div> |
</div> |
||
{{Arch Tools navi}} |
{{Arch Tools navi{{#translation:}}}} |
||
⚫ | |||
⚫ |
Latest revision as of 15:34, 20 May 2023
Arch SectionPlane |
Menyplacering |
---|
Arch → Section Plane |
Arbetsbänkar |
Arch |
Standard genväg |
S P |
Introducerad i version |
- |
Se även |
Draft Shape2DView, TechDraw NewArch |
Beskrivning
Detta verktyg placerar en sektionplansvisare i nuvarande dokument, vilken definierar ett tvärsnitt eller vy-plan. visaren kan omplaceras och omorienteras genom att flytta och rotera den, tills den visar den 2D vy som du vill erhålla. Om verktyget används utan att några objekt är markerade, så kommer alla objekt från scenen att inkluderas i 2D vyn. Om några objekt är markerade, så kommer 2D vyn endast att visa dessa objekt.
Objekt kan senare adderas eller tas bort från ett SectionPlane objekt med Arch Add och Arch Remove verktygen.
Vid skapandet, så skapar SectionPlane objekt för närvarande ett Ritningssida objekt vilken innehåller den projicerade 2D vyn av de objekt som behandlas av Section Plane.
Till vänster i bilden ovan placeras ett Section Plane objekt i scenen, och till höger dess SVG 2D representation. Ytsortering är för närvarande inte helt implementerad.
Bruk
Options
- The Section plane object will only consider a certain set of objects, not all the objects of the document. Objects can be added or removed from a SectionPlane object by using the Arch Add and Arch Remove tools, or by double-clicking the Section Plane in the tree view, selecting objects either in the list of in the 3D scene, and pressing the add or remove buttons.
- With a section plane object selected, use the Draft Shape2DView tool to create a shape object representing the section view in the document.
- Create TechDraw ArchView.
- The Section Plane can also be used to show the entire 3D view cut by an infinite plane. This is only visual, and won't affect the geometry of the objects being cut.
Properties
- DataOnly Solids: If this is True, non-solid objects in the set will be disregarded
- VyDisplay Length: The length of the section plane gizmo in the 3D view. Doesn't affect the resulting view
- VyDisplay Height: The height of the section plane gizmo in the 3D view. Doesn't affect the resulting view
- VyArrow Size: The size of the arrows of the section plane gizmo in the 3D view. Doesn't affect the resulting view
- VyCut View: If this is
true
, the whole 3D view will be cut at the location of this section plane. - VyClip view: if this is
true
, it will clip the view to the display height and length of the section plane. This effectively turns the section plane into an orthographic camera, limiting the field of view.
The Arch SectionPlane with the clip view option will behave like a camera, limiting the field of view.
Tweaks
- Adding manually a property named RotateSolidRender of type App::PropertyAngle to the section plane's View properties (right-click the properties view -> show all, right-click again -> add property) allows to rotate the render when using Solid mode. This is useful when a rendered view has for example both Arch and Draft elements, and the rendering of the Arch elements is rotated in relation to the Draft elements.
Scripting
See also: Arch API and FreeCAD Scripting Basics.
The SectionPlane tool can be used in macros and from the Python console by using the following function:
Section = makeSectionPlane(objectslist=None, name="Section")
- Creates a
Section
object fromobjectslist
, which is a list of objects.
Example:
import FreeCAD, Draft, Arch
p1 = FreeCAD.Vector(0, 0, 0)
p2 = FreeCAD.Vector(2000, 0, 0)
baseline = Draft.makeLine(p1, p2)
baseline2 = Draft.makeLine(p1, -1*p2)
Wall1 = Arch.makeWall(baseline, length=None, width=150, height=2000)
Wall2 = Arch.makeWall(baseline2, length=None, width=150, height=1800)
Structure = Arch.makeStructure(length=1000, width=1000, height=200)
FreeCAD.ActiveDocument.recompute()
BuildingPart = Arch.makeBuildingPart([Wall1, Wall2])
Floor = Arch.makeFloor([BuildingPart])
Building = Arch.makeBuilding([Floor, Structure])
Site = Arch.makeSite(Building)
FreeCAD.ActiveDocument.recompute()
Section1 = Arch.makeSectionPlane([Wall1, Wall2])
Section2 = Arch.makeSectionPlane([Structure])
Section3 = Arch.makeSectionPlane([Site])
FreeCAD.ActiveDocument.recompute()
- 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
- 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