[Mesh] Feature*: remove unused includes

- also some sorting
This commit is contained in:
Uwe
2022-11-11 13:39:28 +01:00
parent 21f47cf2ec
commit dbff8faef6
19 changed files with 61 additions and 156 deletions

View File

@@ -20,21 +20,10 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
#endif
#include <Base/Console.h>
#include <Base/Exception.h>
#include <Base/Sequencer.h>
#include <Base/Matrix.h>
#include <Base/Vector3D.h>
#include "FeatureMeshTransformDemolding.h"
#include "Core/MeshIO.h"
using namespace Mesh;
using namespace MeshCore;
@@ -44,21 +33,21 @@ PROPERTY_SOURCE(Mesh::TransformDemolding, Mesh::Transform)
TransformDemolding::TransformDemolding()
{
ADD_PROPERTY(Source,(nullptr));
ADD_PROPERTY(Rotation,(0.0));
ADD_PROPERTY(Axis,(0.0,0.0,1.0));
ADD_PROPERTY(Source, (nullptr));
ADD_PROPERTY(Rotation, (0.0));
ADD_PROPERTY(Axis, (0.0, 0.0, 1.0));
}
App::DocumentObjectExecReturn *TransformDemolding::execute()
{/*
{ /*
Feature *pcFirst = dynamic_cast<Feature*>(Source.getValue());
if(!pcFirst || pcFirst->isError())
return new App::DocumentObjectExecReturn("Unknown Error");
if (!pcFirst || pcFirst->isError())
return new App::DocumentObjectExecReturn("Unknown Error");
MeshCore::MeshKernel *pcKernel = new MeshCore::MeshKernel(pcFirst->Mesh.getValue()); // Result Meshkernel
Base::Matrix4D trans(Base::Vector3f(0,0,0), Axis.getValue(), Rotation.getValue() );
MeshCore::MeshKernel* pcKernel = new MeshCore::MeshKernel(pcFirst->Mesh.getValue()); // Result Meshkernel
Base::Matrix4D trans(Base::Vector3f(0, 0, 0), Axis.getValue(), Rotation.getValue());
//Matrix4D trans;
//trans.rotLine( Axis.getValue(), Rotation.getValue() );
//trans.rotLine(Axis.getValue(), Rotation.getValue());
pcKernel->Transform(trans);
Mesh.setValue(pcKernel);
*/