{"id":26841,"library":"coal-library","title":"Coal Library","description":"An extension of the Flexible Collision Library (FCL) for collision detection and distance computation. Supports convex primitives, meshes, octrees, and BVH. Version 3.0.1, with recent patch 3.0.2.c1. Release cadence: irregular.","status":"active","version":"3.0.1","language":"python","source_language":"en","source_url":"https://github.com/cmake-wheel/coal","tags":["collision detection","fcl","robotics","geometry"],"install":[{"cmd":"pip install coal-library","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"wrong":"from coal import CoalObject","symbol":"CoalObject","correct":"from cmeel.prefix import CoalObject"}],"quickstart":{"code":"import coal\n\n# Create a box collision object\nbox = coal.Box(1, 2, 3)\nobj = coal.CollisionObject(box)\n\n# Perform collision check\nres = coal.collide(obj, obj, coal.CollisionRequest())\nprint(res.is_collision)","lang":"python","description":"Simple collision check between two identical boxes."},"warnings":[{"fix":"Use `import coal` and `from coal import ...` for all symbols.","message":"In coal-library v3.x, the main module is imported as `import coal` not `import coal_library`. The PyPI package name differs from the import name.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Set the transformation using `obj.setTransform(transform)` before calling collide or distance.","message":"Collision objects require explicit transform updates; transformations are not automatically applied after creation.","severity":"gotcha","affected_versions":"all"},{"fix":"Use `coal.CollisionRequest(enable_contact=True)` instead of `coal.CollisionRequest(True)` .","message":"The `CollisionRequest` and `DistanceRequest` constructors now require keyword arguments for flags and settings; positional arguments are deprecated.","severity":"deprecated","affected_versions":">=3.0.0"}],"env_vars":null,"search_vec":"'3.0.1':25 '3.0.2':29 'bvh':23 'c1':30 'cadenc':32 'coal':1 'collis':8,12,34 'comput':16 'convex':18 'detect':13,35 'distanc':15 'extens':4 'fcl':10,36 'flexibl':7 'geometri':38 'irregular':33 'librari':2,9 'mesh':20 'octre':21 'patch':28 'primit':19 'recent':27 'releas':31 'robot':37 'support':17 'version':24","created_at":"2026-05-01T17:43:10.114445+00:00","updated_at":"2026-05-01T17:43:10.114445+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nModuleNotFoundError: No module named 'cmeel.prefix'"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/coal-library/coal","docs":null,"changelog":"https://github.com/coal-library/coal/blob/master/CHANGELOG.md","pypi":"https://pypi.org/project/coal-library/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}