Files
solvecraft/solidcore/plan/units/query.poly_copy.toml
Brennen Herbruck 916b91e8d0 Vendor solidcore at solidcore/ with its history (solidcore c0d3cc0124)
solidcore's main at c0d3cc0124, rewritten to one commit per same-author run per
PR (2,800 commits, author credit kept; tree identical). Full original history:
tangency-labs/solidcore archive/full-history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

git-subtree-dir: solidcore
git-subtree-mainline: 44525da669
git-subtree-split: c440e5f892
2026-11-08 15:18:40 -05:00

13 lines
1.5 KiB
TOML
Vendored

id = "query.poly_copy"
upstream = ["source/SMLib/src/SmPoly.cpp", "source/SMLib/inc/SmPoly.h", "source/SMLib/src/SmPolyBrepData.cpp", "source/SMLib/inc/SmPolyBrepData.h", "source/SMLib/src/SmAttribute.cpp", "source/SM_API/src/SmApiPolygons.cpp"]
rust_module = "query::poly::copy"
depends_on = ["query.poly", "geom.attribute", "geom.tol"]
soft_depends_on = []
est_lines = 700
layer = 45
tests = ["tests/SM_API_test/src/TestSmGeneral.cpp"]
status = "green"
claimed_by = ""
claimed_at = ""
notes = "SM_API gap M2 (SmApiPolyBrepCopy). NOT IN callgraph/units.json: the SmPolyBrep copy constructor, SmPolyBrepData::FromPolyBrep and SmPolyBrep::MakeTopologyFromData are in harness/callgraph/unused_functions.txt; SmApiPolyBrepCopy is a v1.0.1 addition. Owns those, the SmPolyBrepData record classes (private), SmPolyEdge(SmZoneTol3d) / SmPolyLoop(SmPolyFace*) construction as used there, and the poly B-rep's sm_ExtractAttributes / AddAttribute. Rust: PolyBrep::copy, poly_brep_copy, PolyCopyAttributes; inspection accessors PolyBrep::edge_links / vertex_edge_list. Fixtures and generated cases include degenerate faces (collinear / repeated-point triangles and quads, a one-edge open loop) for GetNormal's (1,1,1) paths. Uncompared (not copied by upstream either; follow-up): the source's composite faces, back pointer flag TRUE, original face/edge use/vertex keys and vertex normals. Not ported: SmCopyPolyBrepMap outputs (no SM_API caller), SmPolyBrepData file I/O. Status pending the gate run."