Print at Dec 15, 2025, 6:47:05 PM View all posts in this thread on one page
Posted by martinLL at Jun 9, 2024, 8:27:40 PM
Octagon Window
Hello,

how can I create a window in octagon shape ?

I made a trapezoid for the top half, with transparant walls.

But I fail to create the trapezoid upside down for the lower half of the window because I can not inverse the slope in the wall.



Any help?


greets,
martin

Posted by Keet at Jun 10, 2024, 8:57:13 AM
Re: Octagon Window
Create your window on a second level. This ensures that the room which you will use to create the glass has a thickness > 0.

First create the octagon border for the window. The easiest way is to first install the Regular Room plugin. With that plugin you can create an octagonal room. Select the wall icon on the toolbar and double click on the room. It should create octagonal walls around the room.
Adjust the height and thickness of the walls to what you want the border to be. Export only the walls to 'Border,obj'. Do not delete the room yet!

Check this manual on how to change material names:
https://dodecagon.nl/Docs/ChangeMaterialNames/Change_Material_Names.pdf
https://dodecagon.nl/Docs/ChangeMaterialNames...ial_Names_files.zip
Change the material names in the border.obj and .mtl files to 'Border' and import the Border object. (Drag the obj file in the 2D pane.)

Select and export the room to 'Glass.obj'. Change the material name to 'Glass' in the obj file. In the MTL file remove the 'newmtl' block and replace it with this:
newmtl Glass
illum 2
Ka 0.0 0.0 0.0
Kd 0.009412 0.009412 0.009412
Ks 0.039062 0.039062 0.039062
Ns 1.960784
Ni 1.45
d 0.5

Import the Glass object. Adjust the thickness of the glass since it will be as thick as a floor is. Position the glass inside the border. You can enlarge the glass a little so it sinks partially into the border (keep proportions, readjust thickness). Elevate the glass to where you want it to fit in the border. Export both Border and Glass together to 'OctagonWindow.obj. Import the window and turn it vertical (Modify furniture, set X to 270). Export it again.
Import the window agin but now check 'Door or window' in the import dialog.

Done, there's your octagonal window. When you modify the window you will have two materials: Border and Glass.
----------------------------------------
Dodecagon.nl
1300+ 3D models, manuals, and projects

Posted by martinLL at Jun 11, 2024, 4:49:14 PM
Re: Octagon Window
Thank you Keet,

it worked perfectly well :)