#include <Cutting.h>
Definition at line 50 of file Cutting.h.
Cutting::Cutting | ( | QWidget * | parent, | |
Qt::WFlags | fl = 0 | |||
) |
Definition at line 85 of file Cutting.cpp.
References CamGui::Ui_Cutting::setupUi().
Cutting::~Cutting | ( | ) |
Definition at line 94 of file Cutting.cpp.
bool Cutting::getProcessOutput | ( | ) | [protected, slot] |
Definition at line 104 of file Cutting.cpp.
References result.
Referenced by on_start_simulation_clicked().
const CuttingToolsSettings & Cutting::getSettings | ( | ) | [protected, slot] |
Definition at line 584 of file Cutting.cpp.
References CuttingToolsSettings::cad_radius, CamGui::Ui_Cutting::cad_radius_box, CuttingToolsSettings::clockwise, CamGui::Ui_Cutting::clockwise_checkbox, CuttingToolsSettings::correction_factor, CamGui::Ui_Cutting::correction_factor_box, CamGui::Ui_Cutting::error_tolerance, CuttingToolsSettings::error_tolerance, CuttingToolsSettings::level_distance, CamGui::Ui_Cutting::level_distance_box, CuttingToolsSettings::limit_angle, CamGui::Ui_Cutting::limit_angle_box, CuttingToolsSettings::master_radius, CamGui::Ui_Cutting::master_radius_box, CamGui::Ui_Cutting::max_acc, CuttingToolsSettings::max_Acc, CamGui::Ui_Cutting::max_vel, CuttingToolsSettings::max_Vel, CuttingToolsSettings::sheet_thickness, CamGui::Ui_Cutting::sheet_thickness_box, CuttingToolsSettings::slave_radius, CamGui::Ui_Cutting::slave_radius_box, CamGui::Ui_Cutting::spring_pretension, CuttingToolsSettings::spring_pretension, CuttingToolsSettings::x_offset_robot, CamGui::Ui_Cutting::xoffset_box, CuttingToolsSettings::y_offset_robot, and CamGui::Ui_Cutting::yoffset_box.
Referenced by on_best_fit_go_button_clicked(), and on_toolpath_calculation_go_button_clicked().
void Cutting::on_adaptdynainput_clicked | ( | ) | [protected, slot] |
Definition at line 123 of file Cutting.cpp.
References draftlibs::dxfReader::filename.
void Cutting::on_Approximate_button_clicked | ( | ) | [protected, slot] |
Definition at line 636 of file Cutting.cpp.
References CamGui::Ui_Cutting::best_fit_mesh_button.
void Cutting::on_best_fit_cad_button_clicked | ( | ) | [protected, slot] |
Definition at line 642 of file Cutting.cpp.
References CamGui::Ui_Cutting::best_fit_mesh_button, and selectShape().
void Cutting::on_best_fit_go_button_clicked | ( | ) | [protected, slot] |
Definition at line 683 of file Cutting.cpp.
References Approximate::aAdaptorSurface, CamGui::Ui_Cutting::best_fit_cad_button, CamGui::Ui_Cutting::best_fit_go_button, CamGui::Ui_Cutting::best_fit_mesh2_button, CamGui::Ui_Cutting::best_fit_mesh_button, CuttingToolsSettings::error_tolerance, getSettings(), SpringbackCorrection::Init(), SpringbackCorrection::Init_Setting(), CuttingToolsSettings::limit_angle, SpringbackCorrection::Load(), best_fit::Load(), SpringbackCorrection::m_CadMesh, best_fit::m_CadMesh, SpringbackCorrection::m_Mesh_vis, SpringbackCorrection::m_Mesh_vis2, best_fit::m_MeshWork, Approximate::MeshParam, SpringbackCorrection::Perform(), and best_fit::Perform().
void Cutting::on_best_fit_mesh2_button_clicked | ( | ) | [protected, slot] |
Definition at line 661 of file Cutting.cpp.
References SpringbackCorrection::Load(), and selectMesh().
void Cutting::on_best_fit_mesh_button_clicked | ( | ) | [protected, slot] |
Definition at line 648 of file Cutting.cpp.
References CamGui::Ui_Cutting::best_fit_go_button, CamGui::Ui_Cutting::best_fit_mesh2_button, SpringbackCorrection::Load(), CamGui::Ui_Cutting::SelectFace_button, and selectMesh().
void Cutting::on_BestFitButton_clicked | ( | ) | [protected, slot] |
Definition at line 606 of file Cutting.cpp.
References CamGui::Ui_Cutting::best_fit_cad_button, best_fit::Initialize_Mesh_Geometrie_1(), best_fit::Initialize_Mesh_Geometrie_2(), best_fit::output_best_fit_mesh(), and best_fit::Perform_PointCloud().
void Cutting::on_CalculateFeatureBased_clicked | ( | ) | [protected, slot] |
Definition at line 397 of file Cutting.cpp.
References CamGui::Ui_Cutting::CalculateSpiralBased, CamGui::Ui_Cutting::CalculateZLevel, and CamGui::Ui_Cutting::toolpath_calculation_highest_level_button.
void Cutting::on_CalculateSpiralBased_clicked | ( | ) | [protected, slot] |
Definition at line 413 of file Cutting.cpp.
References CamGui::Ui_Cutting::CalculateFeatureBased, CamGui::Ui_Cutting::CalculateZLevel, and CamGui::Ui_Cutting::toolpath_calculation_highest_level_button.
void Cutting::on_CalculateZLevel_clicked | ( | ) | [protected, slot] |
Definition at line 380 of file Cutting.cpp.
References CamGui::Ui_Cutting::CalculateFeatureBased, CamGui::Ui_Cutting::CalculateSpiralBased, and CamGui::Ui_Cutting::toolpath_calculation_highest_level_button.
void Cutting::on_Deviation_button_clicked | ( | ) | [protected, slot] |
Definition at line 185 of file Cutting.cpp.
References CamGui::Ui_Cutting::deviation_geometry1_button, CamGui::Ui_Cutting::deviation_geometry2_button, and CamGui::Ui_Cutting::deviation_go_button.
void Cutting::on_deviation_geometry1_button_clicked | ( | ) | [protected, slot] |
Definition at line 193 of file Cutting.cpp.
References selectShape().
void Cutting::on_deviation_geometry2_button_clicked | ( | ) | [protected, slot] |
Definition at line 198 of file Cutting.cpp.
References selectMesh().
void Cutting::on_deviation_go_button_clicked | ( | ) | [protected, slot] |
Definition at line 203 of file Cutting.cpp.
References Deviation::Compute(), Deviation::ImportGeometry(), and Deviation::WriteOutput().
void Cutting::on_error_accumulation_go_button_clicked | ( | ) | [protected, slot] |
Definition at line 239 of file Cutting.cpp.
References MergeData::WriteOutput().
void Cutting::on_error_accumulation_select_files_button_clicked | ( | ) | [protected, slot] |
Definition at line 214 of file Cutting.cpp.
References MergeData::Einlesen(), and CamGui::Ui_Cutting::error_accumulation_go_button.
void Cutting::on_GenRobotOut_clicked | ( | ) | [protected, slot] |
Definition at line 563 of file Cutting.cpp.
References cutting_tools::getFlatAreas(), cutting_tools::getOutputhigh(), cutting_tools::getOutputlow(), cutting_tools::m_UserSettings, path_simulate::MakePathRobot(), and path_simulate::MakePathRobot_Feat().
void Cutting::on_GenSimOut_clicked | ( | ) | [protected, slot] |
void Cutting::on_select_shape_feature_based_button_clicked | ( | ) | [protected, slot] |
Definition at line 435 of file Cutting.cpp.
References selectShape().
void Cutting::on_select_shape_spiral_based_button_clicked | ( | ) | [protected, slot] |
Definition at line 440 of file Cutting.cpp.
References selectShape().
void Cutting::on_select_shape_z_level_button_clicked | ( | ) | [protected, slot] |
Definition at line 430 of file Cutting.cpp.
References selectShape().
void Cutting::on_SelectFace_button_clicked | ( | ) | [protected, slot] |
Definition at line 667 of file Cutting.cpp.
References Gui::View3DInventorViewer::addEventCallback(), Gui::Document::getActiveView(), Gui::View3DInventor::getViewer(), Mod::PartDesign::Scripts::Gear::hide(), Gui::Application::Instance, and Gui::View3DInventorViewer::setEditing().
void Cutting::on_SpringbackButton_clicked | ( | ) | [protected, slot] |
Definition at line 628 of file Cutting.cpp.
References CamGui::Ui_Cutting::best_fit_cad_button.
void Cutting::on_start_simulation_clicked | ( | ) | [protected, slot] |
Definition at line 172 of file Cutting.cpp.
References draftlibs::fcgeo::connect(), and getProcessOutput().
void Cutting::on_toolpath_calculation_go_button_clicked | ( | ) | [protected, slot] |
Definition at line 490 of file Cutting.cpp.
References cutting_tools::arrangecuts_ZLEVEL(), CamGui::Ui_Cutting::GenRobotOut, CamGui::Ui_Cutting::GenSimOut, getSettings(), cutting_tools::m_UserSettings, cutting_tools::OffsetWires_FeatureBased(), cutting_tools::OffsetWires_Spiral(), and cutting_tools::OffsetWires_Standard().
void Cutting::on_toolpath_calculation_highest_level_button_clicked | ( | ) | [protected, slot] |
Definition at line 445 of file Cutting.cpp.
References Gui::View3DInventorViewer::addEventCallback(), Gui::Document::getActiveView(), Gui::View3DInventor::getViewer(), Mod::PartDesign::Scripts::Gear::hide(), Gui::Application::Instance, Gui::View3DInventorViewer::setEditing(), CamGui::Ui_Cutting::toolpath_calculation_lowest_level_button, and CamGui::Ui_Cutting::toolpath_calculation_middle_level_button.
void Cutting::on_toolpath_calculation_lowest_level_button_clicked | ( | ) | [protected, slot] |
Definition at line 475 of file Cutting.cpp.
References Gui::View3DInventorViewer::addEventCallback(), Gui::Document::getActiveView(), Gui::View3DInventor::getViewer(), Mod::PartDesign::Scripts::Gear::hide(), Gui::Application::Instance, Gui::View3DInventorViewer::setEditing(), and CamGui::Ui_Cutting::toolpath_calculation_go_button.
void Cutting::on_toolpath_calculation_middle_level_button_clicked | ( | ) | [protected, slot] |
Definition at line 461 of file Cutting.cpp.
References Gui::View3DInventorViewer::addEventCallback(), Gui::Document::getActiveView(), Gui::View3DInventor::getViewer(), Mod::PartDesign::Scripts::Gear::hide(), Gui::Application::Instance, and Gui::View3DInventorViewer::setEditing().
void Cutting::selectMesh | ( | ) | [protected, slot] |
Definition at line 297 of file Cutting.cpp.
References MeshCore::MeshKernel::CountPoints(), Mesh::Feature::getClassTypeId(), Mod::PartDesign::Scripts::Gear::hide(), Gui::Selection(), and show().
Referenced by on_best_fit_mesh2_button_clicked(), on_best_fit_mesh_button_clicked(), and on_deviation_geometry2_button_clicked().
void Cutting::selectShape | ( | ) | [protected, slot] |
Definition at line 247 of file Cutting.cpp.
References CamGui::Ui_Cutting::CalculateFeatureBased, CamGui::Ui_Cutting::CalculateSpiralBased, CamGui::Ui_Cutting::CalculateZLevel, Part::Feature::getClassTypeId(), Mod::PartDesign::Scripts::Gear::hide(), Gui::Selection(), DrawingExample::Shape, and show().
Referenced by on_best_fit_cad_button_clicked(), on_deviation_geometry1_button_clicked(), on_select_shape_feature_based_button_clicked(), on_select_shape_spiral_based_button_clicked(), and on_select_shape_z_level_button_clicked().
void Cutting::setFace | ( | const TopoDS_Shape & | aFace, | |
const float | x, | |||
const float | y, | |||
const float | z | |||
) | [protected, slot] |
Definition at line 344 of file Cutting.cpp.
References Part::Feature::getClassTypeId(), SpringbackCorrection::m_FixFaces, best_fit::m_LowFaces, Gui::Selection(), and cutting_tools::SetMachiningOrder().