[Part] FaceMaker, Command and Extrusion: remove unused includes
This commit is contained in:
@@ -23,33 +23,27 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <cmath>
|
||||
# include <BRepAlgoAPI_Cut.hxx>
|
||||
# include <BRepBuilderAPI_MakeWire.hxx>
|
||||
# include <BRepBuilderAPI_MakeFace.hxx>
|
||||
# include <BRepBuilderAPI_MakeWire.hxx>
|
||||
# include <BRepBuilderAPI_Sewing.hxx>
|
||||
# include <BRepBuilderAPI_MakeSolid.hxx>
|
||||
# include <BRepClass3d_SolidClassifier.hxx>
|
||||
# include <BRepGProp.hxx>
|
||||
# include <BRepOffsetAPI_MakeOffset.hxx>
|
||||
# include <BRepOffsetAPI_ThruSections.hxx>
|
||||
# include <BRepPrimAPI_MakePrism.hxx>
|
||||
# include <gp_Ax1.hxx>
|
||||
# include <gp_Dir.hxx>
|
||||
# include <gp_Trsf.hxx>
|
||||
# include <GProp_GProps.hxx>
|
||||
# include <Precision.hxx>
|
||||
# include <ShapeAnalysis.hxx>
|
||||
# include <ShapeFix_Wire.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Iterator.hxx>
|
||||
# include <TopExp.hxx>
|
||||
# include <TopExp_Explorer.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
#endif
|
||||
|
||||
#include "ExtrusionHelper.h"
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "FeatureExtrusion.h"
|
||||
|
||||
using namespace Part;
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#define PART_EXTRUSIONHELPER_H
|
||||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <gp_Dir.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
|
||||
@@ -22,20 +22,19 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Iterator.hxx>
|
||||
# include <BRep_Builder.hxx>
|
||||
# include <BRepBuilderAPI_MakeWire.hxx>
|
||||
# include <BRepBuilderAPI_MakeFace.hxx>
|
||||
# include <BRep_Tool.hxx>
|
||||
# include <BRepBuilderAPI_MakeWire.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Builder.hxx>
|
||||
# include <TopoDS_Iterator.hxx>
|
||||
# include <QtGlobal>
|
||||
#endif
|
||||
|
||||
#include "FaceMaker.h"
|
||||
|
||||
#include "TopoShape.h"
|
||||
#include <memory>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include "FaceMaker.h"
|
||||
#include "TopoShape.h"
|
||||
|
||||
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::FaceMaker, Base::BaseClass)
|
||||
TYPESYSTEM_SOURCE_ABSTRACT(Part::FaceMakerPublic, Part::FaceMaker)
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
|
||||
#include <BRepBuilderAPI_MakeShape.hxx>
|
||||
#include <Base/BaseClass.h>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#include <TopoDS_Compound.hxx>
|
||||
#include <TopoDS_Face.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -23,40 +23,27 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Bnd_Box.hxx>
|
||||
# include <BRepBndLib.hxx>
|
||||
# include <BRep_Builder.hxx>
|
||||
# include <BRep_Tool.hxx>
|
||||
# include <BRepAdaptor_Surface.hxx>
|
||||
# include <BRepBuilderAPI_Copy.hxx>
|
||||
# include <BRepBuilderAPI_MakeFace.hxx>
|
||||
# include <BRepCheck_Analyzer.hxx>
|
||||
# include <BRepClass_FaceClassifier.hxx>
|
||||
# include <BRepLib_FindSurface.hxx>
|
||||
# include <Geom_Plane.hxx>
|
||||
# include <GeomAPI_ProjectPointOnSurf.hxx>
|
||||
# include <IntTools_FClass2d.hxx>
|
||||
# include <Precision.hxx>
|
||||
# include <ShapeAnalysis.hxx>
|
||||
# include <ShapeAnalysis_Surface.hxx>
|
||||
# include <ShapeExtend_Explorer.hxx>
|
||||
# include <ShapeFix_Shape.hxx>
|
||||
# include <ShapeFix_Wire.hxx>
|
||||
# include <Standard_Failure.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopExp_Explorer.hxx>
|
||||
# include <TopTools_IndexedMapOfShape.hxx>
|
||||
# include <TopTools_HSequenceOfShape.hxx>
|
||||
# include <BRepBuilderAPI_Copy.hxx>
|
||||
# include <QtGlobal>
|
||||
#endif
|
||||
|
||||
#include "FaceMakerBullseye.h"
|
||||
#include "FaceMakerCheese.h"
|
||||
|
||||
#include "TopoShape.h"
|
||||
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::FaceMakerBullseye, Part::FaceMakerPublic)
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#define PART_FACEMAKER_BULLSEYE_H
|
||||
|
||||
#include "FaceMaker.h"
|
||||
#include <list>
|
||||
|
||||
#include <Geom_Surface.hxx>
|
||||
#include <gp_Pln.hxx>
|
||||
|
||||
@@ -24,14 +24,13 @@
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Bnd_Box.hxx>
|
||||
# include <BRepBndLib.hxx>
|
||||
# include <BRep_Builder.hxx>
|
||||
# include <BRep_Tool.hxx>
|
||||
# include <BRepAdaptor_Surface.hxx>
|
||||
# include <BRepCheck_Analyzer.hxx>
|
||||
# include <BRepBuilderAPI_MakeFace.hxx>
|
||||
# include <BRepCheck_Analyzer.hxx>
|
||||
# include <BRepBndLib.hxx>
|
||||
# include <Geom_Plane.hxx>
|
||||
# include <gp_Pln.hxx>
|
||||
# include <IntTools_FClass2d.hxx>
|
||||
# include <Precision.hxx>
|
||||
# include <ShapeAnalysis.hxx>
|
||||
@@ -49,7 +48,6 @@
|
||||
#include "FaceMakerCheese.h"
|
||||
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
TYPESYSTEM_SOURCE(Part::FaceMakerCheese, Part::FaceMakerPublic)
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
|
||||
#include "FaceMaker.h"
|
||||
#include <list>
|
||||
#include <functional>
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
@@ -23,34 +23,29 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <cmath>
|
||||
# include <BRepAdaptor_Surface.hxx>
|
||||
# include <BRepAdaptor_Curve.hxx>
|
||||
# include <BRepAlgoAPI_Cut.hxx>
|
||||
# include <BRepBuilderAPI_Copy.hxx>
|
||||
# include <BRepBuilderAPI_MakeWire.hxx>
|
||||
# include <BRepClass3d_SolidClassifier.hxx>
|
||||
# include <BRepLib_FindSurface.hxx>
|
||||
# include <BRepPrimAPI_MakePrism.hxx>
|
||||
# include <gp_Pln.hxx>
|
||||
# include <gp_Trsf.hxx>
|
||||
# include <Precision.hxx>
|
||||
# include <ShapeAnalysis.hxx>
|
||||
# include <ShapeFix_Wire.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopoDS_Iterator.hxx>
|
||||
# include <TopExp.hxx>
|
||||
# include <TopExp_Explorer.hxx>
|
||||
# include <TopoDS.hxx>
|
||||
# include <TopTools_IndexedMapOfShape.hxx>
|
||||
#endif
|
||||
|
||||
#include "FeatureExtrusion.h"
|
||||
#include <App/Application.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include "FeatureExtrusion.h"
|
||||
#include "ExtrusionHelper.h"
|
||||
#include "Part2DObject.h"
|
||||
|
||||
|
||||
using namespace Part;
|
||||
|
||||
PROPERTY_SOURCE(Part::Extrusion, Part::Feature)
|
||||
|
||||
@@ -26,9 +26,9 @@
|
||||
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyUnits.h>
|
||||
|
||||
#include "PartFeature.h"
|
||||
#include "FaceMakerCheese.h"
|
||||
#include <TopoDS_Face.hxx>
|
||||
|
||||
namespace Part
|
||||
{
|
||||
|
||||
@@ -25,17 +25,14 @@
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <QApplication>
|
||||
# include <QDir>
|
||||
# include <QFileInfo>
|
||||
# include <QLineEdit>
|
||||
#endif
|
||||
|
||||
#include <App/Part.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/Document.h>
|
||||
|
||||
|
||||
//===========================================================================
|
||||
// Utils
|
||||
//===========================================================================
|
||||
|
||||
@@ -23,25 +23,17 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QDir>
|
||||
# include <QFileInfo>
|
||||
# include <QLineEdit>
|
||||
# include <QInputDialog>
|
||||
# include <Standard_math.hxx>
|
||||
#endif
|
||||
|
||||
#include <Base/Exception.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Document.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/Selection.h>
|
||||
#include <Gui/WaitCursor.h>
|
||||
|
||||
#include "../App/PartFeature.h"
|
||||
#include "../App/TopoShape.h"
|
||||
#include "DlgPartCylinderImp.h"
|
||||
#include "ShapeFromMesh.h"
|
||||
|
||||
|
||||
@@ -23,18 +23,11 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <QAction>
|
||||
# include <QMenu>
|
||||
#endif
|
||||
|
||||
#include <App/Document.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <App/Document.h>
|
||||
#include <Gui/Command.h>
|
||||
|
||||
#include <Mod/Part/App/PartFeature.h>
|
||||
|
||||
#include "ViewProvider.h"
|
||||
|
||||
|
||||
|
||||
@@ -23,9 +23,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
#endif
|
||||
|
||||
#include "ViewProviderExtrusion.h"
|
||||
#include <Mod/Part/App/FeatureExtrusion.h>
|
||||
|
||||
|
||||
@@ -23,10 +23,6 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <qobject.h>
|
||||
#endif
|
||||
|
||||
#include "Workbench.h"
|
||||
#include <Gui/MenuManager.h>
|
||||
#include <Gui/ToolBarManager.h>
|
||||
|
||||
Reference in New Issue
Block a user