Draft AutoGroup/pl: Difference between revisions
(Created page with "Rysunek Roboczy: Grupowanie automatyczne") |
(Updating to match new version of source page) |
||
Line 2: | Line 2: | ||
{{Docnav |
{{Docnav |
||
|[[Draft_Slope|Slope]] |
|[[Draft_Slope|Slope]] |
||
|[[ |
|[[Draft_WorkingPlaneProxy|Set Working Plane Proxy]] |
||
|[[Draft_Module|Draft]] |
|[[Draft_Module|Draft]] |
||
|IconL=Draft_Slope.svg |
|IconL=Draft_Slope.svg |
||
|IconR= |
|IconR=Draft_WorkingPlaneProxy.svg |
||
|IconC=Workbench_Draft.svg |
|IconC=Workbench_Draft.svg |
||
}} |
}} |
||
Line 71: | Line 71: | ||
{{Docnav |
{{Docnav |
||
|[[Draft_Slope|Slope]] |
|[[Draft_Slope|Slope]] |
||
|[[ |
|[[Draft_WorkingPlaneProxy|Set Working Plane Proxy]] |
||
|[[Draft_Module|Draft]] |
|[[Draft_Module|Draft]] |
||
|IconL=Draft_Slope.svg |
|IconL=Draft_Slope.svg |
||
|IconR= |
|IconR=Draft_WorkingPlaneProxy.svg |
||
|IconC=Workbench_Draft.svg |
|IconC=Workbench_Draft.svg |
||
}} |
}} |
Revision as of 10:18, 2 July 2021
Draft AutoGroup |
Menu location |
---|
Draft → Utilities → AutoGroup |
Workbenches |
Draft, Arch |
Default shortcut |
None |
Introduced in version |
0.17 |
See also |
Std Group, Draft VisGroup |
Description
The AutoGroup tool sets a selected Std Group, or a related element like a Draft VisGroup, Arch Site, Arch Building or Arch BuildingPart, as the active auto-group. When an auto-group is set, new objects will be automatically moved to the indicated group upon being created.
Auto-grouping works with elements created with the Draft and Arch Workbenches.
File:Draft AutoGroup example.png
Draft Tray which sets the active auto-group by clicking on the folder icon and choosing a group
Usage
- Select a Std Group, Construction group, or Draft VisGroup in the tree view.
- Press the None button, or go to the menu Draft → Utilities → AutoGroup. If no group is selected, a drop-down menu will display eligible groups to use, or "None".
- The button will change with the name of the active auto-group, for example, Group.
Notes:
- The AutoGroup button is present in the Draft Tray toolbar, which only appears in the Draft and Arch Workbenches.
- At least one of Std Group, Construction group, or Draft VisGroup must exist before using this tool.
- To change the auto-group, select another group in the tree view and click Group. If no group is selected you have the option of choosing "None" to turn off auto-grouping.
- When auto-grouping is active, new Draft and Arch objects will be placed in that group except when Construction mode is on, in which case the new geometry will be placed in the Construction group.
- Auto-grouping only works for objects created from the graphical user interface; objects created programmatically by macros or the Python console aren't automatically placed in groups. The user always has the possibility of programmatically doing the grouping, regardless of the auto-grouping settings.
Scripting
See also: Draft API and FreeCAD Scripting Basics.
Adding objects to the active auto-group can be done in macros and from the Python console by using the following function:
autogroup(obj)
- Puts the
obj
element in the current auto-group. - If auto-grouping is disabled (the group is
None
), or if Construction mode is active, or ifobj
is already in the auto-group, the function doesn't do anything. - The function will fail if
obj
is already in another group that is different from the auto-group. - The function only does something if the graphical interface is active, as the auto-group can only be chosen from the graphical interface.
Example:
import FreeCAD, Draft
Polygon1 = Draft.makePolygon(3, 500)
Polygon2 = Draft.makePolygon(3, 1000)
Polygon3 = Draft.makePolygon(5, 1500)
FreeCAD.ActiveDocument.addObject("App::DocumentObjectGroup", "Group")
# Use the graphical interface to set "Group" for auto-grouping
Draft.autogroup(Polygon1)
Draft.autogroup(Polygon2)
Draft.autogroup(Polygon3)
Środowisko pracy Rysunek Roboczy
- Kreślenie: Linia, Polilinia, Zaokrąglenie, Łuk, Łuk przez 3 punkty, Okrąg, Elipsa, Wielokąt foremny, Krzywa złożona, Krzywa Bezier'a, Punkt, Łącznik ścian, Kształt z tekstu, Kreskowanie, Prostokąt
- Adnotacje: Adnotacja wieloliniowa, Wymiarowanie, Etykieta, Edytor stylów adnotacji, Widżet skali anotacji
- Modyfikacja: Przesuń, Obróć, Skala, Odbicie lustrzane, Odsunięcie, Przytnij, Rozciągnij, Klonuj, Szyk, Szyk biegunowy, Szyk kołowy, Szyk po ścieżce, Szyk powiązań po ścieżce, Szyk z punktów, Szyk powiązań w punktach, Edycja, Podświetl element podrzędny, Połącz, Rozdziel, Ulepsz kształt, Rozbij obiekt na elementy, Polilinia na krzywą złożoną, Rysunek Roboczy do szkicu, Nachylenie, Obróć wymiar, Widok 2D kształtu
- Tacka narzędziowa: Wybór płaszczyzny, Ustaw styl, Przełącz tryb konstrukcyjny, Grupowanie automatyczne
- Przyciąganie: Przełącz przyciąganie, Przyciągnij do punktu końcowego, Przyciągnij do punktu środkowego, Przyciągnij do środka, Przyciągnij do kąta, Przyciąganie do punktu przecięcia, Przyciągnij prostopadle, Rozszerz, Przyciągnij równolegle, Przyciągnij specjalnie, Przyciąganie do najbliższego, Przyciągnij ortogonalnie, Przyciągnij do siatki, Przyciągnij do płaszczyzny roboczej, Przyciągnij do wymiaru, Pokaż / ukryj siatkę
- Różności: Zastosuj bieżący styl, Warstwa, Zarządzaj warstwami, Dodaj grupę o nazwie, Dodaj do grupy, Wybierz grupę, Dodaj do grupy konstrukcyjnej, Przełącz tryb wyświetlania, Pośrednia płaszczyzna robocza, Ulecz, Przełącz tryb kontynuacji, Pokaż przybornik przyciągania
- Dodatkowe:: Wiązania, Wypełnienie wzorem, Preferencje, Ustawienia Importu i Eksportu, DXF/DWG, SVG, OCA, DAT
- Menu podręczne:
- Kontener warstwy: Połącz duplikaty warstw, Dodaj warstwę
- Warstwa: Aktywuj warstwę, Zaznacz zawartość warstwy
- Pośrednia płaszczyzna robocza: Zapisz ujęcie widoku, Zapisz stan obiektów
Centrum użytkownika
- Jak zacząć
- Instalacja: Pobieranie programu, Windows, Linux, Mac, Dodatkowych komponentów, Docker, AppImage, Ubuntu Snap
- Podstawy: Informacje na temat FreeCAD, Interfejs użytkownika, Profil nawigacji myszką, Metody wyboru, Nazwa obiektu, Edytor ustawień, Środowiska pracy, Struktura dokumentu, Właściwości, Pomóż w rozwoju FreeCAD, Dotacje
- Pomoc: Poradniki, Wideo poradniki
- Środowiska pracy: Strona Startowa, Architektura, Assembly, CAM, Rysunek Roboczy, MES, Inspekcja, Siatka, OpenSCAD, Część, Projekt Części, Punkty, Inżynieria Wsteczna, Robot, Szkicownik, Arkusz Kalkulacyjny, Powierzchnia 3D, Rysunek Techniczny, Test Framework