Generation of a curve Nurbs in haxe

Hello everyone, I need to generate a nurbs curve for a project in a dynamic way inside armory 3d is there a way to create points and add points to this curve and after convert it with haxe?

Thanks by advance