FreeCAD

Форк
0
/
AxisPy.xml 
83 строки · 2.6 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">
3
    <PythonExport
4
        Father="PyObjectBase"
5
        Name="AxisPy"
6
        Twin="Axis"
7
        TwinPointer="Axis"
8
        Include="Base/Axis.h"
9
        FatherInclude="Base/PyObjectBase.h"
10
        Namespace="Base"
11
        Constructor="true"
12
        Delete="true"
13
        FatherNamespace="Base">
14
    <Documentation>
15
        <Author Licence="LGPL" Name="Juergen Riegel" EMail="FreeCAD@juergen-riegel.net" />
16
        <UserDocu>Base.Axis class.
17

18
An Axis defines a direction and a position (base) in 3D space.
19

20
The following constructors are supported:
21

22
Axis()
23
Empty constructor.
24

25
Axis(axis)
26
Copy constructor.
27
axis : Base.Axis
28

29
Axis(base, direction)
30
Define from a position and a direction.
31
base : Base.Vector
32
direction : Base.Vector</UserDocu>
33
        <DeveloperDocu>Axis</DeveloperDocu>
34
    </Documentation>
35
        <Methode Name="copy">>
36
            <Documentation>
37
                <UserDocu>copy() -> Base.Axis
38

39
Returns a copy of this Axis.</UserDocu>
40
            </Documentation>
41
        </Methode>
42
        <Methode Name="move">
43
            <Documentation>
44
                <UserDocu>move(vector) -> None
45

46
Move the axis base along the given vector.
47

48
vector : Base.Vector
49
    Vector by which to move the axis.</UserDocu>
50
            </Documentation>
51
        </Methode>
52
        <Methode Name="multiply">
53
            <Documentation>
54
                <UserDocu>multiply(placement) -> Base.Axis
55

56
Multiply this axis by a placement.
57

58
placement : Base.Placement
59
    Placement by which to multiply the axis.</UserDocu>
60
            </Documentation>
61
        </Methode>
62
        <Methode Name="reversed">
63
            <Documentation>
64
                <UserDocu>reversed() -> Base.Axis
65

66
Compute the reversed axis. This returns a new Base.Axis with
67
the original direction reversed.</UserDocu>
68
            </Documentation>
69
        </Methode>
70
        <Attribute Name="Base" ReadOnly="false">
71
            <Documentation>
72
                <UserDocu>Base position vector of the Axis.</UserDocu>
73
            </Documentation>
74
            <Parameter Name="Base" Type="Object" />
75
        </Attribute>
76
        <Attribute Name="Direction" ReadOnly="false">
77
            <Documentation>
78
                <UserDocu>Direction vector of the Axis.</UserDocu>
79
            </Documentation>
80
            <Parameter Name="Direction" Type="Object" />
81
        </Attribute>
82
    </PythonExport>
83
</GenerateModel>
84

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.