Finally! the PathSim object is visible at freecad
This commit is contained in:
committed by
Yorik van Havre
parent
60ef98a8fe
commit
e366a3cfab
@@ -76,7 +76,6 @@ PyMOD_INIT_FUNC(PathSimulator)
|
||||
//
|
||||
PyObject* mod = PathSimulator::initModule();
|
||||
Base::Console().Log("Loading PathSimulator module.... done\n");
|
||||
PyMOD_Return(mod);
|
||||
|
||||
// Add Types to module
|
||||
Base::Interpreter().addType(&PathSimulator::PathSimPy::Type, mod, "PathSim");
|
||||
@@ -86,4 +85,5 @@ PyMOD_INIT_FUNC(PathSimulator)
|
||||
// This function is responsible for adding inherited slots from a type's base class.
|
||||
PathSimulator::PathSim::init();
|
||||
|
||||
PyMOD_Return(mod);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,24 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2017 Shai Seger <shaise at gmail> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user