FreeCAD

Форк
0
/
ParabolaPy.xml 
47 строк · 2.0 Кб
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="ParabolaPy"
5
        Namespace="Part"
6
        Twin="GeomParabola"
7
        TwinPointer="GeomParabola"
8
        PythonName="Part.Parabola"
9
        FatherInclude="Mod/Part/App/ConicPy.h"
10
        Include="Mod/Part/App/Geometry.h"
11
        Father="ConicPy"
12
        FatherNamespace="Part"
13
        Constructor="true">
14
        <Documentation>
15
            <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
16
            <UserDocu>Describes a parabola in 3D space</UserDocu>
17
        </Documentation>
18
        <Methode Name="compute">
19
            <Documentation>
20
                <UserDocu>compute(p1,p2,p3)
21
                    The three points must lie on a plane parallel to xy plane and must not be collinear</UserDocu>
22
            </Documentation>
23
        </Methode>
24
        <Attribute Name="Focal" ReadOnly="false">
25
            <Documentation>
26
                <UserDocu>The focal distance is the distance between
27
the apex and the focus of the parabola.</UserDocu>
28
            </Documentation>
29
            <Parameter Name="Focal" Type="Float"/>
30
        </Attribute>
31
        <Attribute Name="Focus" ReadOnly="true">
32
            <Documentation>
33
                <UserDocu>The focus is on the positive side of the
34
'X Axis' of the local coordinate system of the parabola.</UserDocu>
35
            </Documentation>
36
            <Parameter Name="Focus" Type="Object"/>
37
        </Attribute>
38
        <Attribute Name="Parameter" ReadOnly="true">
39
            <Documentation>
40
                <UserDocu>Compute the parameter of this parabola
41
which is the distance between its focus
42
and its directrix. This distance is twice the focal length.</UserDocu>
43
            </Documentation>
44
            <Parameter Name="Parameter" Type="Float"/>
45
        </Attribute>
46
    </PythonExport>
47
</GenerateModel>
48

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

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

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

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