OnPenUp called after OnNewEntity

Having problems with or questions about SheetCam? Post them here.
Post Reply
Jolbas
Posts: 88
Joined: Sat Feb 02, 2019 8:59 am

OnPenUp called after OnNewEntity

Post by Jolbas »

It seems OnPenUp on previos entity is called after next entitys OnNewEntity. Is it supposed to be that way? It is tricky to workaround.
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Re: OnPenUp called after OnNewEntity

Post by Les Newell »

That is correct I'm afraid. In some cases (such as when chaining cuts) the torch does not need to stop and run a pierce cycle between operations. SheetCam only knows if it needs to stop the torch after it has started the next operation.
Jolbas
Posts: 88
Joined: Sat Feb 02, 2019 8:59 am

Re: OnPenUp called after OnNewEntity

Post by Jolbas »

Ok. So there can be several entities on a single chained cut? I thought OnNewEntity() supposed to prepare for next cut. However, I used OnRapid() instead.
Post Reply