Home Technical Talk
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

3DS Max - Quad Bridge - Quick Question

polycounter lvl 12
Offline / Send Message
Ace-Angel polycounter lvl 12
Hey to all,

Could someone check and see if in their 3DS Max they have the Bridge function which could be used for a Quad menu, with settings enabled?

Here is what I mean:

unled1fab.jpg

I just took a gander, and in 3DS Max, I only have Bridge under Edit Poly Group, but it doesn't have a unified function (EI: I cannot select the click bridge OR the Settings bridge, like connect, extrude and bevel have) instead, I need to have 2 separate functions as you can see.

Apparently, a google search shows me that it doesn't exist. Anyone can shed some light on this issue?

Forgot to mention that Relax is also in the same Boat, I had to choose Relax Option because the standard Relax refused to work, anyone has this problem?

Replies

  • Ruramuq
    Bridge was never included/finished, for quads/macros, since the day they introduced bridge if I remember well, ..for relax you might solve it by editing or creating a .mcr

    $.PopupDialog #Bridge
    -- Runtime error: Unrecognized code: #Bridge

    $.PopupDialog #Relax

    try to edit one that works, like extrude, max will open(read only) the .mcr file that contains all the macros, there you can copy one of those as a template to create your own .mcr

    On AltExecute type do (...
  • Ace-Angel
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    Wow, that is really sad. Thanks for the help, I'll poke around Max and see what I can come up with.

    Cheers.
  • Ruramuq
    I found a way, when reading 'edit poly' mod docs
    but it's not documented for editable_poly:

    basically replaced #bridge for #bridgeBorder,
    and for baseobjects, for numbers: 22 and 23 that I got using GetCommandMode() :
    1. MacroScript EPoly_Bridge
    2. enabledIn:#("max", "viz") --polycount
    3. ButtonText:"Bridge"
    4. Category:"Editable Polygon Object"
    5. internalCategory:"Editable Polygon Object"
    6. Tooltip:"Bridge (Poly) +"
    7. (
    8. -- Active in Edge, Border, Face, Element levels:
    9. On IsEnabled Return Filters.Is_EPolySpecifyLevel #{3..5}
    10. On IsVisible Return Filters.Is_EPolySpecifyLevel #{3..5}
    11. On IsChecked Do (
    12. try (
    13. local A = Filters.GetModOrObj()
    14. local mode = A.GetCommandMode()
    15. if (Filters.Is_This_EditPolyMod A) then
    16. (
    17. (mode == #BridgeBorder) or (mode == #BridgePolygon)
    18. )
    19. else (mode == 22 or mode == 23)
    20. )
    21. catch ( false )
    22. )
    23.  
    24. On Execute Do (
    25. Try (
    26. If SubObjectLevel == undefined then Max Modify Mode
    27. -- default to Edge:
    28. if subobjectLevel < 2 then subobjectLevel = 2
    29. local A = Filters.GetModOrObj()
    30. msl = A.GetMeshSelLevel ()
    31. if (Filters.Is_This_EditPolyMod A) then
    32. (
    33. if msl == #Edge then (A.toggleCommandMode #BridgeBorder)
    34. if msl == #Face then (A.toggleCommandMode #BridgePolygon)
    35. )
    36. else
    37. (
    38. if msl == #Edge then (A.toggleCommandMode 22)
    39. if msl == #Face then (A.toggleCommandMode 23)
    40. )
    41. )
    42. Catch(MessageBox "Operation Failed" Title:"Poly Editing")
    43. )
    44. On AltExecute type do (
    45. Try (
    46. If SubObjectLevel == undefined then Max Modify Mode
    47. -- default to Face level:
    48. if subobjectLevel == 0 then subobjectLevel = 4
    49. local A = Filters.GetModOrObj()
    50. local level = A.GetMeshSelLevel()
    51. if (level == #edge) then A.PopupDialog #BridgeBorder
    52. else if (level == #face) then A.PopupDialog #BridgePolygon
    53. )
    54. Catch(MessageBox "Operation Failed" Title:"Poly Editing")
    55. )
    56. )
  • Ace-Angel
    Offline / Send Message
    Ace-Angel polycounter lvl 12
    Wow, bloody nice one! It's works perfectly!

    Amazing work my good Sir! Much appreciated!
Sign In or Register to comment.