INTERPOLATE CHAMFER (chamfer like work of the smooth)

Namely, chamfer, which would work like this, as I have shown in this GIF

interpolate_chamfer

MacroScript int_Chamfer
ButtonText:"int_Chamfer"
Category:"temp" 
Tooltip:"int_Chamfer" 
(
	On IsEnabled Return Filters.Is_EPoly()
	On IsVisible Return Filters.Is_EPoly()
	On IsChecked Do (
		try (
			local A = Filters.GetModOrObj()
			(Filters.Is_This_EditPolyMod A) and (A.GetCommandMode()==#ChamferEdge)
		)
		catch ( false )
	)
	On Execute Do (
		Try (
			If SubObjectLevel == undefined then Max Modify Mode
			if subobjectLevel < 2 then subobjectLevel = 2
			if subobjectLevel > 3 then subobjectLevel = 2
			local A = Filters.GetModOrObj()
			)
 
	)
 
	On AltExecute type do (
		Try (
			If SubObjectLevel == undefined then Max Modify Mode
			if subobjectLevel < 2 then subobjectLevel = 2
			if subobjectLevel > 3 then subobjectLevel = 2
			local A = Filters.GetModOrObj()
		)
 
	)
)
AttachmentSize
interpolate_chamfer.gif141.26 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Nik's picture

I have such a modifier, but

I have such a modifier, but he is not working as it should

Nik's picture

gif I accidentally deleted, so load up again

how to do it? As to gif

barigazy's picture

You can make it shorter if

You can make it shorter

if getCommandPanelTaskMode() == #modyfy then subobjectLevel = 2 else
(
	setCommandPanelTaskMode mode:#modify
	subobjectLevel = 2
)

bga

Nik's picture

base chamfer of 3dsmax works like this clumsy

base chamfer of 3dsmax works like this clumsy

Nik's picture

It looks like a difficult

Please help :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.