API Tool Development: Advice Request

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-10-07
03:33 AM
- last edited on
2022-12-13
10:10 PM
by
Daniel Kassai
2004-10-07
03:33 AM
I am currently working on a project with a local manufacturer to develop a wall panel configurator. Our team has built paneliztion routines in GDL previously, but this project has a new twist.
The wall panels comprised of steel studs and EPS foam formed on a proprietary cutting bed. What I'm looking for is the means of sending a file to the cutter that optimizes the foam blocks from which the panels are cut.
Am I right to think that there are existing routines in the public domain that analyze geomtric shapes and are able to collate and rotate them into a configuration that reduces the "white space" around them? And, if such algorithms exist that they can be adapted for use in an Archicad API based project?
The wall panels comprised of steel studs and EPS foam formed on a proprietary cutting bed. What I'm looking for is the means of sending a file to the cutter that optimizes the foam blocks from which the panels are cut.
Am I right to think that there are existing routines in the public domain that analyze geomtric shapes and are able to collate and rotate them into a configuration that reduces the "white space" around them? And, if such algorithms exist that they can be adapted for use in an Archicad API based project?
Think Like a Spec Writer
AC4.55 through 28 / USA AC28 USA
Rhino 8 Mac
MacOS 15.2
AC4.55 through 28 / USA AC28 USA
Rhino 8 Mac
MacOS 15.2
Labels:
- Labels:
-
Add-On (C++)
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-10-07 05:58 AM
2004-10-07
05:58 AM
Aaron wrote:Hi Aaron,
Am I right to think that there are existing routines in the public domain that analyze geomtric shapes and are able to collate and rotate them into a configuration that reduces the "white space" around them? And, if such algorithms exist that they can be adapted for use in an ArchiCAD API based project?
You are looking at a 2-dimensional variant of the 'bin packing' problem, which is provably "difficult" (NP-complete). Here are a couple of quick links from Google so you don't have to go find a complexity theory textbook:
http://www.ams.org/new-in-math/cover/bins1.html
Now, such problems have heuristic solutions that are 'pretty good'... it is just the optimal solution that is something that you don't want to try to implement in the general case and expect to live to see the result. Naturally, UPS/FedEx/etc have ways of fitting stuff into their trucks, etc.
If you aren't comfortable digging into all of this, I'd suggest contacting the University of Alberta at Edmonton's Computer Science Department. Whoever is teaching the complexity theory course(s), or the graduate students specializing in that field should be able to help.
Good luck!
Karl
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-10-07 09:49 AM
2004-10-07
09:49 AM
Karl
I dont know many architects knowing about NP complete or not problems!
I also dont know many architects with good computing skills, not to mention creating a compiler (yes.. i read your posts
).
By the way nice link ( the second one)
I dont know many architects knowing about NP complete or not problems!
I also dont know many architects with good computing skills, not to mention creating a compiler (yes.. i read your posts

By the way nice link ( the second one)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-10-07 09:37 PM
2004-10-07
09:37 PM
oreopoulos wrote:I don't know any
I dont know many architects knowing about NP complete or not problems!
I also dont know many architects with good computing skills, not to mention creating a compiler (yes.. i read your posts).
(In Idaho, at least, I can call myself a designer or whatever, but only licensed architects are allowed to use the word or imply that they are architects or practice architecture.)
Thanks.
Karl
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-10-07 09:47 PM
2004-10-07
09:47 PM
I am not an architect too..
Mathematician and Civil Engineer
But a hobby programmer for lets sat 25 years? (my first program was an zx80 hack for a game..
)
I asked from GS a code for the apis.... I want to make a simple model checker. It will scan through some elements (walls slabs beams) and check for points that are too close (close would be user defined.) the api could fix those points by moving a selected edge....)
I will start as soon as i recieve the auth code..
Mathematician and Civil Engineer

But a hobby programmer for lets sat 25 years? (my first program was an zx80 hack for a game..

I asked from GS a code for the apis.... I want to make a simple model checker. It will scan through some elements (walls slabs beams) and check for points that are too close (close would be user defined.) the api could fix those points by moving a selected edge....)
I will start as soon as i recieve the auth code..


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-10-07 10:25 PM
2004-10-07
10:25 PM
oreopoulos wrote:Wow.
I am not an architect too..
Mathematician and Civil Engineer![]()
Good luck with the development once you get your auth code.
Karl
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB