hasOverlap in 1.7

RoboFont Forums Help / General hasOverlap in 1.7

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Anonymous 9 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6248

    Anonymous

    Hi,

    when I try to use the below code in RF 1.7 I get an error, nevertheless it works fine in RF 1.6.

    The script:

    for g in f:
    if g.hasOverlap():
    print g

    The error:

    Traceback (most recent call last):
    File “<untitled>”, line 28, in <module>
    File “lib/fontObjects/robofabWrapper.pyc”, line 3069, in hasOverlap
    File “lib/tools/removeOverlap.pyc”, line 104, in getIntersectionPoints
    File “/Applications/RoboFont.app/Contents/Resources/lib/python2.7/booleanOperations/booleanOperationManager.py”, line 74, in getIntersections
    ImportError: No module named flatten

    Any idea?

    Thanks in advance for your help,

    em.

    #6250

    frederik
    Keymaster

    thanks for reporting

    this will be fixed in the next update

    thanks

    fyi: there was an import error see https://github.com/typemytype/booleanOperations/commit/b16abef44709c3048573d9a26841c92ae3baa825

    #6256

    Anonymous

    Great!

    I’ve fixed that file and now it works perfect.

    Thanks,

    em.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.