Skip to content

Error in Example File: core_geometry_oriented_bounding_box #64

Description

@JonathanFalise

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions