Part Wedge/de: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{UnfinishedDocu{{#translation:}}}} <!-- missing docnav -->


{{Docnav
{{Docnav/de
|[[Part_Prism|Prism]]
|[[Part_Prism/de|Prisma]]
|[[Part_Helix|Helix]]
|[[Part_Helix/de|Helix]]
|[[Part_Workbench|Part]]
|[[Part_Workbench/de|Part]]
|IconL=Part_Prism.svg
|IconL=Part_Prism.svg
|IconR=Part_Helix.svg
|IconR=Part_Helix.svg
Line 11: Line 10:
}}
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/de
{{GuiCommand/de
|Name=Part Wedge|Name/de=Part Wedge
|Name=Part Wedge
|Name/de=Part Keil
|MenuLocation=Part → [[Part_CreatePrimitives/de|Part CreatePrimitives]] → Wedge
|MenuLocation=Formteil → [[Part_Primitives/de|Grundkörper erstellen...]] → Keil
|Workbenches=[[Part_Workbench/de|Part]]
|Workbenches=[[Part_Workbench/de|Part]], [[OpenSCAD_Workbench/de|OpenSCAD]]
|SeeAlso=[[Part_CreatePrimitives/de|Part CreatePrimitives]]
|SeeAlso=[[Part_Primitives/de|Part Grundelemente]]
}}
}}
</div>


==Description==
==Beschreibung==


Ein [[Image:Part_Wedge.svg|24px]] '''Part Keil''' ist ein parametrischer Volumenkörper, der mit dem Befehl [[Image:Part_Primitives.svg|24px]] [[Part_Primitives/de|Part Grundelemente]] erstellt werden kann. Er besteht aus vier bis sechs ebene Flächen. Er wird über virtuelle vorder- und rückseitige Hauptflächen definiert, auf denen jeweils eine rechteckige Fläche (Vorgabe), eine einzige gerade Kante oder ein einzelner Punkt erstellt wird. Diese Grundformen definieren die vier drei- oder vierseitigen Flächen, die sie verbinden. Der entstehende Volumenkörper ist nur dann ein echter Keil, wenn eine der Grundformen eine rechteckige Fläche und die andere eine gerade Kante ist. Im Koordinatensystem durch seine {{PropertyData/de|Placement}} festgelegt, liegen die virtuellen vorder- und rückseitigen Hauptflächen des Keils ebenenparallel zur XZ-Ebene und die Kanten der Grundformen sind parallel zu der X- oder Z-Achse. Alle seiner Koordinaten beziehen sich auf dieses Koordinatensystem.
Erstellt ein parametrisches Keil-Objekt. Der Keil hat standardmäßig eine große quadratische Grundfläche und eine kleinere quadratische Deckfläche.


[[Image:Part_Wedge_Example.png|400px]]
==Usage==


==Anwendung==
=== Start-Größe und Position ===


Siehe [[Part_Primitives/de#Anwendung|Part Grundelemente]].
'''Position:'''
Die Standard-Orientierung platziert die Grundfläche in die XZ-Ebene und die Deckfläche in Richtung der Y-Achse. Der Nullpunkt der Grundfläche liegt in 0/0/0.


==Beispiel==
'''Grundfläche:'''
*X : 10 mm
*Z : 10 mm


[[Image:Part_Wedge_Scripting_Example.png|thumb|Part-Keil aus dem Skriptbeispiel]]
'''Höhe:'''
*Y : 0-10 mm


Ein Part-Keil-Objekt, das mit dem [[#Skripten|Skriptbeispiel]] weiter unten erzeugt wurde, wird hier dargestellt.
'''Deckfläche:'''
*X : 2-8 mm
*Z : 2-8 mm


==Hinweise==


* The values of the coordinates of the wedge must be such that a valid solid can be create. This means that the front and rear base shapes can both be single edges, but not if they are parallel. And if one of the base shapes is a vertex the other shape must be a rectangular face.
[[File:PartWedgeProperty.png|left]]
{{clear}}


==Eigenschaften==
=== Parametrische Eingaben ===
{|
| [[File:PartWedgeProperty_Inputs.png]]
|
Zusammen mit der Standard-Orientierung stehen die Eingaben für:
*{{PropertyData/de|X min/max}} : Koordinatenwerte der unteren Fläche in X-Richtung
*{{PropertyData/de|Y min/max}}: Lage der oberen und unteren Fläche in Y-Richtung
*{{PropertyData/de|Z min/max}} : Koordinatenwerte der unteren Fläche in Z-Richtung
*{{PropertyData/de|X2 min/max}} : Koordinatenwerte der oberen Fläche in X-Richtung
*{{PropertyData/de|Z2 min/max}} : Koordinatenwerte der oberen Fläche in Z-Richtung
|}


Siehe auch: [[Property_editor/de|Eigenschafteneditor]].
=== Mehr Beispiele für Keile ===
[[File:Wedge_examples.png]]


Ein Part-Keil-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===
{{Docnav

|[[Part_Prism|Prism]]
{{TitleProperty|Attachment}}
|[[Part_Helix|Helix]]

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

{{TitleProperty|Wedge}}

* {{PropertyData|Xmin|Distance}}: The lowest X coordinate of the front face of the wedge. The default is {{Value|0mm}}.
* {{PropertyData|Ymin|Distance}}: The Y coordinate of the front face of the wedge. The default is {{Value|0mm}}.
* {{PropertyData|Zmin|Distance}}: The lowest Z coordinate of the front face of the wedge. The default is {{Value|0mm}}.
* {{PropertyData|X2min|Distance}}: The lowest X coordinate of the rear face of the wedge. The default is {{Value|2mm}}.
* {{PropertyData|Z2min|Distance}}: The lowest Z coordinate of the rear face of the wedge. The default is {{Value|2mm}}.
* {{PropertyData|Xmax|Distance}}: The highest X coordinate of the front face of the wedge. The default is {{Value|10mm}}.
* {{PropertyData|Ymax|Distance}}: The Y coordinate of the rear face of the wedge. The default is {{Value|10mm}}.
* {{PropertyData|Zmax|Distance}}: The highest Z coordinate of the front face of the wedge. The default is {{Value|10mm}}.
* {{PropertyData|X2max|Distance}}: The highest X coordinate of the rear face of the wedge. The default is {{Value|8mm}}.
* {{PropertyData|Z2max|Distance}}: The highest Z coordinate of the rear face of the wedge. The default is {{Value|8mm}}.

==Skripten==

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

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

{{Code|code=
wedge = FreeCAD.ActiveDocument.addObject("Part::Wedge", "myWedge")
}}

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

Beispiel:

{{Code|code=
import FreeCAD as App

doc = App.activeDocument()

wedge = doc.addObject("Part::Wedge", "myWedge")
wedge.Xmin = 1
wedge.Ymin = 2
wedge.Zmin = 3
wedge.X2min = 4
wedge.Z2min = 6
wedge.Xmax = 15
wedge.Ymax = 20
wedge.Zmax = 55
wedge.X2max = 10
wedge.Z2max = 12
wedge.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(75, 60, 30))

doc.recompute()
}}


{{Docnav/de
|[[Part_Prism/de|Prisma]]
|[[Part_Helix/de|Helix]]
|[[Part_Workbench/de|Part]]
|IconL=Part_Prism.svg
|IconL=Part_Prism.svg
|IconR=Part_Helix.svg
|IconR=Part_Helix.svg
Line 71: Line 109:
}}
}}


{{Part Tools navi{{#translation:}}}}
{{Part_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 14:44, 20 April 2022

Part Keil

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

Beschreibung

Ein Part Keil ist ein parametrischer Volumenkörper, der mit dem Befehl Part Grundelemente erstellt werden kann. Er besteht aus vier bis sechs ebene Flächen. Er wird über virtuelle vorder- und rückseitige Hauptflächen definiert, auf denen jeweils eine rechteckige Fläche (Vorgabe), eine einzige gerade Kante oder ein einzelner Punkt erstellt wird. Diese Grundformen definieren die vier drei- oder vierseitigen Flächen, die sie verbinden. Der entstehende Volumenkörper ist nur dann ein echter Keil, wenn eine der Grundformen eine rechteckige Fläche und die andere eine gerade Kante ist. Im Koordinatensystem durch seine Daten-EigenschaftPlacement festgelegt, liegen die virtuellen vorder- und rückseitigen Hauptflächen des Keils ebenenparallel zur XZ-Ebene und die Kanten der Grundformen sind parallel zu der X- oder Z-Achse. Alle seiner Koordinaten beziehen sich auf dieses Koordinatensystem.

Anwendung

Siehe Part Grundelemente.

Beispiel

Part-Keil aus dem Skriptbeispiel

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

Hinweise

  • The values of the coordinates of the wedge must be such that a valid solid can be create. This means that the front and rear base shapes can both be single edges, but not if they are parallel. And if one of the base shapes is a vertex the other shape must be a rectangular face.

Eigenschaften

Siehe auch: Eigenschafteneditor.

Ein Part-Keil-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.

Wedge

  • DatenXmin (Distance): The lowest X coordinate of the front face of the wedge. The default is 0mm.
  • DatenYmin (Distance): The Y coordinate of the front face of the wedge. The default is 0mm.
  • DatenZmin (Distance): The lowest Z coordinate of the front face of the wedge. The default is 0mm.
  • DatenX2min (Distance): The lowest X coordinate of the rear face of the wedge. The default is 2mm.
  • DatenZ2min (Distance): The lowest Z coordinate of the rear face of the wedge. The default is 2mm.
  • DatenXmax (Distance): The highest X coordinate of the front face of the wedge. The default is 10mm.
  • DatenYmax (Distance): The Y coordinate of the rear face of the wedge. The default is 10mm.
  • DatenZmax (Distance): The highest Z coordinate of the front face of the wedge. The default is 10mm.
  • DatenX2max (Distance): The highest X coordinate of the rear face of the wedge. The default is 8mm.
  • DatenZ2max (Distance): The highest Z coordinate of the rear face of the wedge. The default is 8mm.

Skripten

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

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

wedge = FreeCAD.ActiveDocument.addObject("Part::Wedge", "myWedge")
  • Where "myWedge" is the name for the object.
  • The function returns the newly created object.

Beispiel:

import FreeCAD as App

doc = App.activeDocument()

wedge = doc.addObject("Part::Wedge", "myWedge")
wedge.Xmin = 1
wedge.Ymin = 2
wedge.Zmin = 3
wedge.X2min = 4
wedge.Z2min = 6
wedge.Xmax = 15
wedge.Ymax = 20
wedge.Zmax = 55
wedge.X2max = 10
wedge.Z2max = 12
wedge.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(75, 60, 30))

doc.recompute()