FreeCAD

Форк
0
/
Hyperbola2dPy.xml 
70 строк · 3.1 Кб
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
        Name="Hyperbola2dPy"
5
        Namespace="Part"
6
        Twin="Geom2dHyperbola"
7
        TwinPointer="Geom2dHyperbola"
8
        PythonName="Part.Geom2d.Hyperbola2d"
9
        FatherInclude="Mod/Part/App/Geom2d/Conic2dPy.h"
10
        Include="Mod/Part/App/Geometry2d.h"
11
        Father="Conic2dPy"
12
        FatherNamespace="Part"
13
        Constructor="true">
14
        <Documentation>
15
            <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
16
            <UserDocu>Describes a hyperbola in 2D space
17
                To create a hyperbola there are several ways:
18
                Part.Geom2d.Hyperbola2d()
19
                    Creates a hyperbola with major radius 2 and minor radius 1 with the
20
                    center in (0,0)
21

22
                Part.Geom2d.Hyperbola2d(Hyperbola)
23
                    Create a copy of the given hyperbola
24

25
                Part.Geom2d.Hyperbola2d(S1,S2,Center)
26
                    Creates a hyperbola centered on the point Center, S1 and S2,
27
                    its major axis is defined by Center and S1,
28
                    its major radius is the distance between Center and S1, and
29
                    its minor radius is the distance between S2 and the major axis.
30

31
                Part.Geom2d.Hyperbola2d(Center,MajorRadius,MinorRadius)
32
                    Creates a hyperbola with major and minor radii MajorRadius and
33
                    MinorRadius and located at Center</UserDocu>
34
        </Documentation>
35
        <Attribute Name="MajorRadius" ReadOnly="false">
36
            <Documentation>
37
                <UserDocu>The major radius of the hyperbola.</UserDocu>
38
            </Documentation>
39
            <Parameter Name="MajorRadius" Type="Float"/>
40
        </Attribute>
41
        <Attribute Name="MinorRadius" ReadOnly="false">
42
            <Documentation>
43
                <UserDocu>The minor radius of the hyperbola.</UserDocu>
44
            </Documentation>
45
            <Parameter Name="MinorRadius" Type="Float"/>
46
        </Attribute>
47
        <Attribute Name="Focal" ReadOnly="true">
48
            <Documentation>
49
                <UserDocu>The focal distance of the hyperbola.</UserDocu>
50
            </Documentation>
51
            <Parameter Name="Focal" Type="Float"/>
52
        </Attribute>
53
        <Attribute Name="Focus1" ReadOnly="true">
54
            <Documentation>
55
                <UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
56
the second focus is on the negative side.</UserDocu>
57
            </Documentation>
58
            <Parameter Name="Focus1" Type="Object"/>
59
        </Attribute>
60
        <Attribute Name="Focus2" ReadOnly="true">
61
            <Documentation>
62
                <Documentation>
63
                    <UserDocu>The first focus is on the positive side of the major axis of the hyperbola;
64
the second focus is on the negative side.</UserDocu>
65
                </Documentation>
66
            </Documentation>
67
            <Parameter Name="Focus2" Type="Object"/>
68
        </Attribute>
69
    </PythonExport>
70
</GenerateModel>
71

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

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

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

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