Files
ocp/inventory.json
stroblme 091a2ad0cf Housekeeping ahead of the Inc 1-4 coverage work
- inventory.py --methods: report the instance methods the app calls per class,
  plus chained calls that constrain a return type. --check says which classes
  to bind; this says what to bind on them, which is what writing ~38 module
  TUs needs.
- Drop StlAPI from the inventory: StlAPI_Writer has no app call site (the only
  use was a test fixture, now on the app's own STL writer). 138 symbols / 47
  modules.
- adding-symbols.md: scope the executing-constructor ban to the BRepAlgoAPI
  booleans, which are the only classes with a deferred Set*/Build form —
  BRepMesh_IncrementalMesh, GeomAPI_*, BRepCheck_Analyzer and friends compute
  in their constructor by design and bind as stock. Replace the per-increment
  app-test guidance: backend/tests/conftest.py imports n3xd.main, so no app
  test can collect until the last module is bound. Increments gate on
  stock-recorded fixtures here; the app suite is the Inc 4 gate.
- parity_venv.sh: run the ocp suite in the swapped venv (it imports only
  OCP/n3xd_ocp, so it works throughout).
- Fix a stale macro name in occt_handle.h (ocp_new, not OCP_TRANSIENT_NEW) and
  drop the unused ocp_transient_class helper.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DfriM8XUkn7uYf5Dwe2xo6
2026-08-10 19:23:27 +02:00

289 lines
6.2 KiB
JSON

{
"app_root": "/home/stroblme/n3xd/app/backend",
"files_importing_ocp": 115,
"modules": {
"BOPAlgo": {
"BOPAlgo_GlueShift": []
},
"BRep": {
"BRep_Builder": [],
"BRep_Tool": [
"Degenerated_s",
"Pnt_s",
"Surface_s",
"Tolerance_s",
"Triangulation_s"
]
},
"BRepAdaptor": {
"BRepAdaptor_Curve": [],
"BRepAdaptor_Surface": []
},
"BRepAlgoAPI": {
"BRepAlgoAPI_Common": [],
"BRepAlgoAPI_Cut": [],
"BRepAlgoAPI_Fuse": [],
"BRepAlgoAPI_Section": [],
"BRepAlgoAPI_Splitter": []
},
"BRepBndLib": {
"BRepBndLib": [
"Add_s"
]
},
"BRepBuilderAPI": {
"BRepBuilderAPI_Copy": [],
"BRepBuilderAPI_MakeEdge": [],
"BRepBuilderAPI_MakeFace": [],
"BRepBuilderAPI_MakePolygon": [],
"BRepBuilderAPI_MakeWire": [],
"BRepBuilderAPI_Sewing": [],
"BRepBuilderAPI_Transform": []
},
"BRepCheck": {
"BRepCheck_Analyzer": [],
"BRepCheck_Status": [
"BRepCheck_IntersectingWires",
"BRepCheck_SelfIntersectingWire"
]
},
"BRepClass3d": {
"BRepClass3d_SolidClassifier": []
},
"BRepExtrema": {
"BRepExtrema_DistShapeShape": []
},
"BRepFilletAPI": {
"BRepFilletAPI_MakeChamfer": [],
"BRepFilletAPI_MakeFillet": []
},
"BRepGProp": {
"BRepGProp": [
"LinearProperties_s",
"SurfaceProperties_s",
"VolumeProperties_s"
]
},
"BRepLib": {
"BRepLib": [
"BuildCurves3d_s",
"OrientClosedSolid_s"
]
},
"BRepMesh": {
"BRepMesh_IncrementalMesh": []
},
"BRepOffsetAPI": {
"BRepOffsetAPI_DraftAngle": [],
"BRepOffsetAPI_MakePipe": [],
"BRepOffsetAPI_MakePipeShell": [],
"BRepOffsetAPI_MakeThickSolid": [],
"BRepOffsetAPI_ThruSections": []
},
"BRepPrimAPI": {
"BRepPrimAPI_MakeBox": [],
"BRepPrimAPI_MakeCone": [],
"BRepPrimAPI_MakeCylinder": [],
"BRepPrimAPI_MakeHalfSpace": [],
"BRepPrimAPI_MakePrism": [],
"BRepPrimAPI_MakeRevol": []
},
"BRepTools": {
"BRepTools": [
"Clean_s",
"OuterWire_s",
"UVBounds_s"
],
"BRepTools_WireExplorer": []
},
"BinTools": {
"BinTools": [
"Read_s",
"Write_s"
]
},
"Bnd": {
"Bnd_Box": []
},
"GC": {
"GC_MakeArcOfCircle": []
},
"GCE2d": {
"GCE2d_MakeLine": [],
"GCE2d_MakeSegment": []
},
"GCPnts": {
"GCPnts_AbscissaPoint": [
"Length_s"
],
"GCPnts_TangentialDeflection": [],
"GCPnts_UniformDeflection": []
},
"GProp": {
"GProp_GProps": []
},
"Geom": {
"Geom_BSplineCurve": [],
"Geom_CylindricalSurface": [],
"Geom_OffsetSurface": []
},
"GeomAPI": {
"GeomAPI_PointsToBSplineSurface": [],
"GeomAPI_ProjectPointOnSurf": []
},
"GeomAbs": {
"GeomAbs_BSplineCurve": [],
"GeomAbs_BSplineSurface": [],
"GeomAbs_BezierCurve": [],
"GeomAbs_BezierSurface": [],
"GeomAbs_C2": [],
"GeomAbs_Circle": [],
"GeomAbs_Cone": [],
"GeomAbs_Cylinder": [],
"GeomAbs_Ellipse": [],
"GeomAbs_Line": [],
"GeomAbs_Plane": [],
"GeomAbs_Sphere": [],
"GeomAbs_Torus": []
},
"GeomLProp": {
"GeomLProp_SLProps": []
},
"Graphic3d": {
"Graphic3d_HTA_CENTER": [],
"Graphic3d_HTA_LEFT": [],
"Graphic3d_HTA_RIGHT": [],
"Graphic3d_VTA_BOTTOM": [],
"Graphic3d_VTA_CENTER": [],
"Graphic3d_VTA_TOP": []
},
"IFSelect": {
"IFSelect_RetDone": []
},
"IGESControl": {
"IGESControl_Controller": [
"Init_s"
],
"IGESControl_Reader": [],
"IGESControl_Writer": []
},
"IntCurvesFace": {
"IntCurvesFace_ShapeIntersector": []
},
"Interface": {
"Interface_Static": [
"CVal_s",
"SetCVal_s"
]
},
"NCollection": {
"NCollection_Utf8String": []
},
"Poly": {
"Poly_Triangulation": []
},
"RWStl": {
"RWStl": [
"ReadFile_s"
]
},
"STEPControl": {
"STEPControl_AsIs": [],
"STEPControl_Controller": [
"Init_s"
],
"STEPControl_Reader": [],
"STEPControl_Writer": []
},
"ShapeAnalysis": {
"ShapeAnalysis_FreeBounds": [
"ConnectEdgesToWires_s"
]
},
"ShapeFix": {
"ShapeFix_Face": [],
"ShapeFix_Shape": [],
"ShapeFix_Solid": []
},
"ShapeUpgrade": {
"ShapeUpgrade_UnifySameDomain": []
},
"StdPrs": {
"StdPrs_BRepFont": [],
"StdPrs_BRepTextBuilder": []
},
"TColStd": {
"TColStd_Array1OfInteger": [],
"TColStd_Array1OfReal": [],
"TColStd_SequenceOfAsciiString": []
},
"TColgp": {
"TColgp_Array1OfPnt": [],
"TColgp_Array2OfPnt": []
},
"TopAbs": {
"TopAbs_EDGE": [],
"TopAbs_FACE": [],
"TopAbs_IN": [],
"TopAbs_ON": [],
"TopAbs_OUT": [],
"TopAbs_REVERSED": [],
"TopAbs_SHELL": [],
"TopAbs_SOLID": [],
"TopAbs_ShapeEnum": [
"TopAbs_SHELL"
],
"TopAbs_VERTEX": [],
"TopAbs_WIRE": []
},
"TopExp": {
"TopExp": [
"MapShapesAndAncestors_s",
"MapShapes_s"
],
"TopExp_Explorer": []
},
"TopLoc": {
"TopLoc_Location": []
},
"TopTools": {
"TopTools_HSequenceOfShape": [],
"TopTools_IndexedDataMapOfShapeListOfShape": [],
"TopTools_IndexedMapOfShape": [],
"TopTools_ListOfShape": []
},
"TopoDS": {
"TopoDS": [
"Edge_s",
"Face_s",
"Shell_s",
"Solid_s",
"Vertex_s",
"Wire_s"
],
"TopoDS_Compound": [],
"TopoDS_Edge": [],
"TopoDS_Face": [],
"TopoDS_Shape": [],
"TopoDS_Shell": [],
"TopoDS_Wire": []
},
"gp": {
"gp_Ax1": [],
"gp_Ax2": [],
"gp_Ax3": [],
"gp_Circ": [],
"gp_Dir": [],
"gp_Dir2d": [],
"gp_Identity": [],
"gp_Lin": [],
"gp_Pln": [],
"gp_Pnt": [],
"gp_Pnt2d": [],
"gp_Quaternion": [],
"gp_Trsf": [],
"gp_Vec": []
}
}
}