Sun, 08/16/2020 - 17:11
Forums:
Has anybody ever successfully created a fillet using a Law_Function with BRepFilletAPI_MakeFillet. If so an example would be greatly appreciated. I have tried numerous experiments with all relative functions and got nothing but errors or exceptions.
BRepFilletAPI_MakeFillet::Add (const Handle< Law_Function > &L, const TopoDS_Edge &E)
BRepFilletAPI_MakeFillet::SetRadius (const Handle< Law_Function > &L, const Standard_Integer IC, const Standard_Integer IinC)
BRepFilletAPI_MakeFillet::SetLaw (const Standard_Integer IC, const TopoDS_Edge &E, const Handle< Law_Function > &L)
Mon, 10/30/2023 - 10:19
I also need to create a fillet with a Law_Function. I tried a very simple one with Law_Constant but I am also getting errors all the time.
My crash occurs in ChFiDS_FilSpine.cxx Line 66:
He tries to access the list parandrad.first(), which is empty in the case of a law. It seems to me that the combination of law and fillet can not work at the moment.
Has anyone other experiences?
I am using OCC 7.6.3.
Best Regards,
Alexander
Mon, 10/30/2023 - 16:34
I finally decided that the law interface was never fully implemented. I altered occt to allow the usage of a law curve.
https://gitlab.com/blobfish/occt/-/commit/82f0bf88dd089baefdbf8682eef5d2...
Wed, 11/01/2023 - 14:25
Thank you a lot. We will check your update and adapt to OCCT if you don't mind.
Best regards, Dmitrii.
Wed, 11/01/2023 - 15:54
I don't mind, but be aware that I have not and won't sign the CLA.