Kreslení VýběrRoviny
Umístění Menu |
---|
Kreslení -> Utility -> Výběr roviny |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Nikdo |
Description
Popis
Modul kreslení má pracovní rovinu, která umožňuje specifikovat uživatelskou rovinu ve 3D, na které se bude realizovat následujíci kreslicí příkaz. Pro definování pracovní roviny existuje několik metod:
- Z vybrané plochy
- Z aktuálního pohledu
- Z předvolby: horní, přední nebo boční
- Žádná, v tomto případě je pracovní rovina automaticky adaptována podle aktuálního pohledu, kde spouštíte příkaz nebo na ploše, pokud začínáte kreslení na existující ploše.
Different working planes can be set on which to draw shapes
Použití
- Stiskněte tlačítko
VýběrRoviny. Pokud tlačítko nevypadá takto, podívejte se na tuto poznámku.
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
Volby
- Pro nastavení pracovní roviny na existující plochu: vyberte existující objekt ve 3D pohledu a potom stiskněte tlačítko
VýběrRoviny
- Stisknutí tlačítka POHLED nastaví pracovní rovinu jako je rovina pohledu, kolmo k osám kamery a procházející počátkem (0,0,0).
- Stisknutí tlačítka ŽÁDNÁ zruší nastavení aktuální pracovní roviny. Následující 2D operace budou závislé na pohledu.
- Múžete také specifikovat hodnotu odsunutí, což odsune pracovní rovinu o zadanou vzdálenost od vybrané roviny.
Skriptování
Objekt pracovní roviny může být snadno vyvořen a manipulován ve skriptech a makrech. Můžete vytvářet vlastní a používat je nezávisle na aktuální pracovní ploše Kreslení.
Working plane objects can easily be created and manipulated in macros and from the Python console.
Můžete také přistupovat na aktuální pracovní rovinu Kreslení:
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.
Příklad:
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