Draft Shape2DView
Draft Shape2DView |
poziția meniului |
---|
Draft -> Shape 2D View |
Ateliere |
Draft, Arch |
scurtătură |
nici unul |
Prezentat în versiune |
- |
A se vedea, de asemenea, |
nici unul |
Descriere
Acest instrument plasează în document un obiect 2D care este o vedere aplatizată a unui obiect selectat Shape, proiectat în direcția curentă de vizualizare.
Draft Shape2DView projections can be displayed on a TechDraw Workbench page using the TechDraw DraftView command. Alternatively the TechDraw Workbench offer its own projection commands. But these create projections that are only displayed on the drawing page and not in the 3D view.
Projection of solid shapes onto the XY plane
Cum se folosește
- Selectați obiectul din care doriți să extrageți o vizualizare 2D
- Rotiți vizualizarea (sau utilizați comenzile rapide de presetare a vizualizării), astfel încât să reflecte direcția în care doriți să proiectați obiectul. De exemplu, folosirea unei vederi de sus va proiecta obiectul pe planul XY, pe verticală de-a lungul axei Z ca în imaginea de mai sus.
- Apăsați butonul Draft Shape2DView
How to produce plans and sections with different linewidths
Drawings with different linewidths for viewed and cut lines can easily be produced by using two shape2Dview objects from a same Arch SectionPlane. One of the shape2Dview objects has its projection mode set to Solid, which renders the viewed lines, and another set to Cut lines or Cut faces to render the cut lines. The two shape2Dviews are then placed at the same location, one on top of the other.
Proprietăți
See also: Property editor.
A Draft Shape2DView object is derived from a Part Part2DObject and inherits all its properties. It also has the following additional properties:
Data
Draft
- Date Proiectare: direcția proiecției.
- Date Mod de proiecție: Modul de proiecție: fețe solide, individuale sau tăieturi.
- Date In Place: Dacă este adevărat, atunci când se utilizează Cutlines sau Cutfaces mode (doar Arch SectionPlane), rezultatul va apărea la locația planului tăiat în loc de planul de masă introduced in version 0.17
- Date HiddenLines: Afișează linii ascunse sau nu
- Date Tessellation: Tessellate Ellipses și BSplines în segmente de linie
- Date Lungimea segmentului: mărimea segmentelor dacă Tessellation este activată
- Date Numai vizibil: Dacă este adevărat, această vizualizare va fi recuperată numai dacă este vizibilă
View
Draft
- VizualizarePattern (
Enumeration
): not used. - VizualizarePattern Size (
Float
): not used.
Scripting
Scrip-Programare
InstrumentulDraft Shape2DView poate fi utilizat în macros și de la consola Python folosind următoarele funcții:
shape2dview = make_shape2dview(baseobj, projectionVector=None, facenumbers=[])
- Adăugă o formă 2D la document, care este o proiecție 2D a obiectului dat.
- De asemenea, poate fi dat un vector specific de proiecție.
- Returnează obiectul generat.
- Puteți să furnizați, de asemenea, o listă cu numerele de față care trebuie luate în considerare.
Change the ProjectionMode
property of the created object if required. It can be: "Solid"
, "Individual Faces"
, "Cutlines"
, "Cutfaces"
or "Solid faces"
.
Exempluː
import FreeCAD as App
import Draft
doc = App.newDocument()
box = doc.addObject("Part::Box", "Box")
box.Length = 2300
box.Width = 500
box.Height = 1000
shape1 = Draft.make_shape2dview(box)
shape2 = Draft.make_shape2dview(box, App.Vector(1, -1, 1))
shape3 = Draft.make_shape2dview(box, App.Vector(-1, 1, 1), [0, 5])
shape3.ProjectionMode = "Individual Faces"
doc.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, Arch, 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