FreeCAD

Форк
0
/
PointsPy.xml 
78 строк · 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="ComplexGeoDataPy"
5
		Include="Mod/Points/App/Points.h"
6
		Name="PointsPy"
7
		Twin="PointKernel"
8
		TwinPointer="PointKernel"
9
		Namespace="Points"
10
		FatherInclude="App/ComplexGeoDataPy.h"
11
		FatherNamespace="Data"
12
		Constructor="true">
13
		<Documentation>
14
			<Author Licence="LGPL" Name="Juergen Riegel" EMail="Juergen.Riegel@web.de" />
15
			<UserDocu>Points() -- Create an empty points object.
16

17
This class allows one to manipulate the Points object by adding new points, deleting facets, importing from an STL file,
18
transforming and much more.
19

20
      </UserDocu>
21
		</Documentation>
22
		<Methode Name="copy" Const="true">
23
			<Documentation>
24
				<UserDocu>Create a copy of this points object</UserDocu>
25
			</Documentation>
26
		</Methode>
27
		<Methode Name="read">
28
			<Documentation>
29
				<UserDocu>Read in a points object from file.</UserDocu>
30
			</Documentation>
31
		</Methode>
32
    <Methode Name="write" Const="true">
33
      <Documentation>
34
        <UserDocu>Write the points object into file.</UserDocu>
35
      </Documentation>
36
    </Methode>
37
    <Methode Name="writeInventor" Const="true">
38
      <Documentation>
39
        <UserDocu>Write the points in OpenInventor format to a string.</UserDocu>
40
      </Documentation>
41
    </Methode>
42
    <Methode Name="addPoints" >
43
      <Documentation>
44
        <UserDocu>add one or more (list of) points to the object</UserDocu>
45
      </Documentation>
46
    </Methode>
47
    <Methode Name="fromSegment" Const="true">
48
      <Documentation>
49
        <UserDocu>Get a new point object from a given segment</UserDocu>
50
      </Documentation>
51
    </Methode>
52
    <Methode Name="fromValid" Const="true">
53
      <Documentation>
54
        <UserDocu>Get a new point object from points with valid coordinates (i.e. that are not NaN)</UserDocu>
55
      </Documentation>
56
    </Methode>
57
    <Attribute Name="CountPoints" ReadOnly="true">
58
			<Documentation>
59
				<UserDocu>Return the number of vertices of the points object.</UserDocu>
60
			</Documentation>
61
			<Parameter Name="CountPoints" Type="Long" />
62
		</Attribute>
63
		<Attribute Name="Points" ReadOnly="true">
64
			<Documentation>
65
				<UserDocu>A collection of points
66
With this attribute it is possible to get access to the points of the object
67

68
for p in pnt.Points:
69
	print p
70

71
				</UserDocu>
72
			</Documentation>
73
			<Parameter Name="Points" Type="List" />
74
		</Attribute>
75
		<ClassDeclarations>
76
		</ClassDeclarations>
77
	</PythonExport>
78
</GenerateModel>
79

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

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

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

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