Points: translate doxygen from DE to EN + fix superfluous whitespace (#5287)
* Points: translate doxygen from DE to EN + fix superfluous whitespace For the purpose of making the source documentation uniform, source comments in this file were translated to english. * Points: remove superfluous whitespace * Fix left over DE to EN translations (from Cam and Mesh code)
This commit is contained in:
@@ -210,9 +210,9 @@ bool cutting_tools::getShapeBB()
|
||||
// dist = mesh.calc_edge_length(eh); //get the length of the current edge
|
||||
// if(dist>2.6) //Split the Edge now
|
||||
// {
|
||||
//
|
||||
//
|
||||
// //Get the Start and EndPoints of the Edge
|
||||
//
|
||||
//
|
||||
// }
|
||||
|
||||
// }
|
||||
@@ -221,7 +221,7 @@ bool cutting_tools::getShapeBB()
|
||||
//mesh.release(m_CAD_Mesh); //Function from MeshInterface to convert the Input Kernel back
|
||||
|
||||
|
||||
|
||||
|
||||
/* Here is the old OCC BoundingBox function
|
||||
Bnd_Box currentBBox;
|
||||
Standard_Real XMin, YMin, ZMin, XMax, YMax, ZMax;
|
||||
@@ -2337,7 +2337,7 @@ bool cutting_tools::OffsetWires_Spiral()
|
||||
}
|
||||
else //We have to try a mesh intersection as the Nurb Intersection does not seem to work
|
||||
{
|
||||
cout << "Big Probleme";
|
||||
cout << "Big Problem";
|
||||
continue;
|
||||
}
|
||||
//Now get the Proper Normal at this point
|
||||
@@ -2640,7 +2640,7 @@ bool cutting_tools::OffsetWires_Spiral()
|
||||
}
|
||||
else //We have to try a mesh intersection as the Nurb Intersection does not seem to work
|
||||
{
|
||||
cout << "Big Probleme";
|
||||
cout << "Big Problem";
|
||||
continue;
|
||||
}
|
||||
//Now get the Proper Normal at this point
|
||||
@@ -3492,7 +3492,7 @@ bool cutting_tools::classifyShape()
|
||||
m_pitch = fabs(maxlevel-minlevel)/cutnumber; //Correct m_pitch slightly to really get to the last level
|
||||
|
||||
//Currently, the last level of self-approximated surfaces is not considered as a path curve
|
||||
//The first level is also completely omitted, since it is unimportant.
|
||||
//The first level is also completely omitted, since it is unimportant.
|
||||
//The track is only useful for the lower machine if there are still flat areas at all
|
||||
for (int i=0;i<cutnumber;++i)
|
||||
{
|
||||
|
||||
@@ -50,12 +50,12 @@ It provides members for all fields of the GUI settings window.
|
||||
struct CuttingToolsSettings
|
||||
{
|
||||
/**This represents the maximum allowed angle for the springback functions*/
|
||||
float limit_angle;
|
||||
float limit_angle;
|
||||
/**This represents the minimum CAD-Radius of the forming shape. This is necessary for the springback
|
||||
to avoid the generation of radii which are below that value*/
|
||||
float cad_radius;
|
||||
float cad_radius;
|
||||
/**This represents the radius of the Master Tool*/
|
||||
float master_radius;
|
||||
float master_radius;
|
||||
/**This represents the radius of the Slave Tool*/
|
||||
float slave_radius;
|
||||
/**This represents the cutting distance between two levels (the pitch)*/
|
||||
@@ -74,9 +74,9 @@ struct CuttingToolsSettings
|
||||
float y_offset_robot;
|
||||
/**This represents the X-Offset value for the robot output*/
|
||||
float x_offset_robot;
|
||||
/**This represents the error of the approximated NURB surface*/
|
||||
/**This represents the error of the approximated NURB surface*/
|
||||
float error_tolerance;
|
||||
|
||||
|
||||
/**This value is necessary to tell some special functions if we move zig/zag or clockwise/counterclockwise
|
||||
without changing direction after each step*/
|
||||
bool clockwise;
|
||||
@@ -114,26 +114,26 @@ struct Face_Less
|
||||
|
||||
|
||||
|
||||
/**\brief This class is the main class for the cutting Algorithms.
|
||||
/**\brief This class is the main class for the cutting Algorithms.
|
||||
|
||||
Its idea is to provide the basic functionality for cutting CAD surfaces. In this class you can also find
|
||||
Its idea is to provide the basic functionality for cutting CAD surfaces. In this class you can also find
|
||||
functions useful for generating spiral and feature based toolpaths
|
||||
*/
|
||||
class CamExport cutting_tools
|
||||
{
|
||||
public:
|
||||
/**\brief The standard constructor
|
||||
|
||||
\param aShape A TopoDS_Shape
|
||||
*/
|
||||
/**\brief The standard constructor
|
||||
|
||||
\param aShape A TopoDS_Shape
|
||||
*/
|
||||
cutting_tools(TopoDS_Shape aShape);
|
||||
|
||||
/**\brief The second standard constructor
|
||||
|
||||
This one gets a vertical step down value as well
|
||||
\param aShape A TopoDS_Shape
|
||||
\param aShape A TopoDS_Shape
|
||||
\param pitch A vertical step down in[mm]
|
||||
*/
|
||||
*/
|
||||
cutting_tools(TopoDS_Shape aShape, float pitch);
|
||||
|
||||
/**\brief The standard destructor*/
|
||||
@@ -151,7 +151,7 @@ public:
|
||||
the flat areas are inside
|
||||
*/
|
||||
|
||||
/*! \brief Hier finden wir eine tolle Funktion */
|
||||
/*! \brief Here we find a great function */
|
||||
bool arrangecuts_ZLEVEL();
|
||||
//bool checkPointIntersection(std::vector<projectPointContainer> &finalPoints);
|
||||
bool calculateAccurateSlaveZLevel(std::vector<std::pair<gp_Pnt,double> >&OffsetPoints, double current_z_level, double &slave_z_level, double &average_sheet_thickness,double &average_angle, bool &cutpos);
|
||||
|
||||
@@ -1386,7 +1386,7 @@ Newtry: // If the generated path lengths are insufficient, a new attempt is star
|
||||
|
||||
/*---Correction end---*/
|
||||
|
||||
// Fülle Vektoren
|
||||
// Full Vectors
|
||||
l_vec.push_back(len); // Length
|
||||
v_vec.push_back(v); // Speeds
|
||||
a_vec.push_back(m_a); // Acceleration
|
||||
@@ -1465,10 +1465,10 @@ Newtry: // If the generated path lengths are insufficient, a new attempt is star
|
||||
len_1 = (pow(v[1] - v[0],2.0) + pow(v[1],2.0))/m_a;
|
||||
}
|
||||
|
||||
// Fülle Vektoren
|
||||
l_vec.push_back(len); // Length
|
||||
v_vec.push_back(v); // Speeds
|
||||
a_vec.push_back(m_a); // Beschleunignung
|
||||
// Full Vectors
|
||||
l_vec.push_back(len); // Length
|
||||
v_vec.push_back(v); // Speeds
|
||||
a_vec.push_back(m_a); // Acceleration
|
||||
|
||||
// First fill the output vectors here (once per curve)
|
||||
if(tool)
|
||||
|
||||
Reference in New Issue
Block a user