Rysunek Roboczy: Łuk

From FreeCAD Documentation
Revision as of 16:25, 12 August 2021 by Kaktus (talk | contribs)

Rysunek Roboczy: Łuk

Lokalizacja w menu
Kreślenie → Narzędzia łuku → Łuk
Środowisko pracy
Rysunek Roboczy, Architektura
Domyślny skrót
A R
Wprowadzono w wersji
0.7
Zobacz także
Okrąg, Łuk przez trzy punkty

Opis

Polecenie Tworzy różne rodzaje łuków utworzy łuk kołowy w bieżącej płaszczyźnie roboczej ze środka, promienia, kąta początkowego i kąta wierzchołkowego. Promień i kąty mogą być zdefiniowane przez wybranie punktów.

Łuk jest w rzeczywistości obiektem typu okrąg z DANEkątem pierwszym, który nie jest taki sam jak jego DANEkąt drugi.

Łuk zdefiniowany za pomocą czterech punktów, środka, promienia, punkty początku i końca łuku.

Użycie

Zobacz również Tacka narzędziowa, Przyciąganie oraz Wiązania.

  1. Istnieje kilka sposobów na wywołanie polecenia:
  2. Otworzy się panel zadań Łuk. Zobacz rozdział Opcje, aby uzyskać więcej informacji.
  3. Wybierz pierwszy punkt - środek łuku, w oknie widoku 3D, lub wpisz współrzędne i naciśnij przycisk Wprowadź punkt.
  4. Wybierz drugi punkt w oknie widoku 3D, lub wpisz wartość Promienia.
  5. Wybierz trzeci punkt w oknie widoku 3D, lub wpisz wartość Kąta rozpoczęcia.
  6. Wybierz czwarty punkt w oknie widoku 3D lub wpisz wartość Kąta otwarcia.

Opcje

The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.

  • To manually enter the coordinates for the center enter the X, Y and Z component, and press Enter after each. Or you can press the Enter point button when you have the desired values. It is advisable to move the pointer out of the 3D view before entering coordinates.
  • The Relative checkbox has no purpose for this command.
  • Press G or click the Global checkbox to toggle global mode. If global mode is on, coordinates are relative to the global coordinate system, else they are relative to the working plane coordinate system. introduced in version 0.20
  • Press T or click the Continue checkbox to toggle continue mode. If continue mode is on, the command will restart after finishing, allowing you to continue creating arcs.
  • Press S to switch Draft snapping on or off.
  • Press Esc or the Close button to abort the command.

Uwagi

  • Szkic łuku można edytować za pomocą polecenia Edycja.

Ustawienia

Zobacz także strony: Edytor ustawień oraz Rysunek Roboczy: Preferencje.

  • To change the number of decimals used for the input of coordinates, radii and angles: Edit → Preferences... → General → Units → Units settings → Number of decimals.
  • If the Edit → Preferences... → Draft → General settings → Draft tools options → Use Part Primitives when available option is checked, the command will create a Part Circle instead of a Draft Circle.

Właściwości

Zobacz stronę Rysunek Roboczy: Okrąg.

Tworzenie skryptów

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

To create a Draft Arc use the make_circle method (introduced in version 0.19) of the Draft module. This method replaces the deprecated makeCircle method.

Przykład:

import FreeCAD as App
import Draft

doc = App.newDocument()

arc1 = Draft.make_circle(200, startangle=0, endangle=90)
arc2 = Draft.make_circle(500, startangle=20, endangle=160)
arc3 = Draft.make_circle(750, startangle=-30, endangle=-150)

doc.recompute()