Replies: 1 comment
-
The SPLINE entity has a CLOSED flag ( for entity in msp.query("SPLINE"):
bspline = entity.construction_tool()
start, end = bspline.points([0, bspline.max_t])
if start.isclose(end):
# SPLINE is closed
... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was wondering, I don't know if it is right or it is possible to count the number of holes in this drawing

can I do everything on SPLINE and check if SPLINE is closed and count? Maybe there is another method to solve my problem?
Beta Was this translation helpful? Give feedback.
All reactions