mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-09 23:05:04 -06:00
GUI integration of rotation angle setting
This commit is contained in:
parent
3813402aa3
commit
2921302fe9
9 changed files with 26 additions and 10 deletions
|
@ -52,7 +52,7 @@ sub new {
|
|||
bed_shape complete_objects extruder_clearance_radius skirts skirt_distance brim_width variable_layer_height
|
||||
serial_port serial_speed octoprint_host octoprint_apikey
|
||||
nozzle_diameter single_extruder_multi_material
|
||||
wipe_tower wipe_tower_x wipe_tower_y wipe_tower_width wipe_tower_per_color_wipe extruder_colour filament_colour
|
||||
wipe_tower wipe_tower_x wipe_tower_y wipe_tower_width wipe_tower_per_color_wipe wipe_tower_rotation_angle extruder_colour filament_colour
|
||||
)]);
|
||||
# C++ Slic3r::Model with Perl extensions in Slic3r/Model.pm
|
||||
$self->{model} = Slic3r::Model->new;
|
||||
|
|
|
@ -725,6 +725,7 @@ sub build {
|
|||
$optgroup->append_single_option_line('wipe_tower_y');
|
||||
$optgroup->append_single_option_line('wipe_tower_width');
|
||||
$optgroup->append_single_option_line('wipe_tower_per_color_wipe');
|
||||
$optgroup->append_single_option_line('wipe_tower_rotation_angle');
|
||||
}
|
||||
{
|
||||
my $optgroup = $page->new_optgroup('Advanced');
|
||||
|
@ -1032,7 +1033,7 @@ sub _update {
|
|||
|
||||
my $have_wipe_tower = $config->wipe_tower;
|
||||
$self->get_field($_)->toggle($have_wipe_tower)
|
||||
for qw(wipe_tower_x wipe_tower_y wipe_tower_width wipe_tower_per_color_wipe);
|
||||
for qw(wipe_tower_x wipe_tower_y wipe_tower_width wipe_tower_per_color_wipe wipe_tower_rotation_angle);
|
||||
|
||||
$self->Thaw;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue