Anemone Looping not working in compiled GH - Script Editor

@eirannejad - I think this is one for you.

I’ve just found a number of bugs/operations not working in KaroroCAM (my CNC machining plugin for Rhino).

After doing a bit of trouble shooting I’ve tracked it down to Anemone looping components that function as expected/as they always have in the standard GH window BUT fail to work after being compiled thru the script editor.

This has only happened recently - but I cant advise on which of the newer Rhino SR’s that this problem came up.

I have created the attached (zipped) project file with a bare min example. This requires DKUI (package manger will install). Adds a single new command to Rhino - DK_Loop.

Cylinder will trace its way around the polyline - well in GH it will, as a plugin it will not move.

This kind of kills me on many fronts - I’ve got users now not able to use important functions in a plugin they have paid me for - could you have a look ASAP!

Cheers

DK

260225_Compile Loop Test.zip (105.6 KB)

OK, I’ve now tested the above plugin on my M1 Macbook Pro test machine and it works just as required. The problem seems to Windows only.

Cheers

DK

OK, just checked the Rhino version on my Windows machine

was:

8.29.26041.19001

Just updated to:

8.29.26054.15001

No change - still fails to run in the compiled version.

Cheers

DK

OK - some progress - IF grasshopper is launched before the script that contains the Anemone loop (just blank nothing needed in GH, can even be closed) the script runs perfectly.

I have added some “GH launch” lines to my KaroroCAM launch script and pushed a new version - that solves the current issue, still seems like there is an underlying issue.

Cheers

DK