RobertMayer

12-23-2008, 03:18 PM

Hey guys,

I'm looking for write a script that will produce a perfect fillet in max 9 using chamfer. I've used ChamferMadness, and while its wonderful, it doesn't perfectly distribute the new lines, leaving loops rings of varrying length. I want them to be perfect. I'm also using max 9 and don't have the ChamferSegments option that max 2008 has.

What I plan on doing is having a small dialog that has two parameters: basically a "Radius" and an "iterations". the Radius will determine the total radius of the fillet, and the iterations will determine how many times the thing will be chamfered (how well defined the chamfer will be).

But here's my dilema. I can't seem to figure out the math. If I'm chamfering the thing three times, with a total radius of 10mus, how long does each chamfer have to be to get a perfect curve?

I'm looking for write a script that will produce a perfect fillet in max 9 using chamfer. I've used ChamferMadness, and while its wonderful, it doesn't perfectly distribute the new lines, leaving loops rings of varrying length. I want them to be perfect. I'm also using max 9 and don't have the ChamferSegments option that max 2008 has.

What I plan on doing is having a small dialog that has two parameters: basically a "Radius" and an "iterations". the Radius will determine the total radius of the fillet, and the iterations will determine how many times the thing will be chamfered (how well defined the chamfer will be).

But here's my dilema. I can't seem to figure out the math. If I'm chamfering the thing three times, with a total radius of 10mus, how long does each chamfer have to be to get a perfect curve?