topology.brep_p3 partial
- Layer
- 48
- Upstream lines
- 2,527
- Functions
- 11
- Rust module
topology::brep::p3
Status history
- todo 2,503 lines
- partial 2,503 lines
- green 2,503 lines
- partial 2,527 lines
Source: crates/solidcore/src/topology/brep/p3.rs
Upstream: source/SMLib/src/SmBrep.cpp, source/SM_API/src/SmApiQueries.cpp
Port-plan notes
These notes preserve historical port measurements and limitations, not current CI results.
2026-11-05 (land-me/split-ext, the exact surface extension in TurnToNURBS's offset arm): PARTIAL topology.brep_p3 cases=1358 passed=1342 failed=0 deferred=0 known_mismatch=16: the 16 nurbs_off_* cases whose converted surfaces extend a curved side move only those surfaces' natural domains (the C++ fitted the 2% extension to an estimated parameter reach); each is proved on its own by the test turned_offsets_are_the_approximation_and_reach_the_extension (the approximation over its box, the asked distance reached within 1.1e-10 relative, tangent continuous), listed in crates/difftest/known_mismatches/topology.brep_p3.toml and plan/findings/surface.exact-extension--difftest-cases-moved-2026-11-05.md. 2026-10-27 (PR #1358, nightly fuzz00282: a TurnNurbsOffset of 1e300 on box_with_large_fillet.smb timed out on the Rust side two nights running): the runner's Rust side applies the FFI's checks (solidcore_ffi topology_brep_p3::validate, split out of eval) to the same input as the C++ side, so an input the FFI refuses (geometry beyond 1e150, HANG-16) is a harness error on both sides and the port never runs the guarded regime; it had worked through it for 25 s (the trimmed-surface cache subdivision of the UV trim curve rebuild on the approximated offset surface returns, slowly; a library work bound is #504's: plan/findings/topology.brep_p3--turn-nurbs-offset-1e300-rust-side-runs-25-s-fuzz00282.md). Regression: crates/difftest/tests/fuzz_corpus/topology.brep_p3.json and the runner test huge_offset_is_refused_on_both_sides. GREEN unchanged: cases=906 passed=906 failed=0 deferred=0 max_rel_err=0; --fuzz 300 FUZZ-PASS rejected=96 timeouts=0 (was rejected=95 timeouts=1). 2026-10-30 (the Rust side reads an .smb source with the Rust reader, crate::own_reader::file_in_order under this runner's CONVENTIONS, renumbered into the shim's traversal order, then applies the editing flag, instead of importing the brep_p2 shim's export and restoring its extras (tolerance, infinite region, region list head, editing, vertex use orders, owners, upward face uses) from the C++ Extras op; the shim's normalise, which replaced analytic face surfaces and edge curves by plain B-spline copies only so that the Rust import was exact, is deleted, so both sides now run every op on the real analytic geometry (no op's upstream function requires a plain B-spline: TurnToNURBS tests IsKindOf before its casts and converts analytic kinds itself)): the GREEN below rested on Rust-side .smb B-reps imported from the C++ export and on normalised geometry, so it overstated what was verified for the file cases; counts on the Rust-read inputs follow this change's difftest run, and any new mismatch gets a finding with its case IDs. 2026-10-30 (#1462 P2): api_brep_copy and kernel_named_edit carry the B-rep's own attributes; attributed_copy op (13) over every SmApiBrepCopy fixture x 5 behaviours (fixtures/topology.brep_p3/attributed_copy.json, 160 cases): PASS topology.brep_p3 cases=1066 passed=1066 failed=0 deferred=0. 2026-10-27 (PR #1299, surface SwapUV notifications: the surface swap reached from SmFace::SwapUV sends SetCanonical's SM_NO_PRE_EDIT / SM_NO_POST_EDIT, SmSrfInVolume's own and an offset's through its bases, under the surface's notify identity; the runner issues pre-op face surface identities with face owners and Orient compares the tracker on every case): GREEN topology.brep_p3 cases=906 passed=906 failed=0 deferred=0; the 39 Orient swap cases that left the tracker out now compare it (+28 values per swapped face); disabling the surface notification fails exactly those 39. 2026-10-26 (WR-255 opt-in, #959: sm_FixUVTrimCurves runs upstream's drop / Trim / EditParameterization by default, and the Trim and EditParameterization notify; the two Mouse known mismatches removed): GREEN topology.brep_p3 cases=906 passed=906 failed=0 deferred=0 known_mismatch=0. 2026-10-25 (TurnToNURBS UV trim curve edits notify: sm_FixUVTrimCurves' EditEndPoint SM_NO_PRE_EDIT / SM_NO_POST_EDIT with the edge use / edge owner links): PARTIAL topology.brep_p3 cases=906 passed=904 failed=0 deferred=0 known_mismatch=2 (was 900 / known_mismatch=6; the two Mouse offset cases keep the WR-255 Trim / EditParameterization events, plan/findings.md). 2026-10-25 (OrientTrimmedSurfaces' point solve reaches its face's cache): PARTIAL topology.brep_p3 cases=906 passed=900 failed=0 deferred=0 known_mismatch=6 (was 892 / 8 with topology.face_p2(8)). FACE TOLERANCE (2026-10-24, claude/face-classify-tol): the runner syncs each face tolerance onto its surface after renaming the owner; 23 of the 31 SmFace::GetTolerance deferrals pass, the other 8 now stop at topology.face_p2 'SmFace handle of a surface's face'. Mac difftest: PARTIAL cases=897 passed=883 failed=0 deferred=8 known_mismatch=6. PR #661 (2026-10-23): the runner no longer reads the C++ tracker to choose a deferral (geometry_edit_deferral removed); the 6 TurnToNURBS geometry-edit-notify cases (nurbs_off_Mouse_0.1, nurbs_off_Mouse_-0.05, nurbs_off_toruswvy_0.1, gen0138, gen0164, gen0241) are listed in crates/difftest/known_mismatches.toml (upstream curves/surfaces notify their own PRE/POST_EDIT, the port does not; follow-up: port those notifications, see findings.md). difftest 897 cases, 853 pass, 0 failed, 38 deferred (query.face_p1 38), 6 known_mismatch. PR #637 (2026-10-23): ReplaceSurface's face ChangeGeometry notification wired with surface identities. difftest 897 cases, 853 pass, 0 failed, 44 deferred (query.face_p1 38, unmodelled:geometry-edit-notify 6: TurnToNURBS cases whose C++ tracker records geometry PRE/POST_EDIT notifications the port does not send, see findings.md); of the 47 former topology.face_p3 deferrals 41 pass. CO-PORTED in topology.brep_p10 (PR #130): SmBrep::SmBrep, the topology part (infinite void region heading the region list, m_pInfiniteRegion; m_bEditingEnabled is topology.brep_p1's field) -> topology::Brep::new_with_infinite_region. PARTIAL (PR #204): all 11 fns ported (stub at each unported call, tails ported). difftest 897 cases (497 fixtures from TestSmBrepCopy/TestSmErrorCodes/TestSmBrep/smOffsetTest/my_test_topology and SmBrep.cpp members on the 15 pt_TestFiles B-reps + network, incl. 30 TurnToNURBS cases on offset-wrapped faces; 400 generated; no face op on a B-rep without faces), 536 pass bit-identical, 0 failed, 361 deferred (topology.face_p3 161: SmFace::Notify; topology.face_p4 69: 39 SmFace::GetBrep via SwapUV, 30 SmFace::GetEdges in the offset cases after the approximation and extension; query.brep 49: CalculateBoundingBox; surface.sphere 33: SmSphere::IsNurbSurfaceSphere and surface.surface_p2 8: SmCone as SmSurface in the analytics copy (after main's surface.cone_p2 #153; they deferred at SmCone::IsNurbSurfaceCone before); topology.brep_p9 41: MakeShellVertex); --perturb SENSITIVE 536/536; with_values 536, 0 both-errored. Every op output (Construct, Copy, Merge, CopyVertices, DeleteFace, Wire, Orient, Squeeze, both TurnNurbs ops) ends with the B-rep counts, a shell digest (per region void/infinite/nshells, per shell type/GetSize/has_head) and the full topology graph (the fixture walk after the op: every owner / adjacency link as a walk index: region shells, shell type/size/region/head, face-use face/mate/shell/next/last/orientation/loop uses, face use, loop-use loop/mate/face use/start/orientation, loop use, edge-use edge/owner/cw/ccw/vertex use/next/last/orientation, edge-use and vertex-use lists); DeleteFace, Wire, Orient, Squeeze and both TurnNurbs ops run under SmTrackTopologyChanges on both sides, comparing its Rm/Add/Chg lists and every event, each object by its saved identity (never read): topology by walk index (C++: SmObject base addresses registered from the walks before and after the op), the B-rep, an edge's pre-op curve as that edge, else an edge's curve after the op as that edge (post-op walk index), other geometry numbered by first appearance in the output (C++: seen live as geometry by a user notify callback; a swap of two such transient objects within one event would not show, the documented boundary; unit test swapped_geometry_changes_the_output). Identities (module Deviations; overseer ruling on the 9129d9f2 reviews): topology keeps the NotifyEnv contract: the caller's env.key_of names b's objects, the caller's source_key those of a B-rep an edit reads (MergeBrep, CopyVertices, the copy constructors; restored after 2dc57273), and Brep::key each B-rep (keeping them distinct per object is the caller's part, as upstream's objects are the caller's); the records and attributes a caller keeps under them are used as they are, an object without a record gets the default one (edits seed with or_default, brep::p3::seed_records). Kernel-issued identities only for objects with no caller key: a curve = (domain, counter), issued once per context domain and kept on the Curve (GEOMETRY_KEY_BASE = 0b11 << 62; IdentitySlot, CO-PORTED into geom.context / curve.curve_p2); callers without notification state (brep::p3::with_kernel_callbacks, the healer's tracked_edit) name topology by (B-rep serial, kind, arena index) (brep::p3::topology_ref, TOPOLOGY_KEY_BASE = 0b10 << 62; the serial kept on the Brep, Brep::notify_serial, CO-PORTED into topology.brep_p1); both issued by the one context the notifications go through (env.context, else k.context), no public setter, a clone starts empty. Every edit refuses (InvalidInput) a caller key in the kernel range (>= KERNEL_KEY_BASE) before it changes anything, unless it is the object's own kernel identity (brep::p3::check_keys). The lending adapters (with_kernel_callbacks, tracked_edit; shared brep::p3::with_lent_context / kernel_named_edit) are not nestable: a nested one is refused before anything changes (Context::lend_notify; a lent context issues nothing). Boundary (Deviation): a kernel identity is unique and stable only within one domain, so every store keyed by identities (records, attributes, a tracker, a callback's state) belongs to one domain; shared across two contexts, or across a take_notify_lease that is not given back (a new domain), two curves or two kernel-named B-reps' objects may share a key; an object re-entering a domain is renamed, never aliased. Closing it needs a process-wide address space, which the no-global-state rule excludes. MakeWireEdge(Vertex) take the caller's unowned curve by value (upstream binds that object). Regressions: one_context_issues_the_identities_of_edits_in_two_kernels (R1, curves), caller_keys_cannot_take_a_kernel_identity (setter), copies_and_merges_carry_the_callers_records_and_attributes (C-M1 / C-M2), nested_lent_edits_are_refused and heal_data_p3's nested_tracked_edits_are_refused (C-M3 / P4), identities_are_unique_only_within_one_domain (P2b, the boundary), kernel_callbacks_keep_their_identity_domain, bound_curves_never_share_a_key, curve_keys_belong_to_their_context, curve_identities_survive_a_fresh_healer / _a_cloned_healer. Mutations: detaching every copied face use in MergeBrep fails 101 cases; corrupting the recorded ChangeGeometry curve fails 55. Boundary: no compared op sends a geometry-caller PostEdit / Split / Merge, so Execute's owner walk (the runner's tracker knows each pre-op curve's owner edge) is covered by its Rust regression only. Success paths (384): 35 constructors, 79 copies (copy constructor / SmApiBrepCopy), 43 MergeBrep, 49 MakeWireEdge(Vertex), 10 completed SqueezeEdge (network wires), 94 OrientTrimmedSurfaces that swap nothing, 47 TurnToNURBS (nothing converts), 27 CopyVertices([]); error statuses (152): 82 DeleteFace (editing disabled), 69 SqueezeEdge guards, 1 SmApiBrepCopy(NULL) (committed #[ignore] test classify_passes). No passing case for a completed DeleteFace, a swapping or vote-deciding Orient, or a converting TurnToNURBS (face_p3/face_p4/query.brep). --fuzz 2000 FUZZ-PASS; valgrind clean (status/topology.brep_p3-evidence). Wired: topology.shell (region void flag, GetShells, region/shell/face-use lists, TransferChildrenTo, GetSize; CO-PORTED region PostInsert, single face-use Remove/PostInsert, pub GetSize into topology::shell), topology.edgeuse_p3 (NormalizedEvaluate), surface.offset_surface (TurnToNURBS offset arm). Back-edges wired: sweep.api_brep/api_surfaces (SmBrep()), heal.heal_data_p3 (SqueezeEdge, DeleteFace under a real SmTrackTopologyChanges; SmTopologyChangeCallback::Execute CO-PORTED into topology.topology), IntersectorBrep::brep_delete_face, ProtoBrep::brep_squeeze_edge; every edit seeds the SmTopology records of its objects and of a source B-rep it copies or merges from that the caller keeps none for (the copy cases' Construction / Copy notifications name the source's). Upstream: WR-168. Was: 11 fns; largest: SmBrep::MergeBrep, SmBrep::OrientTrimmedSurfaces, SmBrep::DeleteFace, SmBrep::SqueezeEdge; entry points: SmApiBrepCopy; cycle back-edges (call into later units; stub or co-port): blend.fillet_geom_p1(2), query.brep(1); unit-SCC #22 (220 units); hazards: ptr-hash; 200 upstream test entry points reach this unit UPDATE (PR #204, scope-back + #149 da779c51 merge, main through 95b823ed): identities scoped back per the overseer ruling on the 9129d9f2 reviews (caller key_of / source_key / Brep::key for topology; kernel-issued IdentitySlot identities only for curves and stateless callers; nested lent edits refused with InvalidInput before anything changes; the identity-domain boundary in Deviations). Stubs wired: SmFace::Notify -> topology::face::p3::notify (no trim cache), SmBrep::MakeShellVertex -> topology::brep::p9::make_shell_vertex (CopyVertices). 897 cases, 664 pass, 0 fail, 233 deferred (topology.face_p4 126, query.brep 49, surface.sphere 33, topology.face_p3 17 via face p1's SmFace::Notify stub, surface.surface_p2 8), max_rel_err 0; case by case vs the committed report: 128 deferred -> pass (87 SmFace::Notify, 41 MakeShellVertex), 57 relabel SmFace::Notify -> face_p4 GetVertices, no other outcome change; --perturb 664/664; --fuzz 2000 FUZZ-PASS. UPDATE (PR #204, Codex review of 255d52b7): (1) the reserved-key check also covers the objects an edit may allocate (brep::p3::prospective_entities: the next ids of every kind, arenas only append, within allocation_window = the B-rep's object count + 3 x a read source's + 16), so a new object cannot take a curve's or a kernel-named object's key (regression new_objects_cannot_take_a_reserved_key); (2) a copy is named by the caller's destination mapper (Brep::key = env.key_of(Brep) before anything is notified; regression copies_take_their_own_caller_identity), and new_brep reports its construction under the new B-rep's own kernel identity (enrolled, as with_kernel_callbacks later names it; Brep::key stays the caller's; regression new_breps_construct_under_their_own_identities); (3) topology.brep_p5's plain entry points run their whole edit under the kernel's identities (p5::plain_edit; regression plain_p5_edits_of_two_breps_never_share_a_key, also covering a nested plain p5 edit refused before anything changes); (4) merge_p3 / merge_p4's SmBrep, copy constructor and MergeBrep wired (cfb7bed2). UPDATE (PR #204, Opus review of 255d52b7): #283's five UNPORTED(topology.brep_p3) back-edges are all wired: boolean/merge/p3.rs empty_brep (brep::p3::new_brep), copy_brep (brep::p3::copy_brep) and combine_brep (brep::p3::merge_brep), boolean/merge/p4.rs new_component_brep (Brep::new_with_infinite_region; kernel held shared), and the boolean.merge_p3 difftest runner's empty_brep (brep::p3::new_brep). Context::take_notify_lease / restore_notify_lease are refused (Result) while a crate edit has lent the context (the nested-lend refusal cannot be bypassed through them; regression in nested_lent_edits_are_refused); the lending helpers use the crate-internal take_lease / install_lease. kernel_named_edit's doc says flags are not kept between such edits. UPDATE (PR #204, Codex re-check of 6b04141d): M1: CopyVertices' key check covers three new objects per input-list entry, repeated entries included (allocation_window takes the input count; with_caller_identities_for), so Codex's repro (one shell vertex copied 30 times, the 30th new vertex keyed like a curve) is refused before anything changes (regression copy_vertices_checks_a_key_for_every_entry). M3: kernel_named_edit seeds a default SmTopology record for every existing object of the B-rep when its environment is made, so a plain part-5 edit's first notifications (DeleteTopologicalVertex's edge MergeInBrep on the A--B--C wire, sent before any p3 edit) reach the callback (regression plain_p5_edits_deliver_their_first_notifications; fails without the seeding). Gate on e326597e (main through 7b57d8de, #351): 897 cases, 684 pass, 0 fail, 213 deferred; case by case 20 surface.sphere deferrals pass (main's CopyAndAddAnalytics sphere wiring) and 13 relabel to surface.surface_p2; --perturb 684/684; FUZZ-PASS 2000; valgrind clean on 33 filters; 35 touched units 0 failed; difftest cpp self-tests 180 pass; green 237 units, 0 failed. UPDATE (PR #204, merge of main 7eb93aa4, #364): SmFace::SwapUV in OrientTrimmedSurfaces notifies PRE/POST_EDIT through the edit's environment (topology::face::p1::swap_uv_with_notifications), with (this, NULL, NULL) as upstream (SM_NO_GET_BREP is a null pointer); the 31 orient *_swap0 cases, in which SwapUV runs, defer under harness:surface-notify-identity (upstream's surface SwapUV notifies the surface's own edit through SetCanonical, SmBSplineSurface.cpp:4585/4592, and a Rust Surface has no notify IdentitySlot; follow-up: co-port it, then un-defer; plan/findings.md). Report: 897 cases, 684 pass, 0 fail, 213 deferred (harness:surface-notify-identity 31, query.brep 57, surface.surface_p2 21, topology.face_p3 47, topology.face_p4 57); case by case no outcome change, 30 face_p4 -> face_p3 and 8 face_p4 -> query.brep relabels. boolean.merge_p2's MergeBrep::orient_trimmed_surfaces is wired (a required method); its MakeWireEdge stays an integration gap (see boolean.merge_p2). Re-run: topology.brep_p7 316/240/76 (3 deferred -> pass, 30 relabels; its 3 MakeWireEdge deferrals are the merge_p2 gap), boolean.merge_p3 387/222/165 (37 relabels to topology.brep_p4 StitchFaces); brep_p5, merge_p1, merge_p2, face_p1 unchanged. UPDATE (PR #204, re-check of 766472a1): harness:surface-notify-identity is removed. Orient outputs split into out (always compared), swapped (each face's SwapUV POST_EDIT count from that side's own events, always compared) and tracker (left out only by a side whose events show a swap; the surface's SetCanonical edit is not notifiable in Rust yet), from a trailer the shim and runner both emit. The 31 *_swap0 cases now pass on out + swapped (97 to 1162 values each). Report: 897 cases, 715 pass, 0 fail, 182 deferred (query.brep 57, surface.surface_p2 21, topology.face_p3 47, topology.face_p4 57); case by case only those 31 deferred -> pass. boolean.merge_p2 unchanged (45/30/0/15). MakeWireEdge: MergeContext::Shared carries &mut Kernel and is wireable; left for the follow-up with Split. UPDATE (PR #204, main merge 2026-10-21 + SmFace::GetVertices wired to topology::face::p4::vertices with upstream defaults): 897 cases, 761 pass (max_rel_err 0), 0 fail, 136 deferred (was 715 / 182). SweepStore constructors/copies bind geometry to NotifyEnv topology owners. turn_to_nurbs_with_geometry_owners supports caller-key transforms; the original wrapper and WR-168 deviation are retained. Runner/shim (#556, 2026-10-23): DeleteFace records also compare the number of SM_NO_DESTRUCTION notifications of edges (~SmEdge) the op sends, after the tracker (13 of the 90 delface cases destroy an edge through DeleteEdge; without the edge destruction path they fail). 897 cases, 812 passes, 0 failed, 85 deferred, unchanged. DeleteFace destructors (#556, PR #631): DeleteFace now deletes what upstream deletes, namely the easy branch's edge uses (previously only unlinked), the other shell of a region merge, the emptied shell and the last new shell of the nesting pass, each through its destroy helper; destroy_face also clears the face's attributes. The DeleteFace trailer counts SM_NO_DESTRUCTION per caller kind (edge, edge use, face, shell): all 90 delface cases agree (23 failed with only the brep_p4 changes). 897 cases, 812 passes, 0 failed, 85 deferred. UPDATE (owning-face caches in OrientTrimmedSurfaces): its B-rep curve solve runs on LiveBrepObjects, and the line it fires is owned by no edge (GetEdge() null): PARTIAL topology.brep_p3 cases=897 passed=860 failed=0 deferred=31 known_mismatch=6 blocked_by=topology.face_p2(31) (was 853 passed, 38 deferred). CO-PORTED in public solid scale phase two (2026-10-24): TurnToNURBS accepts producer-authorized geometry-selection keys separately from canonical notification keys and binds converted curves to the actual destination edge. Legacy arena entrypoint retains its convention. The BSpline-surface cast/materialization helpers now include Sphere through its native SurfOfRevolution inheritance, so surface conversion precedes the curve pass. Ten actual public scale cases pass exactly; no numeric/tolerance changes. UPDATE (public Cone/Torus scale probes, 2026-10-24): inherited B-spline cast/materialization includes Cone and Torus, matching SmSurfOfRevolution inheritance. Nine real public cylinder/cone/torus identity/nonuniform/reflection fixtures pass exactly after six conversion-order mismatches (retained UV trims) were fixed. No cone/p2 reconstruction or numeric/tolerance changes. Public extrusion transform followup (2026-10-24): TurnToNURBS now recognizes SurfOfExtrusion as its native BSplineSurface base and obtains its actual NURB before copying, with existing ordinary-status and Unported semantics. Seven real public-face scale/control cases pass exactly after the 3-pass/2-fail valid baseline; no identity rebinding. Explicit fixture MakeNurb does not fix the separate lazy iso-curve provider gap.
Goldens
This is committed inventory, not a runtime result or a correctness proof. A golden records what solidcore produced when blessed. Current results require the canonical CI gate, not these counts.
- Golden records
- 1,358
- Stored error outcomes
- 0
- Stored deferrals
- 0
- Stored harness rejections
- 0
- Known-failure entries
- 0
Metadata counts describe fields in the stored records; they are not passes or live failures.
Source at f9704ee3b:
golden JSONL ·
known-failure list.
Dependencies
Depends on: curve.curve_p2 green geom.context green geom.extent1d green geom.extent3d green geom.object green geom.solution_array green geom.tol green geom.vector3d green nurbs.b_spline_curve_p1 green nurbs.b_spline_surface_p1 green surface.surface_p1 green surface.surface_p2 partial topology.brep_p1 green topology.brep_p2 green topology.brep_p4 green topology.brep_p9 green topology.edge green topology.edgeuse_p1 green topology.edgeuse_p2 green topology.face_p1 green topology.face_p2 partial topology.loopuse green topology.proto_topology_p1 green topology.shell green topology.topology green topology.topology_traverser green topology.vertex green topology.vertexuse green
Soft dependencies: curve.crv_on_surf green curve.curve_p1 green curve.curve_p5 partial geom.extent2d green geom.vector2d green intersect.topology_solver_p2 green nurbs.b_spline_surface_n_lib_p1 green surface.offset_surface green surface.surface_p11 green surface.surface_p4 green surface.surface_p5 green surface.surface_p7 green topology.edgeuse_p3 green topology.face_p3 green topology.face_p4 green topology.trimming_tools green
Dependents: blend.feature_executive blocked blend.fillet_executive_p3 partial blend.fillet_geom_p6 green blend.fillet_removal green boolean.merge_p3 green offset.offset_executive_p2 partial primitive.api_trim_ops partial sweep.topology_sweep green topology.api_files partial topology.brep_constructor green topology.brep_cutting partial
Soft dependents: blend.fillet_executive_p1 green blend.fillet_executive_p2 green blend.hcr green boolean.merge_p2 green boolean.merge_p4 green boolean.topology_intersector_p1 green boolean.topology_intersector_p2 green heal.heal_data_p3 green heal.stitch_p2 green offset.offset_executive_p1 partial primitive.api_primitives green primitive.primitive_creation_p1 green primitive.primitive_creation_p2 green primitive.primitive_creation_p3 green sweep.api_brep partial sweep.api_surfaces green topology.proto_topology_p3 green
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmBrep::SmBrep | SmBrep.cpp:493 | 90 | [new_brep] |
SmBrep::SmBrep | SmBrep.cpp:598 | 91 | [new_brep] |
SmBrep::CopyVertices | SmBrep.cpp:1909 | 42 | [copy_vertices], [copy_vertices_with_context], [CopySource] |
SmBrep::DeleteFace | SmBrep.cpp:7072 | 545 | [delete_face], [DeleteFaceOptions] |
SmBrep::MakeWireEdge | SmBrep.cpp:21903 | 115 | [make_wire_edge] |
SmBrep::MakeWireEdgeVertex | SmBrep.cpp:22036 | 92 | [make_wire_edge_vertex] |
SmBrep::MergeBrep | SmBrep.cpp:23122 | 566 | [merge_brep], [merge_brep_with_context] |
SmBrep::OrientTrimmedSurfaces | SmBrep.cpp:24393 | 552 | [orient_trimmed_surfaces] |
SmBrep::SqueezeEdge | SmBrep.cpp:27040 | 219 | [squeeze_edge] |
SmBrep::TurnToNURBS | SmBrep.cpp:33055 | 192 | [turn_to_nurbs] |
SmApiBrepCopy | SmApiQueries.cpp:1053 | 23 | [api_brep_copy] |
Module file-header table (21 rows)
| Rust | Upstream |
|---|---|
[new_brep] | SmBrep::SmBrep(double, double, SmContext*) |
new_brep_for_caller (crate) | the same constructor under a reserved caller identity |
[copy_brep] | SmBrep::SmBrep(const SmBrep&, SmCopyBrepMap*, SmCopyBrepMap*, SmBoolean, SmBoolean) |
[api_brep_copy] | SmApiBrepCopy |
[brep_copy] | SmApiBrepCopy for a caller without notification state (the B-rep's own naming) |
[copy_vertices], [copy_vertices_with_context], [CopySource] | SmBrep::CopyVertices |
[delete_face], [DeleteFaceOptions] | SmBrep::DeleteFace |
[remove_slit_loops_where_solids_touch] | not upstream: the fork's SmBrep::RemoveSlitLoopsWhereSolidsTouch (issue #746) |
[split_disconnected_shells] | not upstream: the fork's SmBrep::SplitDisconnectedShells (issue #746); its parts regrouped by nesting (below) |
[make_wire_edge] | SmBrep::MakeWireEdge |
[make_wire_edge_vertex] | SmBrep::MakeWireEdgeVertex |
[merge_brep], [merge_brep_with_context] | SmBrep::MergeBrep |
[orient_trimmed_surfaces] | SmBrep::OrientTrimmedSurfaces |
[squeeze_edge] | SmBrep::SqueezeEdge |
[turn_to_nurbs] | SmBrep::TurnToNURBS |
[topology_ref], [topology_entity], [notify_serial] | (an object's address in the notifications, for callers without identities of their own) |
[edge_curve_identity] | (the m_pCurve object's address in the notifications) |
[face_surface_identity] | (the m_pSurface object's address in the notifications) |
[with_kernel_callbacks] | (for callers without notification state: the B-rep context's callbacks) |
[edit_brep], [EditScope] | (not upstream: one scope for composing topology operations: editing flag, notifications, marks, cached topology) |
Brep::remove_from_*_list (crate) | SmOwningTopology::Remove on the B-rep's list heads (and ~SmTopology) |
Upstream tests reaching this unit
prog_test:my_test_tsurf_cyl_creation_2d, prog_test:my_test_tsurf_cyl_creation_3d, prog_test:my_test_tsurf_cyl_creation_fast, prog_test:my_test_tsurf_creation, SM_API_test:TestSmCreatePlanarCircle, SM_API_test:TestIntersectionOutputStatus