ScriptSpot

Script

3DS max easy windows plug-in

By radolomeo · Credited author: Radolomeo · 2015-01-25

Version
0.8
Version requirement
max 2012
Date updated
2015-01-26
Votes
14
Description

This is my first script in 3D Max. I wrote it for my own purpose to speed up modelling of the most boring things in architectural visualisations. Windows and doors. This script helps to make simple windows and doors with divisions of your own need. Just place a box as a symbol of a door or a window and imagine that the segments of this box are the divisions of your window or door. iw there are segments on the depth side of the box, the script will obey it and remove as it will know that the shortest side of the box shoud not be divided, So if You happen to divide the box in too many dimensions, it does not matter. The only up-limit for the detailed windows are the 3x3 divisions. Low detailed windows are infinite. Enjoy it and i hope it is usefull. I wrote it for max 2012 so I do not know if it works under other versions.

Videos
Attachments

Tags: Doors, Windows

Comments (24)

scriptgast · 2016-10-07

Hi, great script, but I always work in meters, not centimeters. I can not enter a number like 0,14 meter or something. Is there a way to change that?
Also it would be great if the rotating parts could have it's own ID. Looking forward!

zonademagia · 2015-08-26

Great script! I hope this continue!

Tommy_LedZep · 2015-02-27

It works perfectly fine now ,
Thank you for the great work !

update

radolomeo · 2015-02-24

I fixed the bug with the windows heights. It should work right now. Cheers

3D Max 2014 HELP

shanopod · 2015-02-19

OK it's all fixed...there were several lines of code missing (my copying error)..

It works perfectly

Thanks

one more thing

radolomeo · 2015-02-18

as for the comment on creating windows out of borders... i see no good point in doing that, for instance to have a border you have to have an open gap, so you would have to delete some polys in the window opening to create a border. Then the script should cap this hole and everything. By placing a box just to fit the opening for window is i guess the easiest way to create an idea of a window. box divisions symbilize the frames and that is what i was about in the first idea. It is my first plugin and i am yet not good enought to make it perfect, so i will have to stay with this idea of creation as i did in the script, and only improove it to make a stable "easy windows and doors" plugin whithout extra superb tools. I guess with this plugin you just save a lot of time fitting each window to its opening size, and that is the main idea of this project. Thanks and sorry...

for the errors and bugs and advices

radolomeo · 2015-02-18

I wrote the plugin in 2012 3ds max and i have not tried it on other versions, i just do not have other versions to check if anything works. sorry for that. I just hoped that it will run on any newer version. i may try to get a 2014 max to find if anything is missing in the script.

as for the id materials. it is surely possible to add this option as a checkbox. i just did't think of placing different materials on each side od a glass. if it is necessary i will add this option in the next update.

as for the height of the windows. I also had (it was at first somehow randomly appeared different heights, but later on i found it in just few possibilities of divisions) this matter. if you could tell me what exactly the window divisions were and which dirrection the window was heading( i mean wheather it was faced in x or z direction), that would help me to locate the moment where i should check the vertexes. I guess what you wrote here, that when the sills are 3cm, the window has a hole beneath? there is a gap of 3cm under? please tell me what exactly happens and on what divisions vert and hor is it happening.

For the rest of comments, I kindly thaks for good oppinions and will try to implement some new tools to this. I already have them in my mind and i will be working on it qiute soon. Thank You guys.

Tommy_LedZep · 2015-02-20

The reason why I would like to have the possibility to assign 2 different IDs on the glass panes is because, this way, I can easily create double glazing panes with a different bump value on each one (to have realistic reflections).

About the bug: yes I sometimes have a 3cm gap beneath the window. And it seems to happen only on 2 panes windows. 1 and 3 panes ones are OK as you can see here:

Attachments

3D Max 2014 HELP

shanopod · 2015-02-17

Just does not start -> syntax end line error

I put the missing brackets at the end, and MaxScript Listener showed me that its in the Loom rollout section..but it's not there

Tommy_LedZep · 2015-02-17

Sorry I can not help you.
You may completely uninstall the script, then install it again properly.

3D Max 2014 HELP

shanopod · 2015-02-17

Thanks for the script, but when I run it on max 2014 it's just showing me errors..

Any idea..

What kind ?

Tommy_LedZep · 2015-02-17

I run it on 3dsmax 2015 without any problem.
What are the errors exactly ?

spartan20 · 2015-02-16

Such a useful script posted here thanks for sharing this. Keep posting.
Check this out! gain twitter followers

Bug + improvement

Tommy_LedZep · 2015-02-16

Hi,

Thank you for this great script :)

However I found a bug: sometimes (quite randomly it seems) the resulting window height is not the same as the input box. I mean, let's say I select a box which is 100 cm width x 200 cm height. Then I run the script, and the resulting window is 100 cm width x 197 cm height (given I choose 3 cm for the windowsill height).

And, as an improvement, it would be great if you could set 2 different IDs for the glass: one for the inner face and another for the outer one so that each glass pane can receive a different material.

Thank you again !

Michele71 · 2015-02-04

Plug really useful! Thanks for sharing :)

Suggestion

obaida · 2015-01-31

I think ,if you make it use poly object instead of box it will be more handy ,like using borders as symbol .

Nice script

I-CG Renderer Group · 2015-01-31

Thank you

obaida · 2015-01-31

Thank you for this script , its very usefull , keep it up .

Usefull script

parvez · 2015-01-29

Thanks for give us a good script. It will save our time

yo're welcome

radolomeo · 2015-01-30

I am still working on it an will add some more possibilities, maybe to be able to choose or ever draw your own window frame profile, who knows:). Nice to hear it will be useful for somebody.

radolomeo · 2015-01-30

I am still working on it an will add some more possibilities, maybe to be able to choose or ever draw your own window frame profile, who knows:). Nice to hear it will be useful for somebody.

arch3d · 2015-01-30

Nice time saver.Thx for share

very nice n usefull script

fajar · 2015-01-28

very nice n useful script, except it made my max error, the way you write the script is totally mess. but no problem mate,its good idea script.

Nice script

mustafa mamdouh · 2015-01-27

Thank you