Boolean operation

Hi, I am facing the following issue while running in python. Please guide to solve this.


  • Updated code with and operation

  • edited May 18

    There is no AND operation between two polygons. Reason: in the generic case, the output of a boolean operation will not be a single polygon.

    Use the Region class instead:

    diff = pya.Region(circle) & pya.Region(box)


Sign In or Register to comment.