FreeCAD

Форк
0
/
MaterialPy.xml 
67 строк · 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="MaterialPy"
6
    TwinPointer="Material"
7
    Twin="Material"
8
    Include="App/Material.h"
9
    Namespace="App"
10
    FatherInclude="Base/PyObjectBase.h"
11
    FatherNamespace="Base"
12
    Constructor="true"
13
        Delete="true">
14
        <Documentation>
15
            <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
16
            <UserDocu>This is the Material class</UserDocu>
17
        </Documentation>
18
        <Methode Name="set">
19
            <Documentation>
20
                <UserDocu>
21
Set(string) -- Set the material.
22

23
The material must be one of the following values:
24
Brass, Bronze, Copper, Gold, Pewter, Plaster, Plastic, Silver, Steel, Stone, Shiny plastic,
25
Satin, Metalized, Neon GNC, Chrome, Aluminium, Obsidian, Neon PHC, Jade, Ruby or Emerald.
26
            </UserDocu>
27
            </Documentation>
28
        </Methode>
29
        <Attribute Name="AmbientColor" ReadOnly="false">
30
            <Documentation>
31
                <UserDocu>Ambient color</UserDocu>
32
            </Documentation>
33
            <Parameter Name="AmbientColor" Type="Tuple"/>
34
        </Attribute>
35
        <Attribute Name="DiffuseColor" ReadOnly="false">
36
            <Documentation>
37
                <UserDocu>Diffuse color</UserDocu>
38
            </Documentation>
39
            <Parameter Name="DiffuseColor" Type="Tuple"/>
40
        </Attribute>
41
        <Attribute Name="EmissiveColor" ReadOnly="false">
42
            <Documentation>
43
                <UserDocu>Emissive color</UserDocu>
44
            </Documentation>
45
            <Parameter Name="EmissiveColor" Type="Tuple"/>
46
        </Attribute>
47
        <Attribute Name="SpecularColor" ReadOnly="false">
48
            <Documentation>
49
                <UserDocu>Specular color</UserDocu>
50
            </Documentation>
51
            <Parameter Name="SpecularColor" Type="Tuple"/>
52
        </Attribute>
53
        <Attribute Name="Shininess" ReadOnly="false">
54
            <Documentation>
55
                <UserDocu>Shininess</UserDocu>
56
            </Documentation>
57
            <Parameter Name="Shininess" Type="Float"/>
58
        </Attribute>
59
        <Attribute Name="Transparency" ReadOnly="false">
60
            <Documentation>
61
                <UserDocu>Transparency</UserDocu>
62
            </Documentation>
63
            <Parameter Name="Transparency" Type="Float"/>
64
        </Attribute>
65
        <CustomAttributes />
66
    </PythonExport>
67
</GenerateModel>
68

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

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

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

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