Subobjects Converter

9 votes
Version: 
3.06
Date Updated: 
10/11/2023
Author Name: 
Nikolay Litvinov


v3.06
When importing models, there is often a single first smoothing group when the object is broken into elements. When seams are welded together, the result is not a model with faces, but a monolithic piece by Smoothing group.
To solution this problem: In subobjects 5 (Elements) added a function to assign a different smoothing group to each element. To RUN this function press ESC+5. After that all seams of surfaces can be soldered normally.
При импорте моделей часто бывает единая первая группа сглаживания, при том что объект разорван на элементы. При сваривании швов получается не модель с гранями, а монолитный кусок по группам сглаживания.
Для решения этой проблемой: В подобъектах 5 (Элементы) добавлена функция присвоения каждому элементу своей различной группы сглаживания. Для ВЫПОЛНЕНИЯ этой функции нажмите ESC+5. После чего можно нормально спаивать все швы поверхностей.

v3.05 Fixed error in standart primitives by Convert to poly
v3.04 Fixed bug of enable Subobjects from create mode
v3.03 Fixed bug of Subobject 5
v3.02
Added Select All Hard Edges by pressed Esc+2 If current subobject is Edges and not selected edges
Добавлено выделение всех жёстких рёбер по нажатию Esc+2 При условии что подобъект в данный момент это рёбра и не выделено ни одного ребра.

v3.01
If Esc+Key of script keyboard pressed and current subobjectlevel is 4 or 5 (Face or Element) and selected all faces then will run Smoothing Groups floater (a separate special window)
Если нажата Esc+кнопка скрипта и текущий подобъект 4 или 5 (Грани или Элементы) и все грани выделены, то будет запущен Smoothing Groups floater (отдельным специальным окошком)

Fixed bug of switch from subobject 5 to 4
Added Extended Subobjects:

Subobject 1:

If Esc+1 pressed then switch Enable/Disable Softselection

Subobject 2:

If the number of selected edges > 0 and
If Esc+2 pressed then make HardEdges else makeSmoothEdges

Subobject 3:

If the number of selected edges > 0 Then Cap of hole produces

Subobject 4:

If the number of selected faces > 0 then and keyboard Esc Pressed + 4 then
Make Hard Edges around polygons else
Make Smooth Edges around polygons

Subobject 5:

If is open UnwrapUVW editor then switch to Element subobject for UnwrapUVW else usual Subobject 5 enable

If Esc+Key of script keyboard pressed and current subobjectlevel is Face or Element and selected all faces then will run Smoothing Groups floater (a separate special window)
Если нажата Esc+кнопка скрипта и текущий подобъект Грани или Элементы и все грани выделены, то будет запущен Smoothing Groups floater (отдельным специальным окошком)


Converts subobjects by shortcuts.
Indispensable tool for work in the Expert mode.
Конвертирует подобъекты по горячим клавишам.
Незаменимый инструмент для работы в режиме Expert.

Additional Info: 

Install:

  • Drop *.ms to viewport
  • Перетащить *.ms во въюпорт
  • v2.98 Fixed bugs in convertion of few objects. Исправлены ошибки с конвертацией в нескольких об]ектах.
    v2.93

    Change knot type of splines by press Ctrl+1 (Corner/BezierCorner) or Shift+1 (Smooth/Bezier)
    Изменение типа узлов сплайнов по нажатию Ctrl+1 (Corner/BezierCorner) или Shift+1 (Smooth/Bezier)

    v2.92 optimized code
    v2.9
    If subobjectlevel 1 and press Ctrl+1 or Shift+1 then will Convert UV to geomerty vertices
    Если выделен подобъект 1 и нажать Ctrl+1 или Shift+1 то будет конвертация вертексов UV в геометрию.

    v2.8 Added the ability to convert multiple objects under the modifier Edit_Poly. Добавлена возможность конвертировать несколько объектов под модификатором Edit_Poly

    v2.7 Added support subobjects of SplineShape. Добавлена поддержка сплайн-форм

    AttachmentSize
    subobjects_converter_v2.7.ms11.82 KB
    subobjects_converter_v2.8.ms20.05 KB
    subobjects_converter_v2.9.ms20.18 KB
    subobjects_converter_v2.92.ms15.78 KB
    subobjects_converter_v2.93.ms16.86 KB
    subobjects_converter_v2.98.ms18.98 KB
    subobjects_converter_v3.0.ms20.85 KB
    subobjects_converter_v3.01.ms21.33 KB
    subobjects_converter_v3.03.ms21.04 KB
    subobjects_converter_v3.04.ms21.03 KB
    subobjects_converter_v3.05.ms21.68 KB
    subobjects_converter_v3.06.ms22.01 KB

    Comments

    Comment viewing options

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

    .

    Assign hotkeys in Customize >> Hotkey Editor >> Subobjects Converter Category

    Alexandr Glazachev's picture

    Super!!!

    I don't want to delete, I wanted to understand how it works. Nothing works for me with ESC. I described earlier.

    Alexandr Glazachev's picture

    My apologies

    I meant duplicate my posts.

    Nik's picture

    Hi

    What does the Internet have to do with it? The maxscript scripts do not affect the internet connection in any way. The scripts only work inside 3dsmax.
    However, if you want to remove the script, then
    call menu Scripting >> New Script
    Copy this code into the MaxscriptEditor window
    shellLaunch "explorer.exe" ((getDir #maxData)+("usermacros") )
    And press Ctrl+E
    This will open a Windows Explorer window of the folder where scripts are installed and you can find and delete any script there.
    Then restart 3dsmax

    Alexandr Glazachev's picture

    sorry

    I'm sorry for lot of messed. I have slowed down the Internet. I don't know how it now delete this.

    Alexandr Glazachev's picture

    Super!!!

    Николай вы меня совсем запутали..)) Как это вообще можно понять.. В скриптах в названиях прописаны я так понял рекомендованные Hotkey? Что то ни чего не работает. Esc+1,2,3,4,5 не работает и остальное тоже. Конвертация одной назначенной клавишей работает только. Можете помочь? Очень интересная по моему идея скрипта. И после любимого мной беззаветно "юниконектора" надежд много.)) Макс у меня 2022.

    Nikolai, you completely confused me ..)) How can you understand this at all .. As I understand it, the recommended Hotkeys are written in the scripts in the names? Something doesn't work. Esc+1,2,3,4,5 doesn't work and the rest too. Converting by one assigned key only works. Can you help? Very interesting script idea. And after my selflessly beloved "uniconector", there are many hopes.)) I have Max 2022.

    Alexandr Glazachev's picture

    Super!!!

    Николай вы меня совсем запутали..)) Как это вообще можно понять.. В скриптах в названиях прописаны я так понял рекомендованные Hotkey? Что то ни чего не работает. Esc+1,2,3,4,5 не работает и остальное тоже. Конвертация одной назначенной клавишей работает только. Можете помочь? Очень интересная по моему идея скрипта. И после любимого мной беззаветно "юниконектора" надежд много.)) Макс у меня 2022.

    Nikolai, you completely confused me ..)) How can you understand this at all .. As I understand it, the recommended Hotkeys are written in the scripts in the names? Something doesn't work. Esc+1,2,3,4,5 doesn't work and the rest too. Converting by one assigned key only works. Can you help? Very interesting script idea. And after my selflessly beloved "uniconector", there are many hopes.)) I have Max 2022.

    Alexandr Glazachev's picture

    Super!!!

    Николай вы меня совсем запутали..)) Как это вообще можно понять.. В скриптах в названиях прописаны я так понял рекомендованные Hotkey? Что то ни чего не работает. Esc+1,2,3,4,5 не работает и остальное тоже. Конвертация одной назначенной клавишей работает только. Можете помочь? Очень интересная по моему идея скрипта. И после любимого мной беззаветно "юниконектора" надежд много.)) Макс у меня 2022.

    Nikolai, you completely confused me ..)) How can you understand this at all .. As I understand it, the recommended Hotkeys are written in the scripts in the names? Something doesn't work. Esc+1,2,3,4,5 doesn't work and the rest too. Converting by one assigned key only works. Can you help? Very interesting script idea. And after my selflessly beloved "uniconector", there are many hopes.)) I have Max 2022.

    Alexandr Glazachev's picture

    Super!!!

    Николай вы меня совсем запутали..)) Как это вообще можно понять.. В скриптах в названиях прописаны я так понял рекомендованные Hotkey? Что то ни чего не работает. Esc+1,2,3,4,5 не работает и остальное тоже. Конвертация одной назначенной клавишей работает только. Можете помочь? Очень интересная по моему идея скрипта. И после любимого мной беззаветно "юниконектора" надежд много.)) Макс у меня 2022.

    Nikolai, you completely confused me ..)) How can you understand this at all .. As I understand it, the recommended Hotkeys are written in the scripts in the names? Something doesn't work. Esc+1,2,3,4,5 doesn't work and the rest too. Converting by one assigned key only works. Can you help? Very interesting script idea. And after my selflessly beloved "uniconector", there are many hopes.)) I have Max 2022.

    Alexandr Glazachev's picture

    Super!!!

    Николай вы меня совсем запутали..)) Как это вообще можно понять.. В скриптах в названиях прописаны я так понял рекомендованные Hotkey? Что то ни чего не работает. Esc+1,2,3,4,5 не работает и остальное тоже. Конвертация одной назначенной клавишей работает только. Можете помочь? Очень интересная по моему идея скрипта. И после любимого мной беззаветно "юниконектора" надежд много.)) Макс у меня 2022.

    Nikolai, you completely confused me ..)) How can you understand this at all .. As I understand it, the recommended Hotkeys are written in the scripts in the names? Something doesn't work. Esc+1,2,3,4,5 doesn't work and the rest too. Converting by one assigned key only works. Can you help? Very interesting script idea. And after my selflessly beloved "uniconector", there are many hopes.)) I have Max 2022.

    Comment viewing options

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