mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 19:29:17 +00:00
EasyEDA Pro import: set 3D model rotation for other axes as well.
This commit is contained in:
parent
a1646bbd6c
commit
fbad7ae602
@ -235,8 +235,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