edge bevel for workspace

free scripts, plugins, models, textures
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

edge bevel for workspace

Post by clintonman »

I just finished an edge bevel script, trueBevel, for workspace 7.61
trueEdgeBevel.jpg
Image shows left to right with smooth versions in back: a basic mesh, modelspace chamfer, workspace edge bevel, the new edge bevel and finally the new edge bevel after cleanup. They all have the same basic offset values for the bevels.

Behind the scenes:
It makes an inset bevel
then one by one it deletes the points of the original edge selection
between each point deletion it quadrifies all the faces

It's best to triangulate circular pieces(Ngons) before the bevel.

The script can potentially take up a lot of undo's so make a copy of the object and if you don't like the result just delete the copy and try again.

http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;
Clinton Reese

http://clintons3d.com
pugman 1
Captain
Posts: 1555
Joined: 21 May 2009, 19:26
Type the number ten into the box: 0
Location: Germany

Re: edge bevel for workspace

Post by pugman 1 »

Thanks for this it will be very usefull
keep up the good work
Great one
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: edge bevel for workspace

Post by clintonman »

Made a small update to the trueBevel script(now version 1.0). It includes a test button that makes a temporary bevel that can be used to preview the offset value. It runs a basic bevel, waits a moment, then runs an undo command. See the first post for the link.
Clinton Reese

http://clintons3d.com
User avatar
Steinie
Captain
Posts: 2910
Joined: 21 May 2009, 17:38
Type the number ten into the box: 10
Contact:

Re: edge bevel for workspace

Post by Steinie »

This was perfect timing and badly needed. Just this week I wished for this feature and forgot you had developed one for us already.
With the new preview feature will the undo problem remain from your first version?
I will also assume this will only bevel the selected polys and not the whole object?
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: edge bevel for workspace

Post by froo »

Clinton, You Are Smokin! Very prolific with scripts and plugins.
I am really dragging behind here! But I have the info I need now.
And thanks again for that 'ID' type script! Very useful!

Froo
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: edge bevel for workspace

Post by clintonman »

Steinie wrote:This was perfect timing and badly needed. Just this week I wished for this feature and forgot you had developed one for us already.
With the new preview feature will the undo problem remain from your first version?
I will also assume this will only bevel the selected polys and not the whole object?
Yep, the undo problem remains because it does so many steps to create the final bevel. The preview/test bevel doesn't have this problem since it has only one step and it undo's itself automatically.
Clinton Reese

http://clintons3d.com
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: edge bevel for workspace

Post by froo »

would it be possible, to disable the undo's? I have not looked at the script yet, so I am not aware whether the undos are required for processing or not.

EDIT:
Not sure if disabling of Undo/Redo is even possible; have not checked. But, would 'Flatten' be an option; perform a Flatten after every step, to essentially 'pop' the undos, off the undo stack?
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: edge bevel for workspace

Post by clintonman »

froo wrote:would it be possible, to disable the undo's? I have not looked at the script yet, so I am not aware whether the undos are required for processing or not.

EDIT:
Not sure if disabling of Undo/Redo is even possible; have not checked. But, would 'Flatten' be an option; perform a Flatten after every step, to essentially 'pop' the undos, off the undo stack?
I'm pretty sure Flatten is a part of the undos, because you can undo a flatten.

I didn't see any way to control undo via script. Plugin's have control, but not scripts as far as I can see.
Clinton Reese

http://clintons3d.com
froo
Captain
Posts: 2554
Joined: 22 May 2009, 12:13

Re: edge bevel for workspace

Post by froo »

oh ok. I thought, Flatten (Flatten History) essentially consolidated all the changes made during edits, into a node, and removed the Undo history. :)
User avatar
clintonman
Captain
Posts: 5422
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: edge bevel for workspace

Post by clintonman »

Update - January 8 2012

Removed the test button and made the offset interactively update the preview. It still uses the same basic methods except it has a watchdog driving the script when the offset changes. Best results come from smoothly and continuously changing the offset and zooming in closer to reduce the flicker from the undo step. Also changed the installer to automatic.
Clinton Reese

http://clintons3d.com
Post Reply