Draft AutoGruppieren
Draft AutoGruppieren |
Menüeintrag |
---|
Keiner |
Arbeitsbereich |
Draft, Arch |
Standardtastenkürzel |
Keiner |
Eingeführt in Version |
0.17 |
Siehe auch |
Draft Layer, Std Gruppe |
Beschreibung
Der Befehl Draft AutoGruppieren ändert den aktiven Draft-Layer oder wahlweise die aktive Std Gruppe bzw. gruppenartige Arch-Objekte. Neue Draft- und Arch-Objekte werden automatisch auf diesem Layer bzw. in dieser Gruppe eingefügt.
Dieser Befehl war ursprünglich für Gruppen gedacht, daher sein Name, wurde aber in FreeCAD-Version 0.19 überarbeitet als ein Layer-System eingeführt wurde. Da der Umgang mit Layern jetzt die Standardaufgabe des Befehls ist, liegt der Fokus dieser Seite im folgenden haupfsächlich auf Layern.
Das Layer-Menü im Draft-Tray
Anwendung
- Optionally select the layer you want to make active in the Tree view.
- There are several ways to invoke the command:
- Press the button in the Draft Tray. This button can look different. If there is an active layer it will show the name of the layer and a layer icon with the AnsichtLine Color and AnsichtShape Color of the layer.
- If you have selected a layer: select the Activate this layer option from the Tree view context menu.
- If you have not yet selected a layer the layer menu opens. Do one of the following:
- Select None to work without an active layer.
- Select an existing layer to make active.
- Select Add new Layer to create a new layer. Selecting this option will not change the active layer.
- If the active layer was changed the button in the Draft Tray is updated.
Notes
- A new layer can also be created by right-clicking the layer container in the Tree view and selecting the Add new layer option from the context menu.
- If Draft construction mode is switched on the active layer is ignored.
Einstellungen
See also: Preferences Editor and Draft Preferences.
- This command can optionally also handle groups: Edit → Preferences... → Draft → General → Include groups in layer list.
Skripten
Siehe auch: Autogenerierte API-Dokumentation und FreeCAD Grundlagen Skripten.
If the Draft Workbench is active the FreeCADGui application object has a draftToolBar
property. This draftToolBar
object has an autogroup
property, which contains the name of the active autogroup, or is None
if no autogroup is active. To change the active autogroup use the setAutoGroup
method of the draftToolBar
object. To put objects in the active autogroup use the autogroup
method of the Draft module.
# This code only works if the Draft Workbench is active!
import FreeCAD as App
import FreeCADGui as Gui
import Draft
doc = App.newDocument()
polygon1 = Draft.make_polygon(5, radius=1000)
polygon2 = Draft.make_polygon(3, radius=500)
polygon3 = Draft.make_polygon(6, radius=220)
layer = Draft.make_layer()
Gui.draftToolBar.setAutoGroup(layer.Name)
Draft.autogroup(polygon1)
Draft.autogroup(polygon2)
Draft.autogroup(polygon3)
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
- Erste Schritte
- Installation: Herunterladen, Windows, Linux, Mac, Zusätzlicher Komponenten, Docker, AppImage, Ubuntu Snap
- Grundlagen: Über FreeCAD, Graphische Oberfläche, Mausbedienung, Auswahlmethoden, Objektname, Programmeinstellungen, Arbeitsbereiche, Dokumentstruktur, Objekteigenschaften, Hilf FreeCAD, Spende
- Hilfe: Tutorien, Video Tutorien
- Arbeitsbereiche: Std Base, Arch, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web