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

GDL
About building parametric objects with GDL.
SOLVED!

How to program a 2D star?

Mats_Knutsson
Advisor

Hi,

I suspect an illusive script with PUT is how it should be done but I can't figure it out.

I'm after a star...as in attach... I got stuck in for next loops which resulted in all kinds of funny figures but no star so far...:)

/Mats

starisborn.jpg

AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
2 ACCEPTED SOLUTIONS

Accepted Solutions
Solution

Here you go, it can has all the points!

View solution in original post

Solution
Hmooslechner
Moderator

i tried it simple and fast with editable hotspots: 

 

 

https://www.dropbox.com/s/r6knpgob4l7iaps/Stern.gsm?dl=0

 

 

AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia

View solution in original post

6 REPLIES 6
Solution

Here you go, it can has all the points!

Worked like a charm! I was so close. Thanks.

SOLVED IT regarding hotspots...!!! Found what I was looking for.

 

AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
Solution
Hmooslechner
Moderator

i tried it simple and fast with editable hotspots: 

 

 

https://www.dropbox.com/s/r6knpgob4l7iaps/Stern.gsm?dl=0

 

 

AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia

Oh my that was elegant and also controlling number of points. Learned a lot from this.

Go Austria and you stay healthy too 🙂

AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.
Hmooslechner
Moderator

Some additional possibilities for 3D:

 

 

https://www.dropbox.com/s/6ocpxyq5mbevqj3/Stern.pln?dl=0

 

Merry Christmas!

AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia

Twinkle twinkle 🙂 I do envy your skills.

AC 25 SWE Full

HP Zbook Fury 15,6 G8. 32 GB RAM. Nvidia RTX A3000.