mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Ported ModelObject::rotate() and ModelObject::flip() to XS, as well as axes constants
This commit is contained in:
		
							parent
							
								
									be2f46ca68
								
							
						
					
					
						commit
						5eb3bc52ef
					
				
					 11 changed files with 84 additions and 46 deletions
				
			
		| 
						 | 
				
			
			@ -182,6 +182,8 @@ ModelMaterial::attributes()
 | 
			
		|||
    void translate(double x, double y, double z);
 | 
			
		||||
    void scale_xyz(Pointf3* versor)
 | 
			
		||||
        %code{% THIS->scale(*versor); %};
 | 
			
		||||
    void rotate(float angle, Axis axis);
 | 
			
		||||
    void flip(Axis axis);
 | 
			
		||||
    
 | 
			
		||||
    Model* cut(double z)
 | 
			
		||||
        %code%{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue