Planul de Lucru
poziția meniului |
---|
Draft → Utilities → Select Plane |
Workbenches |
Draft, Arch |
scurtătură |
W P |
Prezentat în versiune |
- |
A se vedea, de asemenea, |
Draft SetWorkingPlaneProxy |
Description
Descriere
Modulul Draft dispune de un sistem de plan de lucru, care vă permite să specificați un plan personalizat în spațiul 3D pe care va apărea următoarea comandă Draft. Există mai multe metode pentru a defini planul de lucru:
- De pe o fațetă selectată
- De la 3 noduri selectate
- Din vizualizarea curentă
- De la o presetare: de sus, frontal sau lateral
- Nici unul, caz în care planul de lucru este adaptat automat la vizualizarea curentă atunci când porniți o comandă sau la o față dacă începeți să desenați pe o față existentă.
Different working planes can be set on which to draw shapes
Cum se folosește
- Apăsați butonul
SelectPlane. Dacă butonul nu arată așa, vedeți-l pe acesta note.
The SelectPlane button is present in the Draft Tray toolbar, which only appears in the Draft and Arch workbenches.
Without element selected
- Press the
SelectPlane button, or use Draft → Utilities →
SelectPlane from the top menu, or the keyboard shortcut W then P
- Select the offset, the grid spacing, and the main lines
- Select one of the presets:
XY (top),
XZ (front),
YZ (side),
View, or
Auto.
Once the plane is set, the button will change to indicate the active plane Top,
Front,
Side,
Auto,
d(0.0,-1.0,0.0).
You can show and hide the grid with the shortcut G R.
With element selected
- Select a face of an existing object in the 3D view, or hold Ctrl and select three vertices of any object. introduced in version 0.17
- Press the
SelectPlane button, or right click and select Utilities →
SelectPlane.
The plane will be created aligned to the face of the object, or to the plane defined by the three vertices.
Options
Opțiuni
- Pentru a seta planul de lucru la geometria existentă: selectați o fațetă a unui obiect existent în vizualizarea 3D sau introduced in version 0.17, cu CTRL apăsat, 3 vârfuri pe orice obiect. Apoi apăsați tasta
SelectPlane
- Apăsarea butonului VIEW va stabili planul de lucru drept planul de vizualizare, perpendicular pe axa camerei și trecând prin punctul de origine (0,0,0).
- Apăsarea butonului AUTO va decupla orice plan de lucru curent. Următoarele operații 2D vor fi dependente de vizualizare.
- De asemenea, puteți specifica o valoare de offset, care vă va stabili planul de lucru la o anumită distanță de planul pe care îl selectați.
- Puteți să ascundeți și să arătați grila cu comanda rapidă G R
Script
Obiectul plan de lucru poate fi ușor creat și manipulat în scripturi și în macros. Puteți crea propriele dvs. planuri de lucru și le puteți folosi independent de planul curent de lucru curent.
Working plane objects can easily be created and manipulated in macros and from the Python console.
De asemenea, puteți accesa planul curent de lucru al Draft-ului actual:
import FreeCAD as App
import FreeCADGui as Gui
workplane = App.DraftWorkingPlane
v1 = App.Vector(0, 0, 0)
v2 = App.Vector(1, 1, 1).normalize()
workplane.alignToPointAndAxis(v1, v2, 17)
Gui.Snapper.toggleGrid()
Gui.Snapper.toggleGrid()
A Draft command must be issued after changing the working plane to update the visible grid, for example, Line, or just ToggleGrid.
Exempluː
import WorkingPlane
my_plane = WorkingPlane.plane()
v1 = App.Vector(0, 0, 0)
v2 = App.Vector(1, 1, 1).normalize()
my_plane.alignToPointAndAxis(v1, v2, 17)
projection = my_plane.projectPoint(App.Vector(10, 15, 2))
print(projection)
To display a new grid use a new tracker object. First set up the normal working plane as you need, then create a new tracker object, then set it to the current plane, and then you can turn it on or off.
import FreeCAD as App
import DraftTrackers
App.DraftWorkingPlane.alignToPointAndAxis(App.Vector(0, 0, 0),
App.Vector(1, 0, 0),
0)
my_grid = DraftTrackers.gridTracker()
my_grid.set()
my_grid.on()
my_grid.off()
This grid is merely a visual aid and doesn't allow snapping.
To have the possibility of switching quickly to different grids, in different positions, you should create a Working plane proxy.
- Basics: Coordinates, Constraining, Snapping (Near, Extension, Parallel, Grid, Endpoint, Midpoint, Perpendicular, Angle, Center, Ortho, Intersection, Special, Dimensions, Working plane)
- Drawing: Line, Wire, Circle, Arc, Ellipse, Polygon, Rectangle, Text, Dimension, BSpline, Point, ShapeString, Facebinder, Bezier Curve, Label
- Modifying: Move, Rotate, Offset, Trimex, Upgrade, Downgrade, Scale, Edit, Wire to BSpline, Add point, Delete point, Shape 2D View, Draft to Sketch, Array, Path Array, Point Array, Clone, Drawing, Mirror, Stretch
- Utilities: Set working plane, Finish line, Close line, Undo line, Toggle construction mode, Toggle continue mode, Apply style, Toggle display mode, Add to group, Select group contents, Toggle snap, Toggle grid, Show snap bar, Heal, Flip Dimension, VisGroup, Slope, AutoGroup, Set Working Plane Proxy, Add to Construction group
- Additional: Preferences, Import-Export Preferences (DXF/DWG, SVG, OCA, DAT); Draft API

- 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