PolygonOperations
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-16 12:02 PM
2008-12-16
12:02 PM
For example a tube could use different profiles created by Complex Profiles.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-18 10:11 AM
2008-12-18
10:11 AM
Pjotr wrote:"the trick is in pouring one array to another such way that adding or removing point is found out in the right position"
-good idea! A new point can distinguish it´s position if it is moved between existing points. Pouring ? any examples?
I´m a poor pourer but it doesn´t stop me trying.
The oher thing, saving profiles, may be done by "polygon operations extension" GDL-manual page 328. Needs studying...
Petri´s Mesh3d -object is a fine exaple of smart programming - thank you Oliver of this link.
-good idea! A new point can distinguish it´s position if it is moved between existing points. Pouring ? any examples?
I´m a poor pourer but it doesn´t stop me trying.
The oher thing, saving profiles, may be done by "polygon operations extension" GDL-manual page 328. Needs studying...
Petri´s Mesh3d -object is a fine exaple of smart programming - thank you Oliver of this link.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-18 10:22 AM
2008-12-18
10:22 AM
Pertti wrote:This macro was made with the same mindset as all others in the Basic Library: to give a quality implementation of useful generic task. In this case, this function is to provide some basic geometric operations with points, segment and polygons. It doesn't have any background magic in it.
There is a macro object called "PolygonOperations.gsm" in the objectlibrary 12. What objects call this macro? Is it possible to capture Archicad Complex Profiles to be used in gdl objects?
For example a tube could use different profiles created by Complex Profiles.
Unfortunately, there is no way to use the complex profiles of ArchiCAD in GDL, yet(!). You shouldn't wait for that with any of your elements because it won't come in AC13 and there is no official promise for a given date.
Until then, dealing with polygons in GDL is a pain, indeed. I think you already do it as it can be done - via arrays of coordinates.
Olivier wrote:Doing this complicated function is more efficient to implement in C++, that's why we made a new, faster and more rich implementation in a GDL add-on. It is called "PolyOperations", you can read about it in the GDL Reference Manual 12 from page 326. It provides a much more sophisticated way for executing operations on polygons.
About your first question, I don't find examples in 12 Library, using "PolygonOperations" macro.
We replaced all uses of the v11 macro by this add-on in v12.
Regards,
Zsolt
Zsolt Táskai
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-18 11:15 AM
2008-12-18
11:15 AM
Zsolt,
Thanks for the clarification, that's very helpful.
Thanks for the clarification, that's very helpful.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2008-12-18 11:58 AM
2008-12-18
11:58 AM
ztaskai wrote:I hope for it soon - as it would be a quick workaround for badly joining columns with beams, beam& beams and so on....
Unfortunately, there is no way to use the complex profiles of ArchiCAD in GDL, yet(!). You shouldn't wait for that with any of your elements because it won't come in AC13 and there is no official promise for a given date.
Regards,
Zsolt
Best Regards,
Piotr

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-03 03:55 AM
2009-01-03
03:55 AM
ztaskai wrote:When I first read Pertti's question I thought he was describing how the MEP routing works: various sectional profiles called along a path. How then does MEP work?Pertti wrote:Unfortunately, there is no way to use the complex profiles of ArchiCAD in GDL, yet(!). You shouldn't wait for that with any of your elements because it won't come in AC13 and there is no official promise for a given date.
There is a macro object called "PolygonOperations.gsm" in the objectlibrary 12. What objects call this macro? Is it possible to capture Archicad Complex Profiles to be used in gdl objects?
For example a tube could use different profiles created by Complex Profiles.
Until then, dealing with polygons in GDL is a pain, indeed. I think you already do it as it can be done - via arrays of coordinates.
Zsolt
Erika
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System
"Implementing Successful Building Information Modeling"
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System
"Implementing Successful Building Information Modeling"

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-01-06 09:26 AM
2009-01-06
09:26 AM
Erika wrote:MEP works by utilizing lots of API, GDL and even some inside-ArchiCAD functions. Basically, it implements the polygon editing in C++ in an add-on using API functions of ArchiCAD. Then it places GDL elements along the routed path. It's quite complicated. It's good that you mentioned it though - I forgot to mention the API based solution before.
When I first read Pertti's question I thought he was describing how the MEP routing works: various sectional profiles called along a path. How then does MEP work?
Regards,
Zsolt
Zsolt Táskai
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »