PDA

View Full Version : BaoAutoChamfer


TheVoice059
12-07-2007, 11:24 PM
I'm having a spot of trouble with Bao's AutoChamfer.

http://forums.cgsociety.org/showthread.php?t=255871

I followed said instructions, and when I run 3ds, I get an error message on startup.


Syntax error: at bad, expected <factor>
In line: (There are several symbols I can't replicate here)


I of course have no idea what's causing it. I'm a bit new to 3ds, and completely new to scripting. I'm running v7. Are scripts version specific, or is something else causing it?

As an alternative solution, anyone know of another easy way to round edges? I'm tired of manually chamferring everything.


Thanks guys
John

RustyKnight
12-09-2007, 09:50 PM
I'm having a spot of trouble with Bao's AutoChamfer.

http://forums.cgsociety.org/showthread.php?t=255871

I followed said instructions, and when I run 3ds, I get an error message on startup.


Syntax error: at bad, expected <factor>
In line: (There are several symbols I can't replicate here)


I of course have no idea what's causing it. I'm a bit new to 3ds, and completely new to scripting. I'm running v7. Are scripts version specific, or is something else causing it?

As an alternative solution, anyone know of another easy way to round edges? I'm tired of manually chamferring everything.


Thanks guys
JohnShort answer polyOp.chamferEdges <Poly poly> <edgelist> <float amount>and then there is<void>chamferEdges <float>amount open:<bool>p = convertToPoly(Plane()) --create a plane, convert to Epoly

polyop.setEdgeSelection p #{7,10} --select two side edges

p.EditablePoly.chamferEdges 5.0 --chamfer the selection

You might want to check the docs more details

Shane

CGTalk Moderation
12-09-2007, 09:50 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.