FreeCAD

Форк
0
/
MakePrismPy.xml 
105 строк · 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="PyObjectBase"
5
      Name="MakePrismPy"
6
      PythonName="Part.BRepFeat.MakePrism"
7
      Twin="BRepFeat_MakePrism"
8
      TwinPointer="BRepFeat_MakePrism"
9
      Include="BRepFeat_MakePrism.hxx"
10
      Namespace="Part"
11
      FatherInclude="Base/PyObjectBase.h"
12
      FatherNamespace="Base"
13
      Constructor="true"
14
      Delete="true">
15
    <Documentation>
16
          <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer[at]users.sourceforge.net" />
17
          <UserDocu>Describes functions to build prism features.</UserDocu>
18
    </Documentation>
19
    <Methode Name="init" Keyword="true">
20
        <Documentation>
21
            <UserDocu>
22
Initializes this algorithm for building prisms along surfaces.
23
A face Pbase is selected in the shape Sbase
24
to serve as the basis for the prism. The orientation
25
of the prism will be defined by the vector Direction.
26

27
Fuse offers a choice between:
28
-   removing matter with a Boolean cut using the setting 0
29
-   adding matter with Boolean fusion using the setting 1.
30
The sketch face Skface serves to determine
31
the type of operation. If it is inside the basis
32
shape, a local operation such as glueing can be performed.
33
            </UserDocu>
34
        </Documentation>
35
    </Methode>
36
    <Methode Name="add" Keyword="true">
37
        <Documentation>
38
            <UserDocu>
39
Indicates that the edge will slide on the face.
40
Raises ConstructionError if the  face does not belong to the
41
basis shape, or the edge to the prismed shape.
42
            </UserDocu>
43
        </Documentation>
44
    </Methode>
45
    <Methode Name="perform" Keyword="true">
46
        <Documentation>
47
            <UserDocu>
48
                Assigns one of the following semantics.
49
                1. to a height Length
50
                2. to a face Until
51
                3. from a face From to a height Until. Reconstructs the feature topologically according to the semantic option chosen.
52
            </UserDocu>
53
        </Documentation>
54
    </Methode>
55
    <Methode Name="performUntilEnd">
56
        <Documentation>
57
            <UserDocu>
58
Realizes a semi-infinite prism, limited by the
59
position of the prism base. All other faces extend infinitely.
60
            </UserDocu>
61
        </Documentation>
62
    </Methode>
63
    <Methode Name="performFromEnd">
64
        <Documentation>
65
            <UserDocu>
66
Realizes a semi-infinite prism, limited by the face Funtil.
67
            </UserDocu>
68
        </Documentation>
69
    </Methode>
70
    <Methode Name="performThruAll">
71
        <Documentation>
72
            <UserDocu>
73
Builds an infinite prism. The infinite descendants will not be kept in the result.
74
            </UserDocu>
75
        </Documentation>
76
    </Methode>
77
    <Methode Name="performUntilHeight">
78
        <Documentation>
79
            <UserDocu>
80
Assigns both a limiting shape, Until from TopoDS_Shape
81
and a height, Length at which to stop generation of the prism feature.
82
            </UserDocu>
83
        </Documentation>
84
    </Methode>
85
    <Methode Name="curves" Const="true">
86
        <Documentation>
87
            <UserDocu>
88
Returns the list of curves S parallel to the axis of the prism.
89
            </UserDocu>
90
        </Documentation>
91
    </Methode>
92
    <Methode Name="barycCurve" Const="true">
93
        <Documentation>
94
            <UserDocu>
95
Generates a curve along the center of mass of the primitive.
96
            </UserDocu>
97
        </Documentation>
98
    </Methode>
99
    <Methode Name="shape" Const="true">
100
        <Documentation>
101
            <UserDocu>Returns a shape built by the shape construction algorithm.</UserDocu>
102
        </Documentation>
103
    </Methode>
104
    </PythonExport>
105
</GenerateModel>
106

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

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

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

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