PolygonOperations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-16 12:02 PM
For example a tube could use different profiles created by Complex Profiles.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-16 03:18 PM
It is possible to capture complex profile objects simply by saving them as a GDL object. You can either select it on the floorplan then 'file' > 'libraries and objects' > 'save selection as', or simply drag from the floorplan into the 3d script of an pre opened library part.
Bear in mind this converts it into an 'sprism_{2}' so you lose any ability to use the profile manager to edit and choose between different profiles. The code is also horrendously complicated when you start using chained lengths of geometry. I don't know enough about GDL to say whether it can be simplified manually or not!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-16 07:01 PM
Still interested? For example, in AC11, "CavityClosure" macro (doors and windows), used several macro calls to "PolygonOperations", but no more in AC12.
So go figure. If you are not afraid by complexity ... good luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-16 08:02 PM


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-16 10:29 PM
All this stuff is sooo complex, I'm not sure any architect can understand. For myself, I don't.
GDL is a nice but limited language, we all know. Paradoxically it turns into an incredible complexity level.
Previous bugs are half corrected, and each new release adds new ones. This would deserve another thread.
I tend to use old but simple GDL. Not so bad. At least it works from 8.1 to 12
From my stats, a lot of people are stil on old versions. Backward compatibility is important.
Yes we can.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-16 10:42 PM
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-16 11:08 PM
Pertti wrote:Pertti,
A window in a polygon wall can read the wall contour polygon (ac_wallcontourpolygon) parametes array. It´s used in drawing the window opening in 2d.
Could you explain a bit more, please?
I'm not sure to understand clearly what you try to achieve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-17 06:27 PM
It would be useful to have a storage of profiles you can choose between to create the tube. Of course it´s fun to compare between different profiles, which one gives the most suitable result. Interactive playing with forms is the thing.
Moreover, the route is a problem. How to make an array of points where you can add or remove points like you can do with archicad polygon tool...
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-17 08:27 PM
Pertti wrote:Pertti, take a look at the freeFormWindow on the depository. It is mabe by your compatriot Petri Leskinen.
How to make an array of points where you can add or remove points like you can do with archicad polygon tool...
The contour is defined by an array in which you can add new hotspots. You could adapt this for the tube path.
I have some examples of tube (array) in the library below. Insertion of new points is manual, but you can improve this, following Petri's example.
For cross section, you can start with a list of values for different profiles.
About your first question, I don't find examples in 12 Library, using "PolygonOperations" macro. Just this one, very similar, in case you need an example.
Looking at "terrace_CavityClosure" macro, it calls a "terrace_PolygonOperations" macro, which looks the same as "PolygonOperations".
I am not sure if this add-on can work with something else than doors/windows. If anyone has some info on this, I would be interested.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-17 08:43 PM
Pertti wrote:the "Array" is the key word - rather ArrayS would be even better here -
Moreover, the route is a problem. How to make an array of points where you can add or remove points like you can do with archicad polygon tool...
the trick is in pouring one array to another such way that adding or removing point is found out in the right position, anyway the pet palette is not possible (hopefully word "yet" could be added to the last sentence).
Best Regards,
Piotr