RhinoScript vs. Python Scripting

I was wondering if someone could suggest which scripting I should research for my purposes.
I’ve able to write a macro that gives me tangent/perpendicular lines to a curve at specific point.
But I am wanting to automate it better so I still don’t have to do manual entering of mouse clicks, to more easily do something like a 100+ series of points on a curve.

I work primarily in Houdini and they have their own native coding context that really works well when one wants to deal with the manipulation of geometry directly(like writting their own functions and a good base of supporting native functions). They have python too which although it too can work well directly with geometry, can be a bit verbose and not as efficient, although it is excellent for many UI settings, workflows with importing data/files, etc.

So am wondering if this is something similar in Rhino, or would Python scripting likely be the better choice(more functions available to manipulate geometry), or go with RhinoScript?

I know it would be good to eventually explore both having their pros and cons depending on context. But just to get my current idea implemented of automating line tangents/perpendicular to a curve, without the need for any keyboard/mouse input, I was hoping someone might suggest which one may give better results based on their experience.

Hi @BabaJ,

Most Rhino scripters today are using Python, as it’s based on our RhinoCommon API.

RhinoScript is considered a “legacy” scripting language.

– Dale

Thanks very much for the input Dale and the API reference.