Commit Graph

9 Commits

Author SHA1 Message Date
jijinbei 875291c4d9 shim: share identical C++ helpers through sc_sm.h, sc_nlib.h, sc_gw.h
125 shims carried private copies of the same small helpers (put_vec, st,
nl_status, Rd, dump_crv, read_nurb, ...). Move the most common, byte-identical
form of each into three headers grouped by the upstream API they need, and have
those shims pull them in with `using sc::<name>;`. Shims with a different
variant keep their own copy; files touched by open PRs are left alone.
`the_context()` stays per shim (its function-local SmContext must not be shared).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FBLgPenT24P1dunqnZR1Dj
2026-10-17 06:43:03 +09:00
Andreas 885f3657c2 surface.surface_p8: CreateBlendSurface entry takes the reserved id UB-157
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 15:37:44 +02:00
Andreas e8561a43d5 surface.surface_p8: renumber the CreateBlendSurface entry UB-156 (UB-130 and UB-133 are claimed by open PRs #126/#139 and #138)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 15:26:42 +02:00
Andreas 19d22c1fc7 surface.surface_p8: renumber the CreateBlendSurface entry UB-133 (UB-130 to UB-132 claimed by open PRs); notes and findings for the shared-cache fix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 13:33:20 +02:00
Andreas 0986f446fa surface.surface_p8: review round 3 (PR #118): merge main, wire sm_IntersectSrfBndryCrv/sm_ExtractIsoCurve into p11, plane iso curves through the plane, maximize without handle, UB-130
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 12:17:00 +02:00
Andreas e2937cf39b surface.surface_p8: review round (PR #118)
Plane fallback line interval, InvertPointNearSingularity tolerance and
DropPoint result, sm_ExtractIsoCurve tolerance, ignored statuses
(GlobalCurveIntersect combine, SpLocal add, CreateBlendSurface,
coincidence evaluations with only_upper_half), non-zero tangents in
sm_IntersectSrfBndryCrv, GlobalPointSolve_0 wired with the kernel and the
surface handle, UB-116 -> UB-119 and HANG-14 -> HANG-15, volume_p1 and the
units whose surface_p8 deferrals are gone promoted to green.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 07:43:37 +02:00
Andreas cb602ad1d8 WIP surface.surface_p8: wire p6 stubs in p10, ray tracer LocalSolve marks nodes[0]
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 01:17:50 +02:00
Andreas 4ae9e80b9e WIP surface.surface_p8: merge main, wire p5 stubs, fix blend UB probes, scale 1e-3 (hang is cache cost)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 21:18:35 +02:00
Andreas 0c4106f853 WIP: port surface.surface_p8 (core, harness, stub wiring; unverified, difftest hangs on a tiny-scale pole case)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-15 20:00:01 +02:00