Yes Michael!
I'm using "closest point" method because I thought it was the easiest one.
For this very first version of the script I wanted to minimize the "inputs" so I've used the most simplified version of "Project" :
code:
factory = moi.command.createFactory('project');
factory.setInput(0, projectInput);
factory.setInput(1, projectTarget);
factory.setInput(2, 'closestpt');
projectResult = factory.calculate();
But...I didn't understand very well this part of the sentence :
@You : "It doesn't work too well with curvy surfaces when the curve isn't right near the surface though."
Thanks.
|