mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 19:39:17 +00:00
EasyEDA Pro import: set 3D model rotation for other axes as well.
(cherry picked from commit fbad7ae602
)
This commit is contained in:
parent
00e4d72d4b
commit
6e54b88fe0
@ -237,8 +237,9 @@ void PCB_IO_EASYEDAPRO_PARSER::fillFootprintModelInfo( FOOTPRINT* footprint, con
|
||||
footprint->AddField( field );
|
||||
}
|
||||
|
||||
// TODO: other axes
|
||||
kmodelRotation.z = -Convert( arr[3] );
|
||||
kmodelRotation.x = -Convert( arr[4] );
|
||||
kmodelRotation.y = -Convert( arr[5] );
|
||||
|
||||
kmodelOffset.x = pcbIUScale.IUTomm( ScaleSize( Convert( arr[6] ) ) );
|
||||
kmodelOffset.y = pcbIUScale.IUTomm( ScaleSize( Convert( arr[7] ) ) );
|
||||
|
Loading…
Reference in New Issue
Block a user