mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-06 07:11:10 +00:00
Add Precise Seam placement feature (#12974)
Co-authored-by: Ioannis Giannakas <59056762+igiannakas@users.noreply.github.com> Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com> Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
This commit is contained in:
co-authored by
Ioannis Giannakas
Rodrigo Faselli
Ian Bassi
parent
08f086daf3
commit
1846407e93
@@ -348,7 +348,8 @@ void GridCellFilamentsRenderer::Draw(wxGrid &grid, wxGridCellAttr &attr, wxDC &d
|
||||
if ((grid_row->model_volume_type != ModelVolumeType::NEGATIVE_VOLUME) && \
|
||||
(grid_row->model_volume_type != ModelVolumeType::SUPPORT_BLOCKER) && \
|
||||
(grid_row->model_volume_type != ModelVolumeType::SUPPORT_ENFORCER) && \
|
||||
(grid_row->model_volume_type != ModelVolumeType::PARAMETER_MODIFIER)) {
|
||||
(grid_row->model_volume_type != ModelVolumeType::PARAMETER_MODIFIER) && \
|
||||
!is_precise_seam(grid_row->model_volume_type)) { // Precise Seam is non-printing helper geometry
|
||||
dc.DrawBitmap(*bitmap, wxPoint(rect.x + offset_x, rect.y + offset_y));
|
||||
}
|
||||
else if (grid_row->model_volume_type == ModelVolumeType::PARAMETER_MODIFIER){
|
||||
@@ -3011,7 +3012,8 @@ void ObjectTablePanel::load_data()
|
||||
if (col == ObjectGridTable::col_filaments) {
|
||||
if ((grid_row->model_volume_type != ModelVolumeType::NEGATIVE_VOLUME) && \
|
||||
(grid_row->model_volume_type != ModelVolumeType::SUPPORT_BLOCKER) && \
|
||||
(grid_row->model_volume_type != ModelVolumeType::SUPPORT_ENFORCER)) {
|
||||
(grid_row->model_volume_type != ModelVolumeType::SUPPORT_ENFORCER) && \
|
||||
!is_precise_seam(grid_row->model_volume_type)) { // Precise Seam is non-printing helper geometry
|
||||
GridCellFilamentsEditor* filament_editor = new GridCellFilamentsEditor(grid_col->choices, false, &m_color_bitmaps);
|
||||
m_object_grid->SetCellEditor(row, col, filament_editor);
|
||||
m_object_grid->SetCellRenderer(row, col, new GridCellFilamentsRenderer());
|
||||
|
||||
Reference in New Issue
Block a user