diff --git a/src/Doc/CMakeLists.txt b/src/Doc/CMakeLists.txt
index 9f2c220b5d..8814adc3de 100644
--- a/src/Doc/CMakeLists.txt
+++ b/src/Doc/CMakeLists.txt
@@ -81,7 +81,6 @@ if(DOXYGEN_FOUND)
set( DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/Tools)
list(APPEND DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/Doc/sphinx)
# deprecated modules
- list(APPEND DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/Mod/Assembly)
list(APPEND DOXYGEN_EXCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/Mod/Complete)
STRING(REGEX REPLACE ";" " " DOXYGEN_EXCLUDE_LIST "${DOXYGEN_EXCLUDE_DIR}")
diff --git a/src/Mod/Assembly/App/AppAssembly.cpp b/src/Mod/Assembly/App/AppAssembly.cpp
deleted file mode 100644
index 3878b3c44c..0000000000
--- a/src/Mod/Assembly/App/AppAssembly.cpp
+++ /dev/null
@@ -1,81 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
- * *
- * 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"
-
-#include
-#include
-
-#include "Item.h"
-#include "Product.h"
-#include "ProductRef.h"
-
-#include "Constraint.h"
-#include "ConstraintGroup.h"
-
-
-extern struct PyMethodDef Assembly_methods[];
-
-PyDoc_STRVAR(module_Assembly_doc,
-"This module is the Assembly module.");
-
-
-/* Python entry */
-extern "C" {
-void AssemblyExport initAssembly()
-{
- // load dependent module
- try {
- Base::Interpreter().runString("import Part");
- //Base::Interpreter().runString("import PartDesign");
- }
- catch(const Base::Exception& e) {
- PyErr_SetString(PyExc_ImportError, e.what());
- return;
- }
- static struct PyModuleDef AssemblyAPIDef = {
- PyModuleDef_HEAD_INIT,
- "Assembly", module_Assembly_doc, -1, Assembly_methods,
- NULL, NULL, NULL, NULL
- };
- PyModule_Create(&AssemblyAPIDef);
- Base::Console().Log("Loading Assembly module... done\n");
-
-
- //dWorldID id = dWorldCreate();
- //dWorldDestroy(id);
-
- // NOTE: To finish the initialization of our own type objects we must
- // call PyType_Ready, otherwise we run into a segmentation fault, later on.
- // This function is responsible for adding inherited slots from a type's base class.
-
- // Item hierarchy
- Assembly::Item ::init();
- Assembly::Product ::init();
- Assembly::ProductRef ::init();
-
- // constraint hierarchy
- Assembly::Constraint ::init();
- Assembly::ConstraintGroup ::init();
-}
-
-} // extern "C"
diff --git a/src/Mod/Assembly/App/AppAssemblyPy.cpp b/src/Mod/Assembly/App/AppAssemblyPy.cpp
deleted file mode 100644
index 46661a7d9d..0000000000
--- a/src/Mod/Assembly/App/AppAssemblyPy.cpp
+++ /dev/null
@@ -1,87 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
- * *
- * 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"
-
-#include
-#include
-
-//#include
-
-//#include
-//#include
-//#include
-
-//#include
-
-//#include "ViewProviderBody.h"
-//#include "Utils.h"
-
-
-//static PyObject * setActiveBody(PyObject *self, PyObject *args)
-//{
-// PyObject *object=0;
-// if (PyArg_ParseTuple(args,"|O!",&(PartDesign::BodyPy::Type), &object)&& object) {
-// PartDesign::Body* Item = static_cast(object)->getBodyPtr();
-// // Should be set!
-// assert(Item);
-//
-// // Set old body inactive if we are activating another body in the same document
-// if ((PartDesignGui::ActivePartObject != NULL) &&
-// (PartDesignGui::ActivePartObject->getDocument() == Item->getDocument()))
-// PartDesignGui::ActivePartObject->IsActive.setValue(false);
-// PartDesignGui::ActivePartObject = Item;
-// PartDesignGui::ActiveAppDoc = Item->getDocument();
-// PartDesignGui::ActiveGuiDoc = Gui::Application::Instance->getDocument(PartDesignGui::ActiveAppDoc);
-// PartDesignGui::ActiveVp = dynamic_cast (PartDesignGui::ActiveGuiDoc->getViewProvider(Item));
-// PartDesignGui::ActiveVp->show();
-// Item->IsActive.setValue(true);
-// } else {
-// // This handles the case of deactivating the workbench
-// PartDesignGui::ActivePartObject=0;
-// PartDesignGui::ActiveGuiDoc =0;
-// PartDesignGui::ActiveAppDoc =0;
-// PartDesignGui::ActiveVp =0;
-// }
-//
-// Py_Return;
-//}
-//
-//static PyObject * getActiveBody(PyObject *, PyObject *)
-//{
-// if (PartDesignGui::ActivePartObject == NULL) {
-// return Py::_None();
-// }
-//
-// return PartDesignGui::ActivePartObject->getPyObject();
-//}
-
-/* registration table */
-struct PyMethodDef Assembly_methods[] = {
- //{"setActiveBody" ,setActiveBody ,METH_VARARGS,
- // "setActiveBody(BodyObject) -- Set the PartBody object in work."},
-
- //{"getActiveBody" ,getActiveBody ,METH_NOARGS,
- // "getActiveBody() -- Get the PartBody object in work."},
-
- {NULL, NULL} /* end of table marker */
-};
diff --git a/src/Mod/Assembly/App/CMakeLists.txt b/src/Mod/Assembly/App/CMakeLists.txt
deleted file mode 100644
index f291823c92..0000000000
--- a/src/Mod/Assembly/App/CMakeLists.txt
+++ /dev/null
@@ -1,124 +0,0 @@
-if(MSVC)
- add_definitions(-DHAVE_ACOSH -DHAVE_ASINH -DHAVE_ATANH)
-else(MSVC)
- add_definitions(-DHAVE_LIMITS_H -DHAVE_CONFIG_H)
-endif(MSVC)
-
-add_definitions(-DBOOST_${Boost_VERSION})
-
-include_directories(
- ${CMAKE_SOURCE_DIR}/src
- ${CMAKE_BINARY_DIR}/src
- ${CMAKE_SOURCE_DIR}/src/Mod/Assembly/App
- ${CMAKE_CURRENT_BINARY_DIR}
- ${Boost_INCLUDE_DIRS}
- ${OCC_INCLUDE_DIR}
- ${PYTHON_INCLUDE_DIRS}
- ${ZLIB_INCLUDE_DIR}
- #${ODE_INCLUDE_DIRS}
- ${EIGEN3_INCLUDE_DIR}
-
-)
-
-link_directories(${OCC_LIBRARY_DIR})
-
-set(Assembly_LIBS
- #${ODE_LIBRARIES}
- ${OCC_LIBRARIES}
- ${Boost_LIBRARIES}
- ${Boost_LOG_LIBRARY_RELEASE}
- Part
- FreeCADApp
-)
-
-generate_from_xml(ItemPy)
-generate_from_xml(ProductRefPy)
-#generate_from_xml(PartRefPy)
-generate_from_xml(ConstraintPy)
-generate_from_xml(ConstraintGroupPy)
-
-SET(Features_SRCS
- Item.cpp
- Item.h
- #PartRef.cpp
- #PartRef.h
- Product.cpp
- Product.h
- ProductRef.cpp
- ProductRef.h
- Constraint.cpp
- Constraint.h
- ConstraintGroup.cpp
- ConstraintGroup.h
-)
-SOURCE_GROUP("Features" FILES ${Features_SRCS})
-
-SET(Module_SRCS
- AppAssembly.cpp
- AppAssemblyPy.cpp
- PreCompiled.cpp
- PreCompiled.h
-)
-SOURCE_GROUP("Module" FILES ${Module_SRCS})
-
-#externalization is not possible for msvc as a stupid bug prevents the function definition resolving
-if(MSVC)
- set(Solver_SRC )
-else(MSVC)
- set(Solver_SRC Solver/solver_3d_ext1.cpp
- Solver/solver_3d_ext2.cpp
- Solver/solver_3d_ext3.cpp
- )
-
- if(FREECAD_ASSEMBLY_DEBUG_FACILITIES)
- set(Solver_SRC ${Solver_SRC}
- Solver/solver_state_ext1.cpp
- Solver/solver_state_ext2.cpp
- )
- endif(FREECAD_ASSEMBLY_DEBUG_FACILITIES)
-endif(MSVC)
-
-SOURCE_GROUP("Solver" FILES ${Solver_SRC})
-
-SET(Python_SRCS
- ItemPy.xml
- ItemPyImp.cpp
- ProductRefPy.xml
- ProductRefPyImp.cpp
- #PartRefPy.xml
- #PartRefPyImp.cpp
- ConstraintPy.xml
- ConstraintPyImp.cpp
- ConstraintGroupPy.xml
- ConstraintGroupPyImp.cpp
-)
-SOURCE_GROUP("Python" FILES ${Python_SRCS})
-
-SET(Assembly_SRCS
- ${Features_SRCS}
- ${Python_SRCS}
- ${Module_SRCS}
- ${Solver_SRC}
-)
-
-SET(Assembly_Scripts
- ../Init.py
- ../AssemblyLib.py
-)
-
-add_library(Assembly SHARED ${Assembly_SRCS} ${Assembly_Scripts})
-if(CMAKE_COMPILER_IS_GNUCXX)
- set_target_properties(Assembly PROPERTIES COMPILE_FLAGS "-fext-numeric-literals")
-endif()
-target_link_libraries(Assembly ${Assembly_LIBS} ${log_LIB})
-
-
-fc_target_copy_resource_flat(Assembly
- ${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_BINARY_DIR}/Mod/Assembly
- ${Assembly_Scripts})
-
-SET_BIN_DIR(Assembly Assembly /Mod/Assembly)
-SET_PYTHON_PREFIX_SUFFIX(Assembly)
-
-INSTALL(TARGETS Assembly DESTINATION ${CMAKE_INSTALL_LIBDIR})
diff --git a/src/Mod/Assembly/App/Constraint.cpp b/src/Mod/Assembly/App/Constraint.cpp
deleted file mode 100644
index b851c105f8..0000000000
--- a/src/Mod/Assembly/App/Constraint.cpp
+++ /dev/null
@@ -1,123 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2012 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * This file is part of the FreeCAD CAx development m_solvertem. *
- * *
- * 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"
-#ifndef _PreComp_
-#endif
-
-#include
-
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-#include
-#include
-
-#include "Constraint.h"
-#include "ConstraintPy.h"
-#include "Item.h"
-#include "Product.h"
-
-
-using namespace Assembly;
-
-namespace Assembly {
-
-struct ConstraintInitException : std::exception {
- const char* what() const throw() {
- return "Constraint cout not be initialised: unsoported geometry";
- }
-};
-struct ConstraintPartException : std::exception {
- const char* what() const throw() {
- return "Constraint cout not be initialised: parts are invalid";
- }
-};
-struct ConstraintLinkException : std::exception {
- const char* what() const throw() {
- return "Constraint cout not be initialised: unsoported link type";
- }
-};
-
-PROPERTY_SOURCE(Assembly::Constraint, App::DocumentObject)
-
-const char* Constraint::OrientationEnums[] = {"Parallel","Equal","Opposite","Perpendicular",NULL};
-const char* Constraint::TypeEnums[] = {"Fix","Distance","Orientation","Angle","Align","Coincident","None",NULL};
-const char* Constraint::SolutionSpaceEnums[] = {"Bidirectional","PositivDirectional","NegativeDirectional",NULL};
-
-Constraint::Constraint()
-{
- ADD_PROPERTY(First, (0));
- ADD_PROPERTY(Second,(0));
- ADD_PROPERTY(Value,(0));
- ADD_PROPERTY(Orientation, (long(0)));
- Orientation.setEnums(OrientationEnums);
- ADD_PROPERTY(Type, (long(6)));
- Type.setEnums(TypeEnums);
- ADD_PROPERTY(SolutionSpace, (long(0)));
- SolutionSpace.setEnums(SolutionSpaceEnums);
-}
-
-short Constraint::mustExecute() const
-{
- //if (Sketch.isTouched() ||
- // Length.isTouched())
- // return 1;
- return 0;
-}
-
-App::DocumentObjectExecReturn* Constraint::execute(void)
-{
- return App::DocumentObject::StdReturn;
-}
-
-
-PyObject* Constraint::getPyObject(void)
-{
- if(PythonObject.is(Py::_None())) {
- // ref counter is set to 1
- PythonObject = Py::Object(new ConstraintPy(this),true);
- }
-
- return Py::new_reference_to(PythonObject);
-}
-
-
-}
-
-
-
diff --git a/src/Mod/Assembly/App/Constraint.h b/src/Mod/Assembly/App/Constraint.h
deleted file mode 100644
index b40f9f8866..0000000000
--- a/src/Mod/Assembly/App/Constraint.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2012 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * 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 *
- * *
- ***************************************************************************/
-
-
-#ifndef Assembly_Constraint_H
-#define Assembly_Constraint_H
-
-#include
-#include
-
-#include
-
-#include "Solver/Solver.h"
-#include "Product.h"
-
-
-namespace Assembly
-{
-
-class AssemblyExport Constraint : public App::DocumentObject
-{
- PROPERTY_HEADER(Assembly::Constraint);
-
-public:
- Constraint();
-
- App::PropertyLinkSub First;
- App::PropertyLinkSub Second;
- App::PropertyFloat Value;
- App::PropertyEnumeration Orientation;
- App::PropertyEnumeration SolutionSpace;
- App::PropertyEnumeration Type;
-
- /** @name methods override feature */
- //@{
- /// recalculate the feature
- App::DocumentObjectExecReturn *execute(void);
- short mustExecute() const;
- /// returns the type name of the view provider
- const char* getViewProviderName(void) const {
- return "AssemblyGui::ViewProviderConstraint";
- }
- PyObject *getPyObject(void);
-
-private:
- static const char* OrientationEnums[];
- static const char* TypeEnums[];
- static const char* SolutionSpaceEnums[];
-};
-
-} //namespace Assembly
-
-
-#endif // Assembly_Constraint_H
diff --git a/src/Mod/Assembly/App/ConstraintGroup.cpp b/src/Mod/Assembly/App/ConstraintGroup.cpp
deleted file mode 100644
index fe9894a535..0000000000
--- a/src/Mod/Assembly/App/ConstraintGroup.cpp
+++ /dev/null
@@ -1,76 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2010 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * 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"
-#ifndef _PreComp_
-#endif
-
-#include
-#include
-
-#include "ConstraintGroupPy.h"
-#include "ConstraintGroup.h"
-#include "Product.h"
-
-
-using namespace Assembly;
-
-namespace Assembly {
-
-
-PROPERTY_SOURCE(Assembly::ConstraintGroup, App::DocumentObject)
-
-ConstraintGroup::ConstraintGroup()
-{
- ADD_PROPERTY(Constraints,(0));
-}
-
-PyObject *ConstraintGroup::getPyObject(void)
-{
- if (PythonObject.is(Py::_None())){
- // ref counter is set to 1
- PythonObject = Py::Object(new ConstraintGroupPy(this),true);
- }
- return Py::new_reference_to(PythonObject);
-}
-
-
-short ConstraintGroup::mustExecute() const
-{
- //if (Sketch.isTouched() ||
- // Length.isTouched())
- // return 1;
- return 0;
-}
-
-App::DocumentObjectExecReturn *ConstraintGroup::execute(void)
-{
-
- touch();
- return App::DocumentObject::StdReturn;
-}
-
-
-
-}
diff --git a/src/Mod/Assembly/App/ConstraintGroup.h b/src/Mod/Assembly/App/ConstraintGroup.h
deleted file mode 100644
index 1fa281cd79..0000000000
--- a/src/Mod/Assembly/App/ConstraintGroup.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2010 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * 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 *
- * *
- ***************************************************************************/
-
-
-#ifndef Assembly_ConstraintGroup_H
-#define Assembly_ConstraintGroup_H
-
-#include
-#include
-#include
-
-#include "Constraint.h"
-#include "Solver/Solver.h"
-
-namespace Assembly
-{
-
-class AssemblyExport ConstraintGroup : public App::DocumentObject
-{
- PROPERTY_HEADER(Assembly::ConstraintGroup);
-
-public:
- ConstraintGroup();
-
- PyObject *getPyObject(void);
-
- App::PropertyLinkList Constraints;
-
- /** @name methods override feature */
- //@{
- /// recalculate the feature
- App::DocumentObjectExecReturn *execute(void);
- short mustExecute() const;
- /// returns the type name of the view provider
- const char* getViewProviderName(void) const {
- return "AssemblyGui::ViewProviderConstraintGroup";
- }
- //@}
-
-};
-
-} //namespace Assembly
-
-
-#endif // Assembly_ConstraintGroup_H
diff --git a/src/Mod/Assembly/App/ConstraintGroupPy.xml b/src/Mod/Assembly/App/ConstraintGroupPy.xml
deleted file mode 100644
index fbc07d2f82..0000000000
--- a/src/Mod/Assembly/App/ConstraintGroupPy.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
- Base class of all objects in Assembly
-
-
-
-
-
diff --git a/src/Mod/Assembly/App/ConstraintGroupPyImp.cpp b/src/Mod/Assembly/App/ConstraintGroupPyImp.cpp
deleted file mode 100644
index 470390bc08..0000000000
--- a/src/Mod/Assembly/App/ConstraintGroupPyImp.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2010 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * 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"
-
-#include "Mod/Assembly/App/ConstraintGroup.h"
-#include "Mod/Assembly/App/ConstraintPy.h"
-
-// inclusion of the generated files (generated out of ConstraintGroupPy.xml)
-#include "ConstraintGroupPy.h"
-#include "ConstraintGroupPy.cpp"
-
-using namespace Assembly;
-
-// returns a string which represents the object e.g. when printed in python
-std::string ConstraintGroupPy::representation(void) const
-{
- return std::string("");
-}
-
-PyObject *ConstraintGroupPy::getCustomAttributes(const char* /*attr*/) const
-{
- return 0;
-}
-
-int ConstraintGroupPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
-{
- return 0;
-}
-
-
diff --git a/src/Mod/Assembly/App/ConstraintPy.xml b/src/Mod/Assembly/App/ConstraintPy.xml
deleted file mode 100644
index 4995027614..0000000000
--- a/src/Mod/Assembly/App/ConstraintPy.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
- Base class of all objects in Assembly
-
-
-
diff --git a/src/Mod/Assembly/App/ConstraintPyImp.cpp b/src/Mod/Assembly/App/ConstraintPyImp.cpp
deleted file mode 100644
index 3c835334cd..0000000000
--- a/src/Mod/Assembly/App/ConstraintPyImp.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2012 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * This file is part of the FreeCAD CAx development m_solvertem. *
- * *
- * 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"
-
-#include "Mod/Assembly/App/Constraint.h"
-
-// inclusion of the generated files (generated out of ItemAssemblyPy.xml)
-#include "ConstraintPy.h"
-#include "ConstraintPy.cpp"
-
-using namespace Assembly;
-
-// returns a string which represents the object e.g. when printed in python
-std::string ConstraintPy::representation(void) const
-{
- return std::string("");
-}
-
-
-PyObject *ConstraintPy::getCustomAttributes(const char* /*attr*/) const
-{
- return 0;
-}
-
-int ConstraintPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
-{
- return 0;
-}
-
-
diff --git a/src/Mod/Assembly/App/Item.cpp b/src/Mod/Assembly/App/Item.cpp
deleted file mode 100644
index b9b743a6e1..0000000000
--- a/src/Mod/Assembly/App/Item.cpp
+++ /dev/null
@@ -1,74 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2010 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * 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"
-#ifndef _PreComp_
-#endif
-
-#include
-#include
-#include
-
-#include "Item.h"
-#include "ItemPy.h"
-#include
-
-using namespace Assembly;
-
-namespace Assembly {
-
-
-PROPERTY_SOURCE_ABSTRACT(Assembly::Item, App::GeoFeature)
-
-Item::Item()
-{
- ADD_PROPERTY_TYPE(Meta, (), 0, App::Prop_None, "Map with additional meta information");
-
-}
-
-short Item::mustExecute() const
-{
- //if (Sketch.isTouched() ||
- // Length.isTouched())
- // return 1;
- return 0;
-}
-
-App::DocumentObjectExecReturn *Item::execute(void)
-{
-
- Base::Console().Message("Recalculate Assembly::Item\n");
- return App::DocumentObject::StdReturn;
-}
-
-PyObject *Item::getPyObject(void)
-{
- if (PythonObject.is(Py::_None())){
- // ref counter is set to 1
- PythonObject = Py::Object(new ItemPy(this),true);
- }
- return Py::new_reference_to(PythonObject);
-}
-
-}
\ No newline at end of file
diff --git a/src/Mod/Assembly/App/Item.h b/src/Mod/Assembly/App/Item.h
deleted file mode 100644
index b85edd2bea..0000000000
--- a/src/Mod/Assembly/App/Item.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2010 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * 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 *
- * *
- ***************************************************************************/
-
-
-#ifndef Assembly_Item_H
-#define Assembly_Item_H
-
-#include
-#include
-#include
-
-namespace Assembly
-{
-
-/// Base class of all Assembly objects
-class AssemblyExport Item : public App::GeoFeature
-{
- PROPERTY_HEADER(Assembly::Item);
-
-public:
- Item();
- ~Item() {};
-
- /// Meta descriptions
- App::PropertyMap Meta;
-
- /** @name methods override feature */
- //@{
- /// recalculate the feature
- App::DocumentObjectExecReturn *execute(void);
- short mustExecute() const;
- /// returns the type name of the view provider
- const char* getViewProviderName(void) const {
- return "AssemblyGui::ViewProviderItem";
- }
- //@}
-
- PyObject *getPyObject(void);
-
-};
-
-} //namespace Assembly
-
-
-#endif // ASSEMBLY_Item_H
diff --git a/src/Mod/Assembly/App/ItemPy.xml b/src/Mod/Assembly/App/ItemPy.xml
deleted file mode 100644
index d9bca2eea4..0000000000
--- a/src/Mod/Assembly/App/ItemPy.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
- Base class of all objects in Assembly
-
-
-
diff --git a/src/Mod/Assembly/App/ItemPyImp.cpp b/src/Mod/Assembly/App/ItemPyImp.cpp
deleted file mode 100644
index bdab3e715c..0000000000
--- a/src/Mod/Assembly/App/ItemPyImp.cpp
+++ /dev/null
@@ -1,57 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2010 Juergen Riegel *
- * Copyright (c) 2013 Stefan Tröger *
- * *
- * 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"
-
-#include "Mod/Assembly/App/Item.h"
-
-// inclusion of the generated files (generated out of ItemPy.xml)
-#include "ItemPy.h"
-#include "ItemPy.cpp"
-
-using namespace Assembly;
-
-// returns a string which represents the object e.g. when printed in python
-std::string ItemPy::representation(void) const
-{
- return std::string("- ");
-}
-
-
-
-
-
-
-
-PyObject *ItemPy::getCustomAttributes(const char* /*attr*/) const
-{
- return 0;
-}
-
-int ItemPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
-{
- return 0;
-}
-
-
diff --git a/src/Mod/Assembly/App/PartRef.cpp b/src/Mod/Assembly/App/PartRef.cpp
deleted file mode 100644
index a1199636fd..0000000000
--- a/src/Mod/Assembly/App/PartRef.cpp
+++ /dev/null
@@ -1,233 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2012 Juergen Riegel *
- * *
- * 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"
-#ifndef _PreComp_
-#endif
-
-#include
-#include
-
-#include "PartRef.h"
-#include "Product.h"
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-
-using namespace Assembly;
-
-namespace Assembly {
-
-struct AssemblyItemException : std::exception {
- const char* what() const throw() { return "Assembly items are in wrong structure";}
-};
-
-
-PROPERTY_SOURCE(Assembly::PartRef, App::GeoFeature)
-
-PartRef::PartRef() {
- ADD_PROPERTY(Model, (0));
- ADD_PROPERTY(Annotation,(0));
-}
-
-short PartRef::mustExecute() const {
- //if (Sketch.isTouched() ||
- // Length.isTouched())
- // return 1;
- return 0;
-}
-
-App::DocumentObjectExecReturn* PartRef::execute(void) {
-
- this->touch();
- return App::DocumentObject::StdReturn;
-}
-
-TopoDS_Shape PartRef::getShape(void) const {
- App::DocumentObject* obj = Model.getValue();
-
- if(obj->getTypeId().isDerivedFrom(Part::Feature::getClassTypeId())) {
- return static_cast(obj)->Shape.getValue();
- }
-
- return TopoDS_Shape();
-}
-
-PyObject* PartRef::getPyObject(void) {
- if(PythonObject.is(Py::_None())) {
- // ref counter is set to 1
- PythonObject = Py::Object(new PartRefPy(this),true);
- }
- return Py::new_reference_to(PythonObject);
-}
-
-bool PartRef::holdsObject(App::DocumentObject* obj) const {
-
- //get the body object and the relevant model list
- Part::BodyBase* base = static_cast(Model.getValue());
- const std::vector& vector = base->Model.getValues();
-
- //check if it holds the relevant document object
- return std::find(vector.begin(), vector.end(), obj)!=vector.end();
-}
-
-void PartRef::setCalculatedPlacement(std::shared_ptr< Part3D > part) {
-
- //part is the same as m_part, so it doesn't matter which one we use
- Base::Placement p = dcm::get(part);
-
- Product* ass = getParentAssembly();
- if(!ass)
- throw AssemblyItemException();
-
- if(ass->Rigid.getValue())
- Placement.setValue(p);
- else
- Placement.setValue(ass->m_downstream_placement.inverse()*p);
-}
-
-Product* PartRef::getParentAssembly() {
-
- typedef std::vector::const_iterator iter;
-
- const std::vector& vector = getInList();
- for(iter it=vector.begin(); it != vector.end(); it++) {
-
- if((*it)->getTypeId() == Assembly::Product::getClassTypeId())
- return static_cast(*it);
- };
-
- return (Product*)NULL;
-}
-
-void PartRef::ensureInitialisation() {
-
- Product* ass = getParentAssembly();
- if(!ass)
- throw AssemblyItemException();
-
- std::shared_ptr solver = ass->m_solver;
- if(!solver)
- throw AssemblyItemException();
-
- if(!solver->hasPart(Uid.getValueStr())) {
-
- //if the assembly is not rigid it was not added to the solver, so we need to incorporate its placement
- if(ass->Rigid.getValue()) {
- m_part = solver->createPart(Placement.getValue(), Uid.getValueStr());
- }
- else {
- m_part = solver->createPart(ass->m_downstream_placement*Placement.getValue(), Uid.getValueStr());
- }
- m_part->connectSignal(boost::bind(&PartRef::setCalculatedPlacement, this, _1));
- };
-}
-
-
-std::shared_ptr< Geometry3D > PartRef::getGeometry3D(const char* Type) {
-
- //check if the item is initialized
- if(!m_part)
- return std::shared_ptr< Geometry3D >();
-
- std::shared_ptr geometry;
- if(m_part->hasGeometry3D(Type)) {
- return m_part->getGeometry3D(Type);
- }
- else {
- Part::TopoShape ts;
- App::DocumentObject* obj = Model.getValue();
-
- if(obj->getTypeId().isDerivedFrom(Part::Feature::getClassTypeId())) {
- ts = static_cast(obj)->Shape.getShape();
- }
- else
- return std::shared_ptr< Geometry3D >();
-
- TopoDS_Shape s = ts.getSubShape(Type);
- if(s.ShapeType() == TopAbs_FACE) {
- TopoDS_Face face = TopoDS::Face(s);
- BRepAdaptor_Surface surface(face);
- switch(surface.GetType()) {
- case GeomAbs_Plane: {
- gp_Pln plane = surface.Plane();
- if(face.Orientation()==TopAbs_REVERSED) {
- gp_Dir dir = plane.Axis().Direction();
- plane = gp_Pln(plane.Location(), dir.Reversed());
- }
- geometry = m_part->addGeometry3D(plane, Type, dcm::Local);
- break;
- }
- case GeomAbs_Cylinder: {
- gp_Cylinder cyl = surface.Cylinder();
- geometry = m_part->addGeometry3D(cyl, Type, dcm::Local);
- break;
- }
- default:
- Base::Console().Message("Unsupported Surface Geometry Type at selection\n");
- return std::shared_ptr< Geometry3D >();
- }
-
- }
- else
- if(s.ShapeType() == TopAbs_EDGE) {
- TopoDS_Edge edge = TopoDS::Edge(s);
- BRepAdaptor_Curve curve(edge);
- switch(curve.GetType()) {
- case GeomAbs_Line: {
- gp_Lin line = curve.Line();
- geometry = m_part->addGeometry3D(line, Type, dcm::Local);
- break;
- }
- default:
- Base::Console().Message("Unsupported Curve Geometry Type at selection \n");
- return std::shared_ptr< Geometry3D >();
- }
-
- }
- else
- if(s.ShapeType() == TopAbs_VERTEX) {
- TopoDS_Vertex v1 = TopoDS::Vertex(s);
- gp_Pnt point = BRep_Tool::Pnt(v1);
- geometry = m_part->addGeometry3D(point, Type, dcm::Local);
-
- }
- else {
- Base::Console().Message("Unsupported Topology Type at selection\n");
- return std::shared_ptr< Geometry3D >();
- }
- };
-
- return geometry;
-}
-
-}
diff --git a/src/Mod/Assembly/App/PartRef.h b/src/Mod/Assembly/App/PartRef.h
deleted file mode 100644
index b9dacda3d4..0000000000
--- a/src/Mod/Assembly/App/PartRef.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2012 Juergen Riegel *
- * *
- * 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 *
- * *
- ***************************************************************************/
-
-
-#ifndef Assembly_ItemPart_H
-#define Assembly_ItemPart_H
-
-#include
-#include
-
-#include "Solver/Solver.h"
-
-
-namespace Assembly
-{
-
-class Product;
-
-class AssemblyExport PartRef : public App::GeoFeature
-{
- PROPERTY_HEADER(Assembly::PartRef);
-
-public:
- PartRef();
-
- App::PropertyLink Item;
- //App::PropertyLinkList Annotation;
-
- /** @name methods override feature */
- //@{
- /// recalculate the feature
- App::DocumentObjectExecReturn *execute(void);
- short mustExecute() const;
- // returns the type name of the view provider
- const char* getViewProviderName(void) const {
- return "AssemblyGui::ViewProviderItemPart";
- }
- PyObject *getPyObject(void);
- //@}
-
- //virtual TopoDS_Shape getShape(void) const;
-
- bool holdsObject(App::DocumentObject* obj) const;
- Product* getParentAssembly();
- void ensureInitialisation();
-
- std::shared_ptr m_part;
- virtual std::shared_ptr getGeometry3D(const char* Type );
- void setCalculatedPlacement( std::shared_ptr part );
-};
-
-} //namespace Assembly
-
-
-#endif // Assembly_ItemPart_H
diff --git a/src/Mod/Assembly/App/PartRefPy.xml b/src/Mod/Assembly/App/PartRefPy.xml
deleted file mode 100644
index 7b03125805..0000000000
--- a/src/Mod/Assembly/App/PartRefPy.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
- Base class of all objects in Assembly
-
-
-
diff --git a/src/Mod/Assembly/App/PartRefPyImp.cpp b/src/Mod/Assembly/App/PartRefPyImp.cpp
deleted file mode 100644
index 75a5c63c0f..0000000000
--- a/src/Mod/Assembly/App/PartRefPyImp.cpp
+++ /dev/null
@@ -1,56 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2012 Juergen Riegel *
- * *
- * 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"
-
-#include "Mod/Assembly/App/PartRef.h"
-
-// inclusion of the generated files (generated out of PartRefPy.xml)
-#include "PartRefPy.h"
-#include "PartRefPy.cpp"
-
-using namespace Assembly;
-
-// returns a string which represents the object e.g. when printed in python
-std::string PartRefPy::representation(void) const
-{
- return std::string("");
-}
-
-
-
-
-
-
-
-PyObject *PartRefPy::getCustomAttributes(const char* /*attr*/) const
-{
- return 0;
-}
-
-int PartRefPy::setCustomAttributes(const char* /*attr*/, PyObject* /*obj*/)
-{
- return 0;
-}
-
-
diff --git a/src/Mod/Assembly/App/PreCompiled.cpp b/src/Mod/Assembly/App/PreCompiled.cpp
deleted file mode 100644
index 46269e9671..0000000000
--- a/src/Mod/Assembly/App/PreCompiled.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
- * *
- * 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"
diff --git a/src/Mod/Assembly/App/PreCompiled.h b/src/Mod/Assembly/App/PreCompiled.h
deleted file mode 100644
index b7c175278d..0000000000
--- a/src/Mod/Assembly/App/PreCompiled.h
+++ /dev/null
@@ -1,242 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) *
- * *
- * 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 *
- * *
- ***************************************************************************/
-
-
-#ifndef ASSEMBLY_PRECOMPILED_H
-#define ASSEMBLY_PRECOMPILED_H
-
-#include
-
-// Exporting of App classes
-#ifdef FC_OS_WIN32
-# define AssemblyExport __declspec(dllexport)
-# define PartExport __declspec(dllimport)
-# define MeshExport __declspec(dllimport)
-#else // for Linux
-# define AssemblyExport
-# define PartExport
-# define MeshExport
-#endif
-
-#ifdef _PreComp_
-
-// standard
-#include
-#include
-#include
-#include
-#include
-#include