GH Python script - no output of a list of polycurves

What am I missing here?

I have a script that generates footprints for a list of brep volumes.
The list is correctly compiled, but the output is Null…

They are all valid, I also checked that

I’m a very beginner in Python, but my best guess is the function ExtractVolumeFootprints is returning nothing (fp list exists inside the function because is created inside it, so the Print works because also happening inside the function)

1 Like

Of course, you’re right, my bad. I copied that stuff from one of my non-GH scripts and forgot the encapsulation would not work…

1 Like