Borrador PlanoTrabajoProxy
Borrador PlanoTrabajoProxy |
Ubicación en el Menú |
---|
Borrador → Utilidades → Crear proxy del plano trabajo |
Entornos de trabajo |
Borrador, Arquitectura |
Atajo de teclado por defecto |
Ninguno |
Introducido en versión |
- |
Ver también |
Borrador SeleccionarPlano |
Descripción
Este comando colocará un objeto Proxy de Plano alineado con el actual Plano trabajo.
Tres proxies de planos de trabajo que muestran diferentes orientaciones y rellenos
Utilización
- Asegúrate de que el Plano trabajo está configurado como quieres.
- A continuación, vaya al menú Borrador → Utilidades → Crear proxy de plano trabajo.
For a Draft WorkingPlaneProxy these additional options are available in the Tree view context menu:
- Write camera position: updates the VistaView Data property of the working plane proxy with the current 3D view camera settings.
- Write objects state: updates the VistaVisibility Map property of the working plane proxy with the current visibility state of objects in the document.
Notes
Notas
- El plano de trabajo almacenado en el objeto Proxy puede restaurarse haciendo doble clic en el objeto en la vista de árbol, o seleccionando el objeto Proxy y utilizando el Borrador SeleccionarPlano..
- La posición de la cámara se almacena en el objeto Proxy en el momento de su creación. Esta posición puede actualizarse en cualquier momento: haz zoom, panorámica y rotación de la vista como desees, luego haz clic con el botón derecho en el objeto Proxy en la vista de árbol y selecciona . Escribir posición de la cámara.
- El estado de visibilidad de todos los objetos también se almacena en el objeto Proxy en el momento de su creación. Este estado puede actualizarse en cualquier momento: establezca la propiedad VistaVisibility de los objetos a
true
ofalse
según desee, luego haga clic con el botón derecho en el objeto Proxy en la vista de árbol, y seleccione Escribir estado de los objetos. - Los proxies de plano pueden moverse y girarse como cualquier otro objeto para que definan el plano de trabajo deseado. Su apariencia visual también se puede cambiar en el Editor de propiedades.
Propiedades
See also: Property editor.
A Draft WorkingPlaneProxy object is derived from an App FeaturePython object and inherits all its properties. It also has the following additional properties:
Data
Base
- DatosPlacement (
Placement
): specifies the position of the working plane proxy in the 3D view. See Placement. - Datos (Hidden)Shape (
Shape
): specifies the shape of the working plane proxy.
View
Base
- VistaLine Color (
Color
): specifies the color of all elements of the working plane proxy. - VistaLine Width (
Float
): specifies the line width of the axes and arrow symbols. - VistaRestore State (
Bool
): specifies if the VistaVisibility Map is restored when the working plane is aligned with the working plane proxy. - VistaRestore View (
Bool
): specifies if the VistaView Data is restored when the working plane is aligned with the working plane proxy. - VistaTransparency (
Percent
): specifies the transparency of the face of the working plane proxy. - VistaView Data (
FloatList
): specifies the camera position and settings. - Vista (Hidden)Visibility Map (
Map
): specifies the visibility state of objects.
Draft
- VistaArrow Size (
Length
): specifies the size of the arrow symbols displayed at the tip of the three axes. - VistaDisplay Size (
Length
): specifies the length and width of the working plane proxy.
Guión
Ver también: Borrador API y FreeCAD Fundamentos de Guión.
Los objetos proxy del plano de trabajo se pueden utilizar en macros y desde la consola de Python utilizando la siguiente función:
If the Draft Workbench is active the FreeCAD application object has a DraftWorkingPlane
property which stores the current working plane. The Placement
from the getPlacement
method of the DraftWorkingPlane
object can be used to create an aligned working plane proxy. The Placement
of a working plane proxy in turn can be used to realign the working plane.
# This code only works if the Draft Workbench is active!
import FreeCAD as App
import FreeCADGui as Gui
import Draft
doc = App.newDocument()
workplane = App.DraftWorkingPlane
place = workplane.getPlacement()
proxy = Draft.make_workingplaneproxy(place)
proxy.ViewObject.DisplaySize = 3000
proxy.ViewObject.ArrowSize = 200
axis2 = App.Vector(1, 1, 1)
point2 = App.Vector(3000, 0, 0)
place2 = App.Placement(point2, App.Rotation(axis2, 90))
proxy2 = Draft.make_workingplaneproxy(place2)
proxy2.ViewObject.DisplaySize = 3000
proxy2.ViewObject.ArrowSize = 200
workplane.setFromPlacement(proxy2.Placement, rebase=True)
Gui.Snapper.setGrid()
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, Assembly, 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