OSE Piping Workbench Ports: Unterschied zwischen den Versionen
Ruslan (Diskussion | Beiträge) |
Ruslan (Diskussion | Beiträge) |
||
| Zeile 1: | Zeile 1: | ||
The OSE Piping Workbench creates fittings. It uses '''ports''' to describe the ends of the fittings. The Ports helps to fit the fittings together correctly. | The OSE Piping Workbench creates fittings. It uses '''ports''' to describe the ends of the fittings. The Ports helps to fit the fittings together correctly. | ||
[[Datei:Ports.svg|mini|Ports of a tee in OSE Piping workbench.]] | [[Datei:Ports.svg|mini|Ports of a tee in OSE Piping workbench.]] | ||
| + | |||
| + | Every port is described by: | ||
| + | * Its position <math>a \in \mathbb{R}^3</math> | ||
| + | * A normal vector <math>n \in \mathbb{R}^3</math> which points out of the fitting and it is perpendicular to the port plane. | ||
| + | * A 0 reference angle vector <math>r \in \mathbb{R}^3</math> it shows where is the degree 0°. <math>r</math> must lie in the port plane. | ||
| + | |||
| + | Instead of using three separate vectors, we represent the port by its position and its orientation <math>A</math>. | ||
| + | The position is a FreeCAD Vector <math>a \in \mathbb{R}^3</math>. The orientation is a FreeCAD rotation matrix. When we apply matrix <math>A</math> on vectors <math>x = (1,0,0)</math>, <math>y = (0,1,0)</math>, <math>y = (1,0,0)</math>, it creates vectors <math>x^*</math>, <math>y^*</math>, <math>y^*</math> such that | ||
| + | * <math>x^*</math> points in the same direction as the port's normal, <math>x^* = n</math>. | ||
| + | * <math>y^*</math> shows in the same direction as the angular reference, <math>y^* = r</math>. | ||
| + | |||
| + | For example in a tee fitting, the matrix <math>A</math> is a rotation along y-axis by <math>\phi = 90^{\circ}</math>, and then a rotation along z axis by <math>\psi = -90^{\circ}</math>. See [https://www.freecadweb.org/wiki/Placement FreeCAD Rotation] for more details. Pictures (see [[#Port-orientation.svg]]) | ||
| + | |||
| + | [[Datei:Port-orientation.svg|mini|Orientation of port 2 in a tee fitting.]] | ||
Version vom 26. November 2018, 20:18 Uhr
The OSE Piping Workbench creates fittings. It uses ports to describe the ends of the fittings. The Ports helps to fit the fittings together correctly.
Every port is described by:
- Its position
- A normal vector which points out of the fitting and it is perpendicular to the port plane.
- A 0 reference angle vector it shows where is the degree 0°. must lie in the port plane.
Instead of using three separate vectors, we represent the port by its position and its orientation . The position is a FreeCAD Vector Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle a \in \mathbb{R}^3} . The orientation is a FreeCAD rotation matrix. When we apply matrix Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle A} on vectors Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle x = (1,0,0)} , Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle y = (0,1,0)} , Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle y = (1,0,0)} , it creates vectors Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle x^*} , Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle y^*} , Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle y^*} such that
- Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle x^*} points in the same direction as the port's normal, Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle x^* = n} .
- Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle y^*} shows in the same direction as the angular reference, Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle y^* = r} .
For example in a tee fitting, the matrix Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle A} is a rotation along y-axis by Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle \phi = 90^{\circ}} , and then a rotation along z axis by Fehler beim Parsen (MathML mit SVG- oder PNG-Rückgriff (empfohlen für moderne Browser und Barrierefreiheitswerkzeuge): Ungültige Antwort („Math extension cannot connect to Restbase.“) von Server „https://wikimedia.org/api/rest_v1/“:): {\displaystyle \psi = -90^{\circ}} . See FreeCAD Rotation for more details. Pictures (see #Port-orientation.svg)