The generate asymptote file would use the Inkscape document coordinates but Asymptote always uses PostScript points.