entityClosed variable

Having problems with or questions about SheetCam? Post them here.
Post Reply
User avatar
bLouChip
Posts: 124
Joined: Tue Nov 09, 2021 4:58 pm
Location: Raleigh, NC
Contact:

entityClosed variable

Post by bLouChip »

Les,
In the OnPenDown() function of a post script, I'm attempting to use entityClosed SC variable to detect when I'm building gcode for an open shape as defined by the .svg import. That works fine as long as I don't use leadin or leadout on the toolpath. Using either causes every shape to appear as an open shape. I get it that a leadin or leadout technically guarantees the path will be open, so how do I detect if the "entity shape" is open or closed ?
thanks.
Lou
MillRight CNC MegaV XL XYZA Tri-CAM Mill/Plasma/Laser
grbl 1.1i, UGS, Win 11, LightBurn, SC, Aspire, and sometimes [con]Fusion360
my youtube channel
Post Reply