Remove leftover comments in SLAPrint
This commit is contained in:
parent
45fffed309
commit
999c49c8e8
2 changed files with 0 additions and 60 deletions
|
@ -994,44 +994,6 @@ const ExPolygons &SliceRecord::get_slice(SliceOrigin o) const
|
|||
return idx >= v.size() ? EMPTY_SLICE : v[idx];
|
||||
}
|
||||
|
||||
//bool SLAPrintObject::has_mesh(SLAPrintObjectStep step) const
|
||||
//{
|
||||
// switch (step) {
|
||||
// case slaposAssembly:
|
||||
// return true;
|
||||
// case slaposObjectSlice:
|
||||
// return ! this->m_mesh_from_slices.empty();
|
||||
// case slaposDrillHoles:
|
||||
// return ! this->m_mesh_from_slices.empty();
|
||||
// case slaposSupportTree:
|
||||
// return ! this->support_mesh().empty();
|
||||
// case slaposPad:
|
||||
// return ! this->pad_mesh().empty();
|
||||
// default:
|
||||
// return false;
|
||||
// }
|
||||
//}
|
||||
|
||||
//TriangleMesh SLAPrintObject::get_mesh(SLAPrintObjectStep step) const
|
||||
//{
|
||||
// switch (step) {
|
||||
// case slaposAssembly:
|
||||
// return m_transformed_rmesh;
|
||||
// case slaposObjectSlice:
|
||||
// return this->m_mesh_from_slices;
|
||||
// case slaposSupportTree:
|
||||
// return this->support_mesh();
|
||||
// case slaposPad:
|
||||
// return this->pad_mesh();
|
||||
// case slaposDrillHoles:
|
||||
//// if (m_hollowing_data)
|
||||
// return get_mesh_to_print();
|
||||
// [[fallthrough]];
|
||||
// default:
|
||||
// return TriangleMesh();
|
||||
// }
|
||||
//}
|
||||
|
||||
const TriangleMesh& SLAPrintObject::support_mesh() const
|
||||
{
|
||||
if (m_config.supports_enable.getBool() &&
|
||||
|
@ -1068,19 +1030,6 @@ const TriangleMesh &SLAPrintObject::get_mesh_to_print() const
|
|||
return *ret;
|
||||
}
|
||||
|
||||
//const indexed_triangle_set &SLAPrintObject::hollowed_interior_mesh() const
|
||||
//{
|
||||
// if (m_hollowing_data && m_hollowing_data->interior &&
|
||||
// m_config.hollowing_enable.getBool())
|
||||
// return sla::get_mesh(*m_hollowing_data->interior);
|
||||
|
||||
// return EMPTY_TRIANGLE_SET;
|
||||
//}
|
||||
|
||||
//const TriangleMesh &SLAPrintObject::transformed_mesh() const {
|
||||
// return m_transformed_rmesh;
|
||||
//}
|
||||
|
||||
sla::SupportPoints SLAPrintObject::transformed_support_points() const
|
||||
{
|
||||
assert(m_model_object != nullptr);
|
||||
|
|
|
@ -145,26 +145,17 @@ public:
|
|||
};
|
||||
const std::vector<Instance>& instances() const { return m_instances; }
|
||||
|
||||
// bool has_mesh(SLAPrintObjectStep step) const;
|
||||
// TriangleMesh get_mesh(SLAPrintObjectStep step) const;
|
||||
|
||||
// Get a support mesh centered around origin in XY, and with zero rotation around Z applied.
|
||||
// Support mesh is only valid if this->is_step_done(slaposSupportTree) is true.
|
||||
const TriangleMesh& support_mesh() const;
|
||||
// Get a pad mesh centered around origin in XY, and with zero rotation around Z applied.
|
||||
// Support mesh is only valid if this->is_step_done(slaposPad) is true.
|
||||
const TriangleMesh& pad_mesh() const;
|
||||
|
||||
// // Ready after this->is_step_done(slaposDrillHoles) is true
|
||||
// const indexed_triangle_set &hollowed_interior_mesh() const;
|
||||
|
||||
// Get the mesh that is going to be printed with all the modifications
|
||||
// like hollowing and drilled holes.
|
||||
const TriangleMesh & get_mesh_to_print() const;
|
||||
|
||||
// // This will return the transformed mesh which is cached
|
||||
// const TriangleMesh& transformed_mesh() const;
|
||||
|
||||
sla::SupportPoints transformed_support_points() const;
|
||||
sla::DrainHoles transformed_drainhole_points() const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue