Part Ellipsoid/de: Difference between revisions

From FreeCAD Documentation
(Created page with "==Beschreibung== Ein Ellipsoid-Grundkörper ist im {{Button|Grundkörper erstellen}}-Dialog im Part-Arbeitsbereich verfügbar.")
(Created page with "Beispiel:")
 
(36 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{GuiCommand/de|Name=Part Ellipsoid|Name/de=Part Ellipsoid|MenuLocation=Formteil → [[Part_CreatePrimitives/de|Grundkörper erstellen]] → Ellipsoid|Workbenches=[[Part Module/de|Part]], [[OpenSCAD_Module/de|OpenSCAD]]|SeeAlso=...}}
{{Docnav/de
|[[Part_Plane/de|Ebene]]
|[[Part_Prism/de|Prisma]]
|[[Part_Workbench/de|Part]]
|IconL=Part_Plane.svg
|IconR=Part_Prism.svg
|IconC=Workbench_Part.svg
}}

{{GuiCommand/de
|Name=Part Ellipsoid
|Name/de=Part Ellipsoid
|MenuLocation=Formteil → [[Part_Primitives/de|Grundkörper erstellen...]] → Ellipsoid
|Workbenches=[[Part_Workbench/de|Part]], [[OpenSCAD_Workbench/de|OpenSCAD]]
|SeeAlso=[[Part_Primitives/de|Part Grundelemente]]
}}


==Beschreibung==
==Beschreibung==
Ein Ellipsoid-Grundkörper ist im {{Button|Grundkörper erstellen}}-Dialog im Part-Arbeitsbereich verfügbar.


Eine [[Image:Part_Ellipsoid.svg|24px]] '''Part Ellipsoid''' ist ein parametrischer Volumenkörper, der mit dem Befehl [[Image:Part_Primitives.svg|24px]] [[Part_Primitives/de|Part Grundelemente]] erstellt werden kann. Im Koordinatensystem durch ihre {{PropertyData/de|Placement}} festgelegt, sind die Achsen des Ellipsoids fluchtend mit den X-, Y-, und Z-Achsen und damit sein Mittelpunkt im Ursprung.
The Create Primitives dialogue can be accessed via the [[Part_CreatePrimitives|CreatePrimitives]] icon [[Image:Part_CreatePrimitives.png|32px]] located in the Part menu or the Part toolbar, in the Part Workbench.

A Part Ellipsoid can be truncated at the top and/or bottom by changing its {{PropertyData|Angle1}} and/or {{PropertyData|Angle2}} properties. It can be turned into a segment of an ellipsoid by changing its {{PropertyData|Angle3}} property.

[[Image:Part_Ellipsoid_Example.png|400px]]

==Anwendung==

Siehe [[Part_Primitives/de#Anwendung|Part Grundelemente]].

==Beispiel==

[[Image:Part_Ellipsoid_Scripting_Example.png|thumb|Part-Ellipsoid aus dem Skriptbeispiel]]

Ein Part-Ellipsoid-Objekt, das mit dem [[#Skripten|Skriptbeispiel]] weiter unten erzeugt wurde wird hier dargestellt.

==Eigenschaften==

Siehe auch: [[Property_editor/de|Eigenschafteneditor]].

Ein Part-Ellipsoid-Objekt wird von einem [[Part_Feature/de|Part-Formelement]] abgeleitet und erbt alle seine Eigenschaften. Außerdem hat es die folgenden zusätzlichen Eigenschaften:

===Daten===

{{TitleProperty|Attachment}}

The object has the same attachment properties as a [[Part_Part2DObject#Data|Part Part2DObject]].

{{TitleProperty|Ellipsoid}}

* {{PropertyData|Radius1|Length}}: The radius of the ellipsoid in its Z direction. The default is {{Value|2mm}}.
* {{PropertyData|Radius2|Length}}: The radius of the ellipsoid in its X direction. The default is {{Value|4mm}}.
* {{PropertyData|Radius3|Length}}: The radius of the ellipsoid in its Y direction. The default is {{Value|4mm}}.
* {{PropertyData|Angle1|Angle}}: The start angle of the elliptical sides of the ellipsoid. Valid range: {{Value|-90° &lt;&#61; value &lt; 90°}}. Must be smaller than {{PropertyData|Angle2}}. The default is {{Value|-90°}}.
* {{PropertyData|Angle2|Angle}}: The end angle of the elliptical sides of the ellipsoid. Valid range: {{Value|-90° &lt; value &lt;&#61; 90°}}. Must be larger than {{PropertyData|Angle1}}. The default is {{Value|90°}}. If the total angle of the elliptical sides is smaller than {{Value|180°}} the ellipsoid will be truncated and have a flat face at the top and/or bottom.
* {{PropertyData|Angle3|Angle}}: The total angle of the ellipsoid in its XY plane. Valid range: {{Value|0° &lt; value &lt;&#61; 360°}}. The default is {{Value|360°}}. If it is smaller than {{Value|360°}} the resulting solid will be a segment of an ellipsoid.

==Skripten==

See also: [https://freecad.github.io/SourceDoc/ Autogenerated API documentation], [[Part_scripting|Part scripting]] and [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

A Part Ellipsoid can be created with the {{Incode|addObject()}} method of the document:

{{Code|code=
ellipsoid = FreeCAD.ActiveDocument.addObject("Part::Ellipsoid", "myEllipsoid")
}}

* Where {{Incode|"myEllipsoid"}} is the name for the object.
* The function returns the newly created object.


Beispiel:
The shape produced is limited in FreeCAD to being a solid (optionally truncated) spheroid, the shape you would create by rotating an ellipse around one of its axis. By default it is a [http://en.wikipedia.org/wiki/Oblate_spheroid oblate_spheroid], the shape you would create by rotating an ellipse around its minor axis. The parameters can be changed to form a [http://en.wikipedia.org/wiki/Prolate_spheroid prolate_spheroid].


{{Code|code=
The default spheroid in FreeCAD will have a circle for any cross section parallel to the xy plane. The cross section parallel to the other two planes will be an ellipse.
import FreeCAD as App


doc = App.activeDocument()
In mathematics, an [http://en.wikipedia.org/wiki/Ellipsoid Ellipsoid] would have an elliptical cross section in all three planes.


ellipsoid = doc.addObject("Part::Ellipsoid", "myEllipsoid")
==Properties==
ellipsoid.Radius1 = 2
ellipsoid.Radius2 = 4
ellipsoid.Radius3 = 6
ellipsoid.Angle1 = -90
ellipsoid.Angle2 = 50
ellipsoid.Angle3 = 300
ellipsoid.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(15, 0, 20))


doc.recompute()
}}


* Radius 1, by default the minor radius parallel to the Z-axis,
* Radius 2, by default the major radius parallel to the XY plane, it is also the maximum radius of the circular cross section
* Angle 1, lower truncation of the ellipsoid, parallel to the circular cross section (-90 degrees in a full spheroid)
* Angle 2, upper truncation of the ellipsoid, parallel to the circular cross section (90 degrees in a full spheroid)
* Angle 3, angle of rotation of the elliptical cross section (360 degrees in a full spheroid)


{{Docnav/de
|[[Part_Plane/de|Ebene]]
|[[Part_Prism/de|Prisma]]
|[[Part_Workbench/de|Part]]
|IconL=Part_Plane.svg
|IconR=Part_Prism.svg
|IconC=Workbench_Part.svg
}}


{{Part_Tools_navi{{#translation:}}}}
[[Image:Part_Ellipsoid_screenshot.jpg]]
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 13:32, 20 April 2022

Part Ellipsoid

Menüeintrag
Formteil → Grundkörper erstellen... → Ellipsoid
Arbeitsbereich
Part, OpenSCAD
Standardtastenkürzel
Keiner
Eingeführt in Version
-
Siehe auch
Part Grundelemente

Beschreibung

Eine Part Ellipsoid ist ein parametrischer Volumenkörper, der mit dem Befehl Part Grundelemente erstellt werden kann. Im Koordinatensystem durch ihre Daten-EigenschaftPlacement festgelegt, sind die Achsen des Ellipsoids fluchtend mit den X-, Y-, und Z-Achsen und damit sein Mittelpunkt im Ursprung.

A Part Ellipsoid can be truncated at the top and/or bottom by changing its DatenAngle1 and/or DatenAngle2 properties. It can be turned into a segment of an ellipsoid by changing its DatenAngle3 property.

Anwendung

Siehe Part Grundelemente.

Beispiel

Part-Ellipsoid aus dem Skriptbeispiel

Ein Part-Ellipsoid-Objekt, das mit dem Skriptbeispiel weiter unten erzeugt wurde wird hier dargestellt.

Eigenschaften

Siehe auch: Eigenschafteneditor.

Ein Part-Ellipsoid-Objekt wird von einem Part-Formelement abgeleitet und erbt alle seine Eigenschaften. Außerdem hat es die folgenden zusätzlichen Eigenschaften:

Daten

Attachment

The object has the same attachment properties as a Part Part2DObject.

Ellipsoid

  • DatenRadius1 (Length): The radius of the ellipsoid in its Z direction. The default is 2mm.
  • DatenRadius2 (Length): The radius of the ellipsoid in its X direction. The default is 4mm.
  • DatenRadius3 (Length): The radius of the ellipsoid in its Y direction. The default is 4mm.
  • DatenAngle1 (Angle): The start angle of the elliptical sides of the ellipsoid. Valid range: -90° <= value < 90°. Must be smaller than DatenAngle2. The default is -90°.
  • DatenAngle2 (Angle): The end angle of the elliptical sides of the ellipsoid. Valid range: -90° < value <= 90°. Must be larger than DatenAngle1. The default is 90°. If the total angle of the elliptical sides is smaller than 180° the ellipsoid will be truncated and have a flat face at the top and/or bottom.
  • DatenAngle3 (Angle): The total angle of the ellipsoid in its XY plane. Valid range: 0° < value <= 360°. The default is 360°. If it is smaller than 360° the resulting solid will be a segment of an ellipsoid.

Skripten

See also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics.

A Part Ellipsoid can be created with the addObject() method of the document:

ellipsoid = FreeCAD.ActiveDocument.addObject("Part::Ellipsoid", "myEllipsoid")
  • Where "myEllipsoid" is the name for the object.
  • The function returns the newly created object.

Beispiel:

import FreeCAD as App

doc = App.activeDocument()

ellipsoid = doc.addObject("Part::Ellipsoid", "myEllipsoid")
ellipsoid.Radius1 = 2
ellipsoid.Radius2 = 4
ellipsoid.Radius3 = 6
ellipsoid.Angle1 = -90
ellipsoid.Angle2 = 50
ellipsoid.Angle3 = 300
ellipsoid.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(15, 0, 20))

doc.recompute()