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

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()
)
)
)
By
Comments (15)
Comment policy
>> MAXScript MacroScript Error Exception:
-- Compile error: Nested macroScript definitions are not permitted
-- In line: MacroScript i <<
That's why I hate macros :)
script gives and error for me
--Syntax error: at),expected catch
-- In Line: )
.
The script do nothing, but...
doesn't do anything for me...??
Well, thank you very much for your response. Respect and thanks!
Maybe one sunny day max will have integrated feathure like upcoming C4D R15.
I have to admit it's very powerful modelling tool, look theses videos
http://www.youtube.com/watch?v=x5G_EMc0M6Q
http://www.youtube.com/watch?v=6y0Z8hFjgBI
That is not easy task. If you want to achive best chamfering u can buy this modifier
http://www.mariussilaghi.com/products/quad-chamfer-modifier
I have such a modifier, but he is not working as it should
It looks like higher mathematics needed to describe the logic of it? :)
Exactly :)
gif I accidentally deleted, so load up again
how to do it? As to gif
You can make it shorter
if getCommandPanelTaskMode() == #modyfy then subobjectLevel = 2 else
(
setCommandPanelTaskMode mode:#modify
subobjectLevel = 2
)
base chamfer of 3dsmax works like this clumsy
It looks like a difficult
Please help :)