pythonocc-demos
pythonocc-demos copied to clipboard
Error in Example File: core_geometry_oriented_bounding_box
Hi,
While trying to understand how to display bounding box of shapes, I discovered that the example core_geometry_oriented_bounding_box doesn't run through.
Error message prompt: Exception has occurred: RuntimeError "Standard_ConstructionErrorgp_Dir() - input vector has zero norm raised from method gp_Dir of class gp_Dir" "RuntimeError: Standard_ConstructionErrorgp_Dir() - input vector has zero norm raised from method gp_Dir of class gp_Dir"
I believe the error is on line 44, with both gp_Dir(aZDir) and gp_Dir(aXDir)
Thank you for the work