Część: Okrąg
Part Okrąg |
Lokalizacja w menu |
---|
Część → Utwórz geometrie pierwotne → Okrąg |
Środowisko pracy |
Część, OpenSCAD |
Domyślny skrót |
brak |
Wprowadzono w wersji |
- |
Zobacz także |
Utwórz geometrię pierwotną |
Description
A Part Circle is a parametric shape that can be created with the Part Primitives command. In the coordinate system defined by its DANEPlacement property, the circle lies on the XY plane with its center at the origin.
A Part Circle is in fact a closed counterclockwise circular arc, it can be turned into an arc by changing its DANEAngle1 and/or DANEAngle2 properties.
Usage
See Part Primitives.
A Part Circle can alternatively be created by selecting three points:
- In the task panel of the Part Primitives command select the Circle option from the dropdown list.
- Press the From three points button.
- Select three vertices in the 3D view. There is no need to hold down the Ctrl key.
- A circle is created.
- The selected vertices are only used at creation time to calculate the DANERadius and DANEPlacement of the circle.
Example
A Part Circle object created with the scripting example below is shown here.
Properties
See also: Property editor.
A Part Circle object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties:
Data
Attachment
The object has the same attachment properties as a Part Part2DObject.
Base
- DANERadius (
Length
): The radius of the circle or circular arc. The default is2mm
. - DANEAngle1 (
Angle
): The start angle of the circular arc. Valid range:0° < value <= 360°
. The default is0°
. - DANEAngle2 (
Angle
): The end angle of the circular arc. Valid range:0° < value <= 360°
. The default is360°
. If DANEAngle1 and DANEAngle2 are equal, or if one angle is0°
and the other360°
, a full circle is created.
Scripting
See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.
A Part Circle can be created with the addObject()
method of the document:
circle = FreeCAD.ActiveDocument.addObject("Part::Circle", "myCircle")
- Where
"myCircle"
is the name for the object. - The function returns the newly created object.
Example:
import FreeCAD as App
doc = App.activeDocument()
circle = doc.addObject("Part::Circle", "myCircle")
circle.Radius = 10
circle.Angle1 = 45
circle.Angle2 = 225
circle.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(30, 45, 10))
doc.recompute()
- Bryły pierwotne: Prostopadłościan, Walec, Sfera, Stożek, Torus, Rura, Bryły pierwotne, Konstruktor kształtu
- Tworzenie i modyfikacja: Wyciągnij, Wyciągnij przez obrót, Odbicie lustrzane, Zaokrąglenie, Fazka, Utwórz ścianę z linii łamanych, Powierzchnia prostokreślna, Wyciągnięcie przez profile, Wyciągnięcie po ścieżce, Przecięcie, Przekrój poprzeczny, Odsunięcie 3D, Odsunięcie 2D, Grubość, Rzutowanie na powierzchnię, Mocowanie
- Funkcje logiczne: Utwórz złożenie, Rozbij złożenie, Filtr złożeń, Funkcje logiczne, Wytnij, Połączenie, Część wspólna, Przyłącz, Dołącz do osadzenia, Wycięcie połączenia, Funkcja logiczna rozdzielająca, Pokrój część, Krojenie, XOR
- Wymiarowanie: Wymiarowanie liniowe, Wymiarowanie kątowe, Odśwież wymiary, Usuń wymiary, Przełącz widoczność wymiaru, Przełącz widoczność wymiarów przestrzennych, Przełącz widoczność wymiarów przyrostowych
- 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