mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	ENH: use outer wall acceleration to do calibration
As title. Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ibf7a9253a9837d6a2148e6ce9c0582ac915fde48
This commit is contained in:
		
							parent
							
								
									bdab8a28c9
								
							
						
					
					
						commit
						276989a878
					
				
					 9 changed files with 8 additions and 15 deletions
				
			
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| 
						 | 
					@ -1464,13 +1464,6 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
 | 
				
			||||||
    // Emit machine envelope limits for the Marlin firmware.
 | 
					    // Emit machine envelope limits for the Marlin firmware.
 | 
				
			||||||
    this->print_machine_envelope(file, print);
 | 
					    this->print_machine_envelope(file, print);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    //BBS: emit outer wall accelerate if has non-zero value
 | 
					 | 
				
			||||||
    if (m_config.default_acceleration.value > 0) {
 | 
					 | 
				
			||||||
        float acceleration = m_config.outer_wall_acceleration.value > 0 ?
 | 
					 | 
				
			||||||
                             m_config.outer_wall_acceleration.value : m_config.default_acceleration.value;
 | 
					 | 
				
			||||||
        file.write(m_writer.set_acceleration((unsigned int)floor(acceleration + 0.5)));
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    // Disable fan.
 | 
					    // Disable fan.
 | 
				
			||||||
    if (print.config().close_fan_the_first_x_layers.get_at(initial_extruder_id)) {
 | 
					    if (print.config().close_fan_the_first_x_layers.get_at(initial_extruder_id)) {
 | 
				
			||||||
        file.write(m_writer.set_fan(0));
 | 
					        file.write(m_writer.set_fan(0));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue