the model you attached has these settings:
(at (xyz -0.3939 0.3 0))
(scale (xyz 0.3939 0.3939 0.3939))
(rotate (xyz -90 0 180))
but to use my script you have to set:
(as stated in the starter guide)
(at (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 z_angle))
I mean you have to put the model at 0,0,0 and scale (1,1,1)
and the orientation has to be changed only on z (rotation on x-y plane)
these parameters are also the parameters adopted for the new kicad libraries standard.
the information is related to the angle which is read from the .kicad_mod file, so it is just a reminder that the footprint model, to which your 3D part is aligned, is oriented as reported.
Moreover, when you have aligned your 3d model to module, it is your responsibility to update the model wrl part and the board that already have this model in.
This is exactly what you have to do with kicad standard way of working with Wings3D even if you don’t use kicad StepUp.
The plus with kicad StepUp is that you can see footprint when you align it… and of course you have the STEP exporting MCAD option
Anyway, I’m going to add a warning if the other parameters are not correct as e.g. in your kicad_mod footprint
thank you for your feedback