mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-23 00:42:59 +00:00
8940c0dfad
* STEP import: tori written as a patch and the rest of the torus read whole (#17930, #17929) SolidCraft 0.30.1 writes a torus as two faces sharing one loop: a patch and the rest of the torus round it, whose loop runs clockwise. The reader took the rest for the patch turned over, so the torus came in closed with no volume; written again on SURFACE_OF_REVOLUTIONs of a rational circle, the rest face got no pcurves and the torus or a hole's round came in open. A face on a torus that is the outside of its loops, next to a face on the same torus facing the same way, now gets the torus's seams as its outer bound and its loops as holes. A rational spline that is exactly a circle is read as that circle: a revolution of one is a torus, and an edge on one (an arc of at most a turn the spline covers) gets closed-form pcurves. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * STEP import: torus seams seated where the torus starts; export digests and fixture attribution A torus face whose seam round the axis lies off its tube start (or round the tube off its frame's x axis) read a (u, v) box short of the whole torus: the torus completed round a hole exported and read back 1 mm3 short. The torus is now turned to start at its seams before the face is read. Exact NURBS circles are now written back as circles, so the export digests of the fixtures with such edges change; their round trips (bodies, face counts, volumes to 1e-6) still hold. The new fixtures get digests and attribution rows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
8.1 KiB
8.1 KiB