Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9243297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:46:50+00:00 2026-06-18T08:46:50+00:00

With OpenCascade, how to do a collision detection of 2 shapes? There may be

  • 0

With OpenCascade, how to do a collision detection of 2 shapes? There may be several ways. One is to calculate their intersection, and check the intersection results. Another way is to calculate their minimal distance. Which way is faster? Or any faster ways? Thanks a lot.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:46:52+00:00Added an answer on June 18, 2026 at 8:46 am

    computing a minimal distance is quite an expensive operation on a brep data structure. OCC does supply a commercial option [1] for collision detection. your other options might be to use ODE or Bullit to perform the collision detection on the mesh representing the BRep. That’s the approach we take in the PythonOCC project, see [2]

    [1] http://www.opencascade.org/support/products/coldet/

    [2] http://www.pythonocc.org/resources/dyn/cad-and-rigid-body-simulation/

    edit: recently, I’ve integrated the excellent FCL library [3] for the offline robotics software I’m developing. what makes it great is that it works fine with degenerate meshes, and you can compute perform mesh-to-mesh distances ( not possible with ODE ) very quickly. the python ( cython ) bindings are a work in progress [4] but stable and the python overhead is hardly noticeable, I can recommend this approach.

    [3] https://github.com/flexible-collision-library/fcl

    [4] https://github.com/neka-nat/python-fcl

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a CAD-file converter on top of two libraries (Opencascade and DWF
I am trying to build OpenCASCADE on Mac, but I am not having any
I am looking for a way to cure at least the symptoms of a
from shutil import copy f = open(r'C:\temp.txt', 'r') for i in f.readlines(): print i
I have a single-threaded linux app which I would like to make parallel. It

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.