The generate asymptote file would use the Inkscape document coordinates but Asymptote always uses PostScript points.
The old version was brittle and made conditional operations hard.