forked from 1b-agent/opencadstudio-upstream
The OCS arbitrary-axis algorithm crossed the normal with Wx=(1,0,0) in the else branch, which collapses to zero for an X-aligned normal (e.g. N=(-1,0,0)): the OCS axes became zero and every point mapped to the origin. The resulting coincident points fed a NaN truck arc whose parameter_division never converged, hanging the load on "Parsing entities". Cross with Wz=(0,0,1) per the DXF spec. (#142) Co-Authored-By: Claude Opus 4.8 <[email protected]>