FreeCAD

Форк
0
/
GeoFeaturePy.xml 
63 строки · 2.4 Кб
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="DocumentObjectPy"
5
      Name="GeoFeaturePy"
6
      Twin="GeoFeature"
7
      TwinPointer="GeoFeature"
8
      Include="App/GeoFeature.h"
9
      Namespace="App"
10
      FatherInclude="App/DocumentObjectPy.h"
11
      FatherNamespace="App">
12
    <Documentation>
13
      <Author Licence="LGPL" Name="Jürgen Riegel" EMail="FreeCAD@juergen-riegel.net" />
14
      <UserDocu>App.GeoFeature class.
15

16
Base class of all geometric document objects.
17
This class does the whole placement and position handling.
18
With the method `getPropertyOfGeometry` is possible to obtain
19
the main geometric property in general form, without reference
20
to any particular property name.</UserDocu>
21
    </Documentation>
22
    <Methode Name="getPaths">
23
      <Documentation>
24
        <UserDocu>getPaths()
25

26
Returns all possible paths to the root of the document.
27
Note: Not implemented.</UserDocu>
28
      </Documentation>
29
    </Methode>
30
    <Methode Name="getGlobalPlacement">
31
      <Documentation>
32
        <UserDocu>getGlobalPlacement() -> Base.Placement
33

34
Returns the placement of the object in the global coordinate space, respecting all stacked
35
relationships.
36
Note: This function is not available during recompute, as there the placements of parents
37
can change after the execution of this object, rendering the result wrong.</UserDocu>
38
      </Documentation>
39
    </Methode>
40
    <Methode Name="getPropertyNameOfGeometry">
41
      <Documentation>
42
        <UserDocu>getPropertyNameOfGeometry() -> str or None
43

44
Returns the property name of the actual geometry.
45
For example for a Part feature it returns the value 'Shape', for a mesh feature the value
46
'Mesh' and so on.
47
If an object has no such property then None is returned.</UserDocu>
48
      </Documentation>
49
    </Methode>
50
    <Methode Name="getPropertyOfGeometry">
51
      <Documentation>
52
        <UserDocu>getPropertyOfGeometry() -> object or None
53

54
Returns the property of the actual geometry.
55
For example for a Part feature it returns its Shape property, for a Mesh feature its
56
Mesh property and so on.
57
If an object has no such property then None is returned.
58
Unlike to getPropertyNameOfGeometry this function returns the geometry, not its name.</UserDocu>
59
      </Documentation>
60
    </Methode>
61
    <CustomAttributes />
62
  </PythonExport>
63
</GenerateModel>
64

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

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

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

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