FreeCAD

Форк
0
/
PointPy.xml 
51 строка · 1.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="GeometryPy"
5
      Name="PointPy"
6
      PythonName="Part.Point"
7
      Twin="GeomPoint"
8
      TwinPointer="GeomPoint"
9
      Include="Mod/Part/App/Geometry.h"
10
      Namespace="Part"
11
      FatherInclude="Mod/Part/App/GeometryPy.h"
12
      FatherNamespace="Part"
13
      Constructor="true">
14
    <Documentation>
15
      <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
16
      <UserDocu>Describes a point
17
To create a point there are several ways:
18
Part.Point()
19
    Creates a default point
20

21
Part.Point(Point)
22
    Creates a copy of the given point
23

24
Part.Point(Vector)
25
    Creates a line for the given coordinates</UserDocu>
26
    </Documentation>
27
    <Methode Name="toShape" Const="true">
28
      <Documentation>
29
        <UserDocu>Create a vertex from this point.</UserDocu>
30
      </Documentation>
31
    </Methode>
32
    <Attribute Name="X" ReadOnly="false">
33
      <Documentation>
34
        <UserDocu>X component of this point.</UserDocu>
35
      </Documentation>
36
      <Parameter Name="X" Type="Float"/>
37
    </Attribute>
38
    <Attribute Name="Y" ReadOnly="false">
39
      <Documentation>
40
        <UserDocu>Y component of this point.</UserDocu>
41
      </Documentation>
42
      <Parameter Name="Y" Type="Float"/>
43
    </Attribute>
44
    <Attribute Name="Z" ReadOnly="false">
45
      <Documentation>
46
        <UserDocu>Z component of this point.</UserDocu>
47
      </Documentation>
48
      <Parameter Name="Z" Type="Float"/>
49
    </Attribute>
50
  </PythonExport>
51
</GenerateModel>
52

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

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

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

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