Kreslení TělesoDo2D
Kreslení TělesoDo2DPohledu |
Umístění Menu |
---|
Kreslení -> TělesoDo2D |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Nikdo |
Popis
Tento nástroj umístí do dokumentu 2D objekt, který vznikne zploštěním pohledu vybraného tvaru založeného na objektu díl.
The resulting projection is a Draft object and is placed in the 3D view. This object can be displayed on a TechDraw Workbench Page, using the TechDraw NewDraft tool. Alternatively, TechDraw has its own tools to create projected views, the TechDraw NewView and TechDraw NewProjGroup tools; however, these tools are meant for preparing technical drawings, so they create the views only in the drawing page, and not in the 3D view.
Projection of solid shapes into the XY plane
Použití
- Vyberte objekt, ze kterého chcete extrahovat 2D pohled
- Stiskněte tlačítko Kreslení TělesoDo2D
The projected object will be created below the selected object, lying on the XY plane. It's position can be changed by changing its properties. The projection direction can also be changed after creation with the property editor.
If the selected object is an Arch SectionPlane, the projection will use the contents and direction of that Section plane; in this case, the "Projection" property will be ignored.
Volby
- Je-li vybraný objekt v Architektura Řez, bude ve 2D projekci obsah řezu, a projekční vektor bude převzat z řezu místo z vlastnosti Projekce (dále).
- Normální operační mód je Těleso, který promítá celý tvar, ale pokud při vytváření 2D pohledu vyberete některou plochu ze základního objektu, můžete také nastavit mód Individuální plochy, což zajistí, že budou promítnuty pouze vybrané povrchy.
- Je-li vybraný objekt v Architektura Řez, je k dispozici i projekční mód řezné čáry, který promítá pouze hrany řezu.
Vlastnosti
- ÚdajeProjection: Směr projekce.
- ÚdajeProjection Mode: Projekční mód: těleso, individuální plochy nebo řezné čáry.
Skriptování
Nástroj TělesoDo2D může být použit v makrech a z konzoly Pythonu použitím následující funkce:
Shape2DView = makeShape2DView(baseobj, projectionVector=None, facenumbers=[])
- Přidá 2D tvar do dokumentu, tvar je 2D projekce zadaného objektu.
- Může být specifikován projekční vektor.
- Vrací vygenerovaný objekt.
- Může být zadán seznam čísel ploch, které mají být použity.
The ProjectionMode
attribute needs to be overwritten with the desired mode, which can be "Solid"
, "Individual Faces"
, "Cutlines"
, or "Cutfaces"
.
Příklad:
import FreeCAD, Draft
Box = FreeCAD.ActiveDocument.addObject("Part::Box", "Box")
Box.Length = 2300
Box.Width = 800
Box.Height = 1000
Shape1 = Draft.makeShape2DView(Box)
Shape2 = Draft.makeShape2DView(Box, FreeCAD.Vector(1, -1, 1))
Shape3 = Draft.makeShape2DView(Box, FreeCAD.Vector(-1, 1, 1), [4,5])
Shape3.ProjectionMode = "Individual Faces"
FreeCAD.ActiveDocument.recompute()
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
- 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