Digital Tracing Pens?

The only opensource option I can think of is using a constraint-based solver and making lots of measurements. Does SolveSpace suit your needs?

If you’re taking the measurements though, easy enough to impose them: