FreeCAD

Форк
0
/
CylinderPy.xml 
52 строки · 2.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="CylinderPy"
5
        Namespace="Part"
6
        Twin="GeomCylinder"
7
        TwinPointer="GeomCylinder"
8
        PythonName="Part.Cylinder"
9
        FatherInclude="Mod/Part/App/GeometrySurfacePy.h"
10
        Include="Mod/Part/App/Geometry.h"
11
        Father="GeometrySurfacePy"
12
        FatherNamespace="Part"
13
        Constructor="true">
14
        <Documentation>
15
            <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net"/>
16
            <UserDocu>Describes a cylinder in 3D space
17
                To create a cylinder there are several ways:
18
                Part.Cylinder()
19
                    Creates a default cylinder with center (0,0,0) and radius 1
20

21
                Part.Cylinder(Cylinder)
22
                    Creates a copy of the given cylinder
23

24
                Part.Cylinder(Cylinder, Distance)
25
                    Creates a cylinder parallel to given cylinder at a certain distance
26

27
                Part.Cylinder(Point1,Point2,Point2)
28
                    Creates a cylinder defined by three non-linear points
29

30
                Part.Cylinder(Circle)
31
                    Creates a cylinder by a circular base</UserDocu>
32
        </Documentation>
33
        <Attribute Name="Radius" ReadOnly="false">
34
            <Documentation>
35
                <UserDocu>The radius of the cylinder.</UserDocu>
36
            </Documentation>
37
            <Parameter Name="Radius" Type="Float"/>
38
        </Attribute>
39
        <Attribute Name="Center" ReadOnly="false">
40
            <Documentation>
41
                <UserDocu>Center of the cylinder.</UserDocu>
42
            </Documentation>
43
            <Parameter Name="Center" Type="Object"/>
44
        </Attribute>
45
        <Attribute Name="Axis" ReadOnly="false">
46
            <Documentation>
47
                <UserDocu>The axis direction of the cylinder</UserDocu>
48
            </Documentation>
49
            <Parameter Name="Axis" Type="Object"/>
50
        </Attribute>
51
    </PythonExport>
52
</GenerateModel>
53

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

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

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

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