I’m trying to develop a script in Python that offsets a curve and joins a “wart” onto it. However I’m plagued by rhinoscriptsyntax being unable to recognize a curve as a curve. For example, in the below picture the trim command works on a curve, and then fails on the same curve on the very next line! Is there something I’m missing here about how to consistently give these functions good inputs?
If it helps I’m attaching my script here - but be warned, I’m a beginner and it’s a work in progress. python trouble.gh (11.0 KB)