fix: OCP import for BRepGProp + route metadata task to asset_pipeline
- Fixed: from OCP.BRepGProp import BRepGProp as brepgprop (was lowercase) - Routed reextract_rich_metadata_task to asset_pipeline queue (render-worker has OCC/OCP installed, worker container does not) - Backfill verified: 45/45 products updated with volume, surface area, part count, complexity metrics Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -709,7 +709,7 @@ def extract_rich_metadata(step_path: str) -> dict:
|
||||
from OCP.TCollection import TCollection_ExtendedString # type: ignore[no-redef]
|
||||
from OCP.TDF import TDF_LabelSequence, TDF_Label # type: ignore[no-redef]
|
||||
from OCP.XCAFDoc import XCAFDoc_ShapeTool # type: ignore[no-redef]
|
||||
from OCP.BRepGProp import brepgprop # type: ignore[no-redef]
|
||||
from OCP.BRepGProp import BRepGProp as brepgprop # type: ignore[no-redef]
|
||||
from OCP.GProp import GProp_GProps # type: ignore[no-redef]
|
||||
from OCP.BRepMesh import BRepMesh_IncrementalMesh # type: ignore[no-redef]
|
||||
from OCP.TopExp import TopExp_Explorer # type: ignore[no-redef]
|
||||
|
||||
Reference in New Issue
Block a user