Skip to content

simplify_paths_rdp breaks: compas_cgal.polylines not in published cgal 0.9.1 #186

@nacholopes

Description

@nacholopes

Hi,

Fresh install of compas_slicer 0.8.0 with compas_cgal 0.9.1 (latest on PyPI) and simplify_paths_rdp fails on import:

ModuleNotFoundError: No module named 'compas_cgal.polylines'

The polylines module exists on cgal's main branch but was never part of a release — 0.9.1 is from June 2025 and doesn't include it (see compas-dev/compas_cgal#67).

simplify_paths_rdp.py does a hard import with no fallback, so it breaks immediately. The other usage in interpolation_print_organizer.py is fine since it has a try/except.

Probably just needs a new cgal release, or a fallback in the meantime.

Env: macOS M3, Python 3.9, compas 2.15.1, compas_cgal 0.9.1, compas_slicer 0.8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions