Repository navigation
Conversation
Co-Authored-By: Codex <noreply@openai.com>
…y-labs#1999) Known failing matrix captured before the construction fix; run explicitly with --ignored. Co-Authored-By: Codex <noreply@openai.com>
Reject incompatible contacts during classification before topology splitting; retain the default and non-fillet paths. Add boundary, scaled-model and entity-tolerance regressions. Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
b4a1acb to
cf9a439
Compare
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
|
Thanks @ChrisNourse, this is a careful fix. Rejecting a contact the finished body can't resolve, before the arc is split at the old vertex, fixes the cause; moving vertices afterwards (#2003) only hid it. The focused test over flag × filleting × distance pins the boundary well. Three asks before it lands:
|
bherbruck
left a comment
There was a problem hiding this comment.
Approved by the automated first-pass review: CI green, mergeable, no CI/build/dependency file changes, no red-flag patterns in added code (process/network/env/unsafe outside FFI/blobs/hidden unicode), 0 known-mismatch entries added. Logic is gated by CI and the difftest merge queue.
|
@ChrisNourse this merged before my three asks above were in. Could you do them in a small follow-up PR: assert the round face's definition (or add a #2505 ledger entry), check one crease angle's volume against the closed form, and rename the probe file? Thanks again for the fix. |
plan: give #2530's record WR-731; WR-723 was already taken, which turned main's CI red
…angency-labs#2480's planar-section record) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
Address the three post-merge review requests on PR #2530, including descriptive regression names. Co-Authored-By: Codex <noreply@openai.com>
…view test: validate shallow crease round definitions and volume (#2530 follow-up)
A shallow-crease fillet can report success and a manifold solid while a retained crease vertex lies outside the finished body's vertex/face incidence tolerance. Under the generic blend, vertex intersection now requires that body-level bound as well as the existing curve/vertex bound. An incompatible contact is rejected before topology insertion splits the arc at the old vertex.
Fixes #1999. Follow-up to superseded #2003: this changes construction-time contact acceptance, rather than moving vertices after filleting. It changes no source curve or entity tolerance. The default path, non-fillet classifications and direct UV-space classification retain their previous behavior.
Units:
intersect.curve_class_p5;blend.fillet_executive_p3,query.face_p2andboolean.topology_intersector_p3are caller-verification targets.In scope:
SmCurveClassification::IntersectVertices/intersect_vertices_in, under the existingfillet_blend_cornerflag; regression tests and WR-723.Expected edits: the classification routine, its focused test, the flag documentation, issue regression tests and findings.
Related PRs / dependencies: #2003 (superseded repair), #2243 (generic blend). #2381's closed-teardrop pseudo-topology allocation is outside this change.
Available follow-ups: successful multi-edge corner construction; this change does not implement it.
The regression covers the three reported failures, valid controls, model/tolerance scaling, several crease angles across both tolerance boundaries, and entity tolerances larger than the body's. The focused classification test checks the flag-off and non-fillet paths, strict boundary behavior and different body tolerances. The original regression was committed before the fix in ef2beae.
Pre-fix evidence on main e64c1de: all three reported single-crease cases return invalid success with both generic-blend and broad-fixes profiles; gaps 2.85635e-5, 2.74159e-5 and 4.28399e-5 exceed 2e-5. The 36-case log and reproduction are recorded in the finding. Default C++ reproduction is the evidence from #2003, not a new fork-parity claim.
Validation on linuxbox (
CARGO_BUILD_JOBS=2,nice -n 10, difftest profile withCARGO_PROFILE_DIFFTEST_OPT_LEVEL=1):cargo test --profile difftest -p solidcore: 4,414 passed, 0 failed, 37 ignored. Started with the fix on base2e995abcd; the later main merge was tested separately as below. The ignored cases are existing tests and diagnostic helpers; none were added by this PR.cargo clippy --workspace --all-targets -- -D warningsand wasm32 check: passed again after the latest-main merge.bba2309b3, at PR head424b06bee: all four issue Fillet: a round within tolerance of a shallow crease returns Ok with an invalid body (old crease vertex kept) #1999 integration tests passed (80 fillet cases);wr573_offset_wave_exportpassed 3 tests andwr697_end_and_joinpassed 7 tests. Formatting, record IDs and frozen-archive checks passed.--green --jobs 4sweep on424b06bee: 280 units passed, 0 partial, 0 failed. Of 592,431 cases, 591,650 passed, 762 were rejected, and 19 were parked for recorded upstream defects; 0 failed or deferred. Wall time 1,600.4 seconds. Rejected and parked cases are not counted as successful comparisons.SmCurveClassification::IntersectVerticesduring generic-blend insertion1e-9 * scale; existing default native cases matchStatus: local validation complete; ready for maintainer review. GitHub CI still requires maintainer approval before jobs run; no successful GitHub CI result is claimed. Final logs were collected after SSH access was restored.