Part: move ChFi2d wrappers to own sub-directory

This commit is contained in:
wmayer
2022-05-29 11:05:55 +02:00
parent d6981c228a
commit 409ae97fc1
6 changed files with 20 additions and 12 deletions

View File

@@ -51,8 +51,8 @@
#include "Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.h"
#include "Mod/Part/App/BSplineCurvePy.h"
#include "Mod/Part/App/BSplineSurfacePy.h"
#include <Mod/Part/App/ChFi2d_FilletAlgoPy.h>
#include <Mod/Part/App/ChFi2d_FilletAPIPy.h>
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAlgoPy.h>
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAPIPy.h>
#include "Mod/Part/App/CirclePy.h"
#include "Mod/Part/App/ConePy.h"
#include "Mod/Part/App/ConicPy.h"

View File

@@ -91,12 +91,11 @@ generate_from_xml(TopoShapeVertexPy)
generate_from_xml(TopoShapeWirePy)
generate_from_xml(BRepOffsetAPI_MakePipeShellPy)
generate_from_xml(BRepOffsetAPI_MakeFillingPy)
generate_from_xml(ChFi2d_FilletAlgoPy)
generate_from_xml(ChFi2d_FilletAPIPy)
generate_from_xml(PrecisionPy)
# make sure to create the directory at configure time
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/BRepFeat)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ChFi2d)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Geom2d)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/GeomPlate)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/HLRBRep)
@@ -104,6 +103,9 @@ file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/ShapeUpgrade)
generate_from_xml(BRepFeat/MakePrismPy)
generate_from_xml(ChFi2d/ChFi2d_FilletAlgoPy)
generate_from_xml(ChFi2d/ChFi2d_FilletAPIPy)
generate_from_xml(Geom2d/ArcOfCircle2dPy)
generate_from_xml(Geom2d/ArcOfConic2dPy)
generate_from_xml(Geom2d/ArcOfEllipse2dPy)
@@ -320,10 +322,6 @@ SET(Python_SRCS
BRepOffsetAPI_MakePipeShellPyImp.cpp
BRepOffsetAPI_MakeFillingPy.xml
BRepOffsetAPI_MakeFillingPyImp.cpp
ChFi2d_FilletAlgoPy.xml
ChFi2d_FilletAlgoPyImp.cpp
ChFi2d_FilletAPIPy.xml
ChFi2d_FilletAPIPyImp.cpp
PrecisionPy.xml
PrecisionPyImp.cpp
PartPyCXX.cpp
@@ -338,6 +336,15 @@ SET(BRepFeatPy_SRCS
)
SOURCE_GROUP("BRepFeat" FILES ${BRepFeatPy_SRCS})
# ChFi2d wrappers
SET(ChFi2dPy_SRCS
ChFi2d/ChFi2d_FilletAlgoPy.xml
ChFi2d/ChFi2d_FilletAlgoPyImp.cpp
ChFi2d/ChFi2d_FilletAPIPy.xml
ChFi2d/ChFi2d_FilletAPIPyImp.cpp
)
SOURCE_GROUP("ChFi2d" FILES ${ChFi2dPy_SRCS})
# Geom2d wrappers
SET(Geom2dPy_SRCS
Geom2d/ArcOfCircle2dPy.xml
@@ -417,6 +424,7 @@ SET(Part_SRCS
${Properties_SRCS}
${Python_SRCS}
${BRepFeatPy_SRCS}
${ChFi2dPy_SRCS}
${Geom2dPy_SRCS}
${GeomPlatePy_SRCS}
${HLRBRepPy_SRCS}

View File

@@ -30,8 +30,8 @@
# include <TopoDS_Wire.hxx>
#endif
#include <Mod/Part/App/ChFi2d_FilletAPIPy.h>
#include <Mod/Part/App/ChFi2d_FilletAPIPy.cpp>
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAPIPy.h>
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAPIPy.cpp>
#include <Mod/Part/App/TopoShapeEdgePy.h>
#include <Mod/Part/App/TopoShapeWirePy.h>
#include <Mod/Part/App/Geometry.h>

View File

@@ -30,8 +30,8 @@
# include <TopoDS_Wire.hxx>
#endif
#include <Mod/Part/App/ChFi2d_FilletAlgoPy.h>
#include <Mod/Part/App/ChFi2d_FilletAlgoPy.cpp>
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAlgoPy.h>
#include <Mod/Part/App/ChFi2d/ChFi2d_FilletAlgoPy.cpp>
#include <Mod/Part/App/TopoShapeEdgePy.h>
#include <Mod/Part/App/TopoShapeWirePy.h>
#include <Mod/Part/App/Geometry.h>