Base: add Precision class

and move the Python binding from Part to Base module
This commit is contained in:
wmayer
2022-07-30 17:10:56 +02:00
parent 3811685826
commit bd5ef26536
6 changed files with 15 additions and 11 deletions

View File

@@ -89,6 +89,7 @@ generate_from_xml(PlacementPy)
generate_from_xml(AxisPy)
generate_from_xml(UnitPy)
generate_from_xml(QuantityPy)
generate_from_xml(PrecisionPy)
generate_from_any(Parameter.xsd Parameter.inl xmlSchemeString)
if(SWIG_FOUND)
@@ -175,6 +176,7 @@ SET(FreeCADBase_XML_SRCS
QuantityPy.xml
TypePy.xml
UnitPy.xml
PrecisionPy.xml
)
SOURCE_GROUP("XML" FILES ${FreeCADBase_XML_SRCS})
@@ -250,6 +252,7 @@ SET(FreeCADBase_CPP_SRCS
PersistencePyImp.cpp
Placement.cpp
PlacementPyImp.cpp
PrecisionPyImp.cpp
PyExport.cpp
PyObjectBase.cpp
QtTools.cpp
@@ -313,6 +316,7 @@ SET(FreeCADBase_HPP_SRCS
Parameter.h
Persistence.h
Placement.h
Precision.h
PyExport.h
PyObjectBase.h
QtTools.h