Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

BIMRithm Open Library

Just a little guy...
AC 24, Twinmotion current, Windows 11, Msi 10UG with rtx 3070, wacom intuos pro m, Wacom Cintiq Pro 16, razer Tartarus pro.
27 REPLIES 27

Podolsky
Mentor
Hi again,

I took a look a little bit more on your code. Unfortunately I have the same impression - I don't understand from where to start. It's too messy.

I would recommend to better organise your scripts. First at all - currently all parts are visible in ArchiCAD - as objects, that user suppose to use, as macros. Macros must be hidden. Library globals object (MVO) shouldn't be visible as object too. I didn't understand why was necessary to introduce new subtypes (and some of these subtypes are missing). If it's a door - it's better to use existing subtypes, even better - to copy ArchiCAD door with all parameters - this way your door will be fully compatible with ArchiCAD door.
Also many objects are giving errors when I try to open them or change some parameters.

In programming it is important not only write the script, but create first very clear logical scheme of elements, variables and functions. It's more like architectural project - graphical schemes first with logical connections of nodes (PARAM-O represents this graphical scheme logic). When all structure is clear and all dependences between files and macros are made - you can start your coding. Otherwise you are risking to fall into "spaghetti coding".

Just a little guy....
AC 24, Twinmotion current, Windows 11, Msi 10UG with rtx 3070, wacom intuos pro m, Wacom Cintiq Pro 16, razer Tartarus pro.

Anonymous
Not applicable
Podolsky wrote:
[...]I also think, it would be great to establish some sort of international community of people, who are all developing GDL objects useful for all.[...]
Agreed. Like an "Open Source Project" Section here on the forum. There is a whole lot of good codes and objects scattered all over the forum. Also a lot of brilliant GDL Kungfu fighters. Like you Seneca, Heimo, SinceV6, Runxel, Podolsky, Yves and others. Perhaps we could start with a poll to select a good initial pilot project.

(Personally, I would start with a proper Road Tool Object. Taking the brilliant object developed by Heimo (The one with the 2d sloping diagram) and giving it more flexibility in terms of real life road designs.)

What do you think?

Podolsky
Mentor
We can just open a new thread and start pumping there any ideas. I'm thinking for example from describing ideas with UI sketches. Discuss sketches, and based on made decisions to write UI code first (without any 3D or 2D). After write 3D and 2D parts. Different people can write different parts, or improve parts of the code.

Let me come back soon with something about it more solid. Maybe tomorrow.

vistasp
Expert
Isn't constantly changing code better dealt with on GitHub or something like that? I think Lucas (runxel) already does that. If each object starts a new thread here, it might quickly become very messy.
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-25 INT | Win10 | Ryzen 2600 | 16 GB | GTX 1150Ti |

Anonymous
Not applicable
vistasp wrote:
Isn't constantly changing code better dealt with on GitHub or something like that?
Yes. Perhaps GitHub is the place. I never used it... Its time for the old dog learn a new trick.

vistasp
Expert
Braza wrote:
Yes. Perhaps GitHub is the place. I never used it... Its time for the old dog learn a new trick.

This old dog too!
= v i s t a s p =
bT Square Peg
https://archicadstuff.blogspot.com
https://www.btsquarepeg.com
| AC 9-25 INT | Win10 | Ryzen 2600 | 16 GB | GTX 1150Ti |

Just a little guy
AC 24, Twinmotion current, Windows 11, Msi 10UG with rtx 3070, wacom intuos pro m, Wacom Cintiq Pro 16, razer Tartarus pro.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!