FreeCAD

Форк
0
/
MeshFeaturePy.xml 
104 строки · 3.7 Кб
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="GeoFeaturePy"
5
    Name="MeshFeaturePy"
6
    Twin="Feature"
7
    TwinPointer="Feature"
8
    Include="Mod/Mesh/App/MeshFeature.h"
9
    Namespace="Mesh"
10
    FatherInclude="App/GeoFeaturePy.h"
11
    FatherNamespace="App">
12
    <Documentation>
13
        <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
14
        <UserDocu>The Mesh::Feature class handles meshes.
15
The Mesh.MeshFeature() function is for internal use only and cannot be used to create instances of this class.
16
Therefore you must have a reference to a document, e.g. 'd' then you can create an instance with
17
d.addObject("Mesh::Feature").
18
        </UserDocu>
19
    </Documentation>
20
    <Methode Name="countPoints">
21
        <Documentation>
22
            <UserDocu>Return the number of vertices of the mesh object</UserDocu>
23
        </Documentation>
24
    </Methode>
25
    <Methode Name="countFacets">
26
        <Documentation>
27
            <UserDocu>Return the number of facets of the mesh object</UserDocu>
28
        </Documentation>
29
    </Methode>
30
    <Methode Name="harmonizeNormals">
31
        <Documentation>
32
            <UserDocu>Adjust wrong oriented facets</UserDocu>
33
        </Documentation>
34
    </Methode>
35
    <Methode Name="smooth">
36
        <Documentation>
37
            <UserDocu>Smooth the mesh data</UserDocu>
38
        </Documentation>
39
    </Methode>
40
    <Methode Name="decimate">
41
        <Documentation>
42
             <UserDocu>
43
                 Decimate the mesh
44
                 decimate(tolerance(Float), reduction(Float))
45
                 tolerance: maximum error
46
                 reduction: reduction factor must be in the range [0.0,1.0]
47
                 Example:
48
                 mesh.decimate(0.5, 0.1) # reduction by up to 10 percent
49
                 mesh.decimate(0.5, 0.9) # reduction by up to 90 percent
50

51
                 or
52

53
                 decimate(targwt size(int))
54
                 mesh.decimate(mesh.CountFacets/2)
55
             </UserDocu>
56
         </Documentation>
57
     </Methode>
58
    <Methode Name="removeNonManifolds">
59
        <Documentation>
60
            <UserDocu>Remove non-manifolds</UserDocu>
61
        </Documentation>
62
    </Methode>
63
    <Methode Name="removeNonManifoldPoints">
64
        <Documentation>
65
            <UserDocu>Remove non-manifold points</UserDocu>
66
        </Documentation>
67
    </Methode>
68
    <Methode Name="fixIndices">
69
        <Documentation>
70
            <UserDocu>Repair any invalid indices</UserDocu>
71
        </Documentation>
72
    </Methode>
73
    <Methode Name="fixDegenerations">
74
        <Documentation>
75
            <UserDocu>Remove degenerated facets</UserDocu>
76
        </Documentation>
77
    </Methode>
78
    <Methode Name="removeDuplicatedFacets">
79
        <Documentation>
80
            <UserDocu>Remove duplicated facets</UserDocu>
81
        </Documentation>
82
    </Methode>
83
    <Methode Name="removeDuplicatedPoints">
84
        <Documentation>
85
            <UserDocu>Remove duplicated points</UserDocu>
86
        </Documentation>
87
    </Methode>
88
    <Methode Name="fixSelfIntersections">
89
        <Documentation>
90
            <UserDocu>Repair self-intersections</UserDocu>
91
        </Documentation>
92
    </Methode>
93
    <Methode Name="removeFoldsOnSurface">
94
        <Documentation>
95
            <UserDocu>Remove folds on surfaces</UserDocu>
96
        </Documentation>
97
    </Methode>
98
    <Methode Name="removeInvalidPoints">
99
        <Documentation>
100
            <UserDocu>Remove points with invalid coordinates (NaN)</UserDocu>
101
        </Documentation>
102
    </Methode>
103
    </PythonExport>
104
</GenerateModel>
105

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

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

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

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