When using an external IDE like Pycharm, I can see on the output that there is always an extra item as first item but only happens on Python3 component (RED).
It doesn’t show you on script editor (BLUE) even thought i am just using the same code from a single source.
It also doesn’t show on ootb editor (ORANGE).
Now, here’s the weird part, if i extract the script parameter on Script Editor (BLUE) and plug it in on the first one (RED) that first item disappear. Not sure what the IDE does to do that.
sample code in pycharm:
import Rhino.Geometry as rg
ORIGIN = start_pt
X = ORIGIN.X
Y = ORIGIN.Y
Z = ORIGIN.Z
end_pt = rg.Point3d(X, Y, 10)
here’s the image with extracted parameter
I can get away with just using the script editor, but I just want to know, thanks!
I’m using this build