Skip to content
Discussion options

You must be logged in to vote

Your code is almost correct. The problem is that the apply_path_operation function applies predefined path operations like union, intersection, and difference. To apply an LPE, you need to invoke the object's apply_path_effect method:

for object in all_shapes():
  if object.tag == "path":
      object.apply_path_effect(corners)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ornamentist
Comment options

@ornamentist
Comment options

@spakin
Comment options

@ornamentist
Comment options

Answer selected by ornamentist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants