Units / sweep
sweep.api_brep partial
- Layer
- 59
- Upstream lines
- 529
- Functions
- 12
- Rust module
sweep::api_brep
Source: crates/solidcore/src/sweep/api_brep.rs
Upstream: source/SM_API/src/SmApiBrep.cpp
Notes
partial (PR #110): difftest cases=573 passed=306 deferred=267 (blocked_by primitive.primitive_creation_p2(80), primitive.primitive_creation_p3(187): every entry point validates and copies its inputs as upstream, then stubs the SmPrimitiveCreation sweep it wraps); compared: NULL curves, curves without Copy (SM_ERR), empty inputs, missing path, non-positive pipe radius, cap selector range; FFI fences off UB-111, UB-112, UB-113, UB-114, HANG-13; 12 fns; largest: SmApiCreateDraftSweep, SmApiCreateLinearSweep, SmApiCreateCurveSweep, SmApiCreateCurveSweepFromEdges; entry points: SmApiCreateCurveSweep, SmApiCreateCurveSweepFromEdges, SmApiCreateCurveSweepFromFaces, SmApiCreateDraftSweep, SmApiCreateLinearSweep, SmApiCreateLinearSweepWithRepetitions, SmApiCreatePipeSweep, SmApiCreateRotationalSweep, SmApiCreateRotationalSweepWithRepetitions, SmApiCreateSweepAlongPlanarPath, SmApiCreateTaperExtrude; 15 upstream test entry points reach this unit
Difftest
- Cases
- 573
- Passed
- 306
- Deferred
- 267
- Failed
- 0
- Both errored
- 0
- Max rel. error
- 0.0
- Tolerance
- 1e-09 rel.
- Seeds
- 16
Blocked by
| Unported unit | Deferred cases |
|---|---|
primitive.primitive_creation_p3 todo | 187 |
primitive.primitive_creation_p2 todo | 80 |
Report JSON (per-case results)
Dependencies
Depends on: primitive.primitive_creation_p2 todo primitive.primitive_creation_p3 todo
Soft dependencies: curve.curve_p2 green geom.context green geom.object partial geom.vector3d green primitive.primitive_creation_p1 claimed topology.brep_p1 claimed topology.brep_p3 claimed topology.brep_p4 claimed
Dependents: audit.recursion todo
Soft dependents: none
Upstream functions
| Upstream function | Defined at | Lines | Rust (from the file header) |
|---|---|---|---|
SmApiCopyCurvesForConsumingSweep | SmApiBrep.cpp:92 | 31 | copy_curves_for_consuming_sweep (private) |
SmApiCreateLinearSweep | SmApiBrep.cpp:1196 | 50 | [create_linear_sweep] |
SmApiCreateRotationalSweep | SmApiBrep.cpp:1254 | 48 | [create_rotational_sweep] |
SmApiCreateDraftSweep | SmApiBrep.cpp:1310 | 59 | [create_draft_sweep] |
SmApiCreatePipeSweep | SmApiBrep.cpp:1376 | 34 | [create_pipe_sweep] |
SmApiCreateSweepAlongPlanarPath | SmApiBrep.cpp:1420 | 48 | [create_sweep_along_planar_path] |
SmApiCreateCurveSweep | SmApiBrep.cpp:1475 | 49 | [create_curve_sweep], [CurveSweep] |
SmApiCreateCurveSweepFromFaces | SmApiBrep.cpp:1530 | 49 | [create_curve_sweep_from_faces] |
SmApiCreateCurveSweepFromEdges | SmApiBrep.cpp:1585 | 49 | [create_curve_sweep_from_edges] |
SmApiCreateTaperExtrude | SmApiBrep.cpp:1640 | 39 | [create_taper_extrude] |
SmApiCreateLinearSweepWithRepetitions | SmApiBrep.cpp:1685 | 36 | [create_linear_sweep_with_repetitions] |
SmApiCreateRotationalSweepWithRepetitions | SmApiBrep.cpp:1727 | 37 | [create_rotational_sweep_with_repetitions] |
Module file-header table (12 rows)
| Rust | Upstream |
|---|---|
copy_curves_for_consuming_sweep (private) | SmApiCopyCurvesForConsumingSweep (static) |
[create_linear_sweep] | SmApiCreateLinearSweep |
[create_rotational_sweep] | SmApiCreateRotationalSweep |
[create_draft_sweep] | SmApiCreateDraftSweep |
[create_pipe_sweep] | SmApiCreatePipeSweep |
[create_sweep_along_planar_path] | SmApiCreateSweepAlongPlanarPath |
[create_curve_sweep], [CurveSweep] | SmApiCreateCurveSweep |
[create_curve_sweep_from_faces] | SmApiCreateCurveSweepFromFaces |
[create_curve_sweep_from_edges] | SmApiCreateCurveSweepFromEdges |
[create_taper_extrude] | SmApiCreateTaperExtrude |
[create_linear_sweep_with_repetitions] | SmApiCreateLinearSweepWithRepetitions |
[create_rotational_sweep_with_repetitions] | SmApiCreateRotationalSweepWithRepetitions |
Upstream tests reaching this unit
SM_API_test:TestSmCurveSweep, SM_API_test:TestSmPipeSweep, SM_API_test:TestSmCurveSweepFromFaces, SM_API_test:TestSmCurveSweepFailureCleanup, SM_API_test:TestSmCreateDraftSweep, SM_API_test:TestSmTaperExtrude