FreeCAD

Форк
0
/
MeasureBasePyImp.cpp 
40 строк · 900.0 Байт
1
#include "PreCompiled.h"
2

3
#include "MeasureBase.h"
4

5
// Inclusion of the generated files (generated out of MeasureBasePy.xml)
6
#include "MeasureBasePy.h"
7
#include "MeasureBasePy.cpp"
8

9

10
#include <Base/GeometryPyCXX.h>
11

12

13
// returns a string which represents the object e.g. when printed in python
14
std::string MeasureBasePy::representation() const
15
{
16
    return "<Measure::MeasureBase>";
17
}
18

19
PyObject* MeasureBasePy::PyMake(struct _typeobject*, PyObject*, PyObject*)  // Python wrapper
20
{
21
    // create a new instance of MeasureBasePy and the Twin object
22
    return new MeasureBasePy(new MeasureBase);
23
}
24

25

26
// constructor method
27
int MeasureBasePy::PyInit(PyObject* /*args*/, PyObject* /*kwd*/)
28
{
29
    return 0;
30
}
31

32
PyObject* MeasureBasePy::getCustomAttributes(const char* /*attr*/) const
33
{
34
    return nullptr;
35
}
36

37
int MeasureBasePy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
38
{
39
    return 0;
40
}
41

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

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

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

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