79106577

Date: 2024-10-20 07:39:48
Score: 1
Natty:
Report link

Managed to get this fixed by ensuring the transforms in the y direction accounted for the centre grey circle's offset in the y direction like so:

           g.TranslateTransform(CentreScene.X, CentreScene.Y + RodLength + CompressionHight);
           g.RotateTransform(315); // Use first piston tilt angle
           g.TranslateTransform(-CentreScene.X, -CentreScene.Y - RodLength - CompressionHight);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MajedKM