Closed AmanSavaria1402 closed 3 years ago
Hello,
try using OCC.Core.STEPControl, OCC.Core.BRep etc.
Hope this helps
Hello @mkskalai, I am sorry but I didn't understand your answer. Could you please briefly write it. I am also facing the same dll error and tried every possible steps but didn't work. :(
Hello,
I am trying to extract features from step files by following this commit. But when I import the required functions,
from OCC.STEPControl import STEPControl_Reader from OCC.IFSelect import IFSelect_RetDone, IFSelect_ItemsByEntity from OCC.Display.SimpleGui import init_display from OCC.BRep import BRep_Tool_Surface from OCC.GeomAbs import GeomAbs_Plane, GeomAbs_Cylinder from OCC.TopoDS import topods_Face from OCC.BRepAdaptor import BRepAdaptor_Surface
I get a
ModuleNotFoundError
in importing all these functions except for theFrom OCC.Display.SimpleGui import init_display
function.These are all the error messages:
ModuleNotFoundError: No module named 'OCC.STEPControl' ModuleNotFoundError: No module named 'OCC.IFSelect' ModuleNotFoundError: No module named 'OCC.BRep' ModuleNotFoundError: No module named 'OCC.GeomAbs' ModuleNotFoundError: No module named 'OCC.TopoDS' ModuleNotFoundError: No module named 'OCC.BRepAdaptor'
Currently, I am using pythonocc-core == 7.5.1 and occt==7.5.2
Thank You.