Sat, 03/05/2022 - 20:15
Forums:
Hello,
I am trying to pass parts of my models through the function ShapeCustom::SweptToElementary(). I am using OpenCascade 7.6.0.
However, the function tends to crash, giving me an access violation exception when running in debug mode.
There seems to be a problem in ShapeCustom_SweptToElementary::NewCurve2d().
At line 247: Handle(Geom_Surface) NS = BRep_Tool::Surface(NewF,L);
I think there is a problem here with NewF, but I am not 100% sure yet what.
I use this model for testing, which definitely has both Linear Extrusion faces and Revolution faces:
https://grabcad.com/library/model-centrifugal-jet-engine-1
(I could attach the step file, it is only 5.5 mb. But I am not sure if it is allowed)
Any ideas?
Sun, 03/06/2022 - 13:12
I attached part of the model that causes this crash. It contains some surfaces of Linear Extrusion.