The threads about Voronoi (or Qhull) are all very old now, i can't find the proper DLL to install and it seems very complicated (cever.org website is down now).
Can you point me a modern way to implement Voronoi Diagrams in OpenBuilding Generative Components ?
regards,
Xtov
Maybe something on this page will give you some ideas on how to generate them. Maybe using some cones?
datagenetics.com/.../index.html
Give it a go.
Looks interesting
Thanks
Wayne
Thank you Wayne. It is an interesting article.
But i wonder why there is no voronoi function in GC (it is very simple to do and there used to be one) ?
Many CAD softwares have it natively or by plugin (Revit, Blender, Sketchup,...). Why not Generative Components ?
Hi Christophe,
That is a good question. After cerver.org went dormant and Robert discontinued supporting QHull we considered picking up that task. However, since then your request is the first time (as far as I recall) someone has asked about supporting the Voronoi algorithm. Because there have been and continue to be a long list of requested capabilities that we'd like to implement in GenerativeComponents, support of QHull has had a relatively low priority. Access to the QHull project is still available through GitHub: https://github.com/cerver/GC_Qhull.
Regards,
Volker
Answer Verified By: chris Cher
Great ! Thank you for the link.
I found this too (see below) and it indeed would be easy to implement Voronoi Diagram (at least in 2D) even directly in GC Script.
https://rosettacode.org/wiki/Voronoi_diagram
Christophe
Sorry Volker,
but i did not succeed to make it work.
Is there someting more to do than copying the Qhull folder in the GC Assemblies folder ?
And how can you check if an assembly is available or not ?
During my current annual leave I will not have time to dig deeper into this. However, there are a few obstacles that would need to be removed before using those libraries: the project would have to be updated, using a Visual Studio edition. Most likely references will need to be updated because there were significant changes with CONNECT Edition and most likely anyway since the last update of that project. Once starting to compile there will be missing links and function, methods, etc. will need to be updated, too. You will need to feel comfortable with these challenges to start the project.
Instructions for working with GenerativeComponents' SDK are part of the Sample Project, delivered with Update 4 and later installations or available as downloads for Updates 1 and 2 through the product community Wiki at https://communities.bentley.com/products/products_generativecomponents/w/generative_components_community_wiki/37129/c-sample-solution-and-other-add-ins.
OK Volker,
thank you for the feedback.
I guess i will wait for this to be properly implemented in a future update. Until then i will do as usual, use Sketchup and plugins.
It is really a pity that Microstation does not have such an active community as Sketchup ( but i should say now "had" because of the new Trimble licensing policy).
Anyway enjoy your holidays.
Christophe.