We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Polygonal freeform Window with inner freeform grid

Hmooslechner
Moderator
Its in an early stage - but You can see here the possibilities, which Graphisoft did not use for now in their own Library-windows and doors.

Now its still very hard to get all the needed wall information for something like this , not to say impossible - but with the existing paramaters - its possible to make something like this:


https://www.dropbox.com/s/qtxvlf4v9a48eqg/Multifenster6_12_2015.pln?dl=0

The fundamental code is still made with the Polygone-Code from VinceV6.

To put in such an opening correctly - You have to use the following workflow:

1. In the normal Library-Part dialog-box - make it so wide as You want it at last. This is, because the polygone is completely septerated from the normal opening measures. Later alterings of the with will scrample the design.

2. in the dialoge - put on the sight in groundfloor (in german dialog:"2D aufriss einschalten").

3. Design Your form in groundfloor or also in 3D - the contour-polygon and also the devidings from the 2 additional editable hotspots slightly out of the corners - to draw in the deviding - profiles.

4. Tor change the angle of the inserted profiles - do this in groundfloor first. Once the angle of the profile is changed, its possible to do this also in 3D - but not before and not, if You put it back to 0.

Tell me here what You think of it.

A English video is in upload and will follow here in some hours.

https://www.youtube.com/watch?v=IKc9L0HWPCE&feature=youtu.be
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
8 REPLIES 8
Hmooslechner
Moderator
in my GDLhandbook on page 186 i found :

HOTSPOT x, y, z [, unID [, paramReference [, flags [, displayParam [, “customDescription”]]]]]

i tried the following 3D-Script, to get movable hotspots with the names i want.

		for ii = 1 to 20
		
			!x control  Position des Elementes
			HOTSPOT 0,	  		RTX[ii][2], 	0, unID,RTX[ii][1],	1+128, 	displayParam,"Lage WaagrechteY"	:unID=unID+1		!BASE
			HOTSPOT RTX[ii][1],	RTX[ii][2], 	0, unID,RTX[ii][1],	2, 		displayParam,"Lage WaagrechteY"	:unID=unID+1		!MOVE
			HOTSPOT -1,			RTX[ii][2],		0, unID,RTX[ii][1],	3, 		displayParam,"Lage WaagrechteY" 	:unID=unID+1		!REF
			!y control
			HOTSPOT RTX[ii][1],	0,	 			0, unID,RTX[ii][2],	1+128, 	displayParam,"Lage WaagrechteX"	:unID=unID+1		!BASE
			HOTSPOT RTX[ii][1],	RTX[ii][2], 	0, unID,RTX[ii][2],	2, 		displayParam,"Lage WaagrechteX"	:unID=unID+1		!MOVE
			HOTSPOT RTX[ii][1],	-1,	 			0, unID,RTX[ii][2],	3, 		displayParam,"Lage WaagrechteX"	:unID=unID+1		!REF
in 2D it is similar:

		for ii = 1 to 20
		
			!x control Position des Elementes
			HOTSPOT2 0,	  		RTY[ii][2], 	 unID,RTY[ii][1],1+128, displayParam,"Lage Senkrechte"	:unID=unID+1		!BASE
			HOTSPOT2 RTY[ii][1],	RTY[ii][2],  unID,RTY[ii][1],2, displayParam,"Lage Senkrechte"		:unID=unID+1		!MOVE
			HOTSPOT2 -1,			RTY[ii][2],	 unID,RTY[ii][1],3, displayParam,"Lage Senkrechte" 		:unID=unID+1		!REF
			!y control
			HOTSPOT2 RTY[ii][1],	0,	 		 unID,RTY[ii][2],1+128, displayParam,"Lage Senkrechte"	:unID=unID+1		!BASE
			HOTSPOT2 RTY[ii][1],	RTY[ii][2],  unID,RTY[ii][2],2, displayParam,"Lage Senkrechte"		:unID=unID+1		!MOVE
			HOTSPOT2 RTY[ii][1],	-1,	 		 unID,RTY[ii][2],3 , displayParam,"Lage Senkrechte"		:unID=unID+1		
			

Testing the code with the testbutton:

In 3D – i get an error message: “displayParam” is not a legal parameter name…
in 2D – i dont get this message.

I can save and use the library-Part without any problem within Arhcicad.

Why do i get this message?

For testing by Yourself:

https://www.dropbox.com/s/645bz3fh59t5gut/Multifenster7_12_2015.pln?dl=0 (Edu19Aut)

short Vid.- https://www.youtube.com/watch?v=X1I8V0LK_MI - about the problem

Thank You forwarding for helping me at this topic
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
Hmooslechner
Moderator
Now i got it finally!! It sometimes (very often) - is very hard to understand the GDL-handbook - because it is so poor in examples. The textal description is right - but very without an minimal amount of examples)

You have to repeat the valuename once again instead of displayParam! - thats all!

Why dont they tell this clear! It is written there in a way - my simple mind could not understand it for hours! I had to find out with trial and error - seeking!
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
Wheres the curves 😉
some thing like this?

I am still working on the window re sizing with the curves, and the hole with the boundary, but I'm getting close

https://youtu.be/6TuxbZkzm1I
Hmooslechner
Moderator
My solution is just with straight segments. Your code is obviously better, but its too difficult for me to understand.

But You can try my last invention here:

https://www.dropbox.com/s/afdhmlwoi6td0y3/Multifenster8_12_2015.pln?dl=0

I had no time now to make an english tutorial Video, but a german is available here (just turn the sound off - smile):

https://www.youtube.com/watch?v=VzkindxTceQ

I just uploadet to bimcomponents. I think it will take some time for them to set it free on Bimcomponents.

Feel free to alter the code wit Your freeform polygone - it should not be so difficult
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
I'll share my code later, the curves are very simple
Hmooslechner
Moderator
Now i had some time to translate the german version into englisch and i made an english video-tutorial for it which is in upload now for some time...


the Archicad19EduAut - file:


Thehttps://www.dropbox.com/s/paox09lc5t2g86u/Multifenster19_12_2015%20english.pln?dl=0



the short Video-tutorial in (nearly) english - smile: (will take some time for upload..)


https://www.youtube.com/watch?v=HJLPn90GrFQ&feature=youtu.be


and it is uploaded to bimcomponents.com but not set free from them yet. I will send the link after they set it free there.

The name for it to search within Archicad will be: polygonal window
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia
Hmooslechner
Moderator
It is on Bimcomponents.com now - but there is the dwonloadbutton missing. But - Within the running Archcad- window Dialog - search for "polygonal window" to download it. This will work.
AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia