The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Topics specific to the scripting and development of Library Parts and Libraries using Param-O or the Geometric Description Language – GDL. (Example: How do you use “REQUEST” GDL commands?)

Moderators: ejrolon, Barry Kelly, Karl Ottenstein, LaszloNagy, Gordana Radonic, nbalogh, gkmethy, mnguyen, rmasaki, Akos Somorjai, Peter Baksa, Csilla Mai

User avatar
By Braza
Hi SinceV6,

Thanks for your thoughts... Lots of good points that made me rethink the idea. And the link/thread you showed (Raised by Paul King) is a very good description of the need for a proper Road Tool.

sinceV6 wrote:I understand the wish, but not what it would solve,...
The purpose of this object, is to streamline the process that I manually do with Meshes. Usually the surveyor delivers a dwg file with very few point (Perhaps I have to put some pressure on him for a better service :roll: ). Then as you said I do the drill... Trace a Mesh on the surveyor points ("Paint the fence. Up…down. Up!" Down! :wink: )... But I also have to make tons of interpolated points to meet the terrain curve. This is my main pain in the rear :evil:. With new urbanization projects is the same process... I mark some key levels for crossroads and then the interpolations for smooth slopes. And finally draw the 2d sloping diagram that the Civil Engineer will use to make soil fills/excavations. But imagine if I have to change some key levels :twisted: With this object, I could trace the few points on the surveyor dwg > Enter its heights > Indicate the interpolation method for each segment > Once the points were ok then I generate a txt file with the contours and axis points (I am pretty sure Put, Get and I/O operations can do the trick) > Finally, I create a Mesh with the "Place a Mesh with the txt file". After this, I could use the Railing tool with magic wand to apply curbs, etc with regular AC tools. With the advantage that I could schedule and quantify everything (That's why I think that adding curbs, manholes and other accessories is not a good idea).

But perhaps you are right... The work involved in this object is not justified, as there are better workflows to achieve the same goal. :?:

By sinceV6

Thanks Braza.
I think we would need a real case scenario to evaluate how this could be achieved. Anything you could share?

Braza wrote: ... With new urbanization projects is the same process...
If urbanization projects are a constant thing, I would turn to see if there are other tools tailored for the task that could fit into the workflow. A hammer can be used for a lot of things, even put in a screw if needed, but a screwdriver will do a better job in that case.

Better topo tools are needed indeed, as they are part of the architectural workflow. I think urbanization projects are another whole thing to be dealt within AC.

Best regards.
User avatar
By Braza
Actually I am not practicing Architecture for a considerable time, as I mostly work for a contractor as a site manager on small residential projects. But I recall facing this kind of pain when I worked as Architect on small/mid size urbanization projects (up to 50 lots). I agree there are better tools for this job. But, as in the MEP design, there are some situations where the dimension of the work and the budget of the project doesn't allow me to buy and learn a dedicated software.
User avatar
By Podolsky
Hello there!

Just quick upload of an object, that can be useful. Biarc curve - arcs with common tangent. Can be used for further developments - for example for the roads.
Currently it's simple 2d element. It has maximum 11 nodes (10 segments). Each node is moveable on plan. If you overlay one node on another - it disappears. It also has editable hotspots to control radiuses of the segments.

Script is OK, but in some cases it gives me sharp edge connection - the main formula that calculates radiuses needs to be improved. GDL version 32 - ArchiCAD 17.

biarc.png (33.14 KiB) Viewed 217 times
(2.71 KiB) Downloaded 6 times
User avatar
By Podolsky
Last bug fixed...

From the script you can see how I name variables. I like to write the code, that it would be more understandable by human by giving 'real' names to variables. For example if it's a length parameter - I use 'coordinates' or 'length' or 'distance' or 'radius' - it's clear, that distanceBend is length parameter. If it's an angle, then variable name angleBend.
If it's integer - I use 'type' or 'number': numberNodes. If it's a string, then it could be 'name': nameFile, nameImage
(2.77 KiB) Downloaded 10 times
What about ameliorations of the existing framing object, it already works but with a llt of bugs and missi g good functuonnalities
- offset framing from wall edge (automatic or manual)
- making possible to add complex profiles to frames
- windows and doors special framing
- corner framing
- T junction framing
unnamed.png (58.21 KiB) Viewed 148 times
User avatar
By Braza
Very cool object. I just think its usability is very limited. The 3d dynamic Polyline from SinceV6 is very versatile. This also makes me think which is the best way to trace road paths? Just Lines and Arcs? Quadratic Belsier curve? It would be nice if someone with Civil Engineering in this matter could put some light on it. I personally think Lines and Arcs can do the job.

This framing object uses the Wall Accessories Goodies, right?
If so, the problem is that it has little to no support from GS.
Besides this, I have seen many users using the Curtain Wall Element to do this with very good results. Including scheduling and quantities takeoffs.

p.s.: It would be really nice if SinceV6 could send us a simple object with a "raw/clean" working version of his 3d Polyline that we could start to work. :D
User avatar
By Podolsky
The use of biarc is very important in architecture. As I know, in most cases it's biarcs instead of spline. As I know from people, who worked in road design - they never use splines. I uploaded the object on purpose - to use it as it is of course is limited, but it's can be useful for more complicated objects (as macro) to define let say edge of polygon. Also this algorithm can be converted into 3D curve - with some modifications. For example for plastic pipes, like MDPE or PEX. Standard set of MEP tools has only straight and curve parts, that needs to be combined together. That works for metal pipes - where bends are welded to straight parts, but when it's plastic - it usually goes as one long pipe up to 200 m. To have one long pipe that can be bended into any direction will solve this problem - for water supply or underfloor heating installations. Why this is important - to get right quantities. When I'm using standard parts (straight parts and bends) I'm getting very long schedule of lengths of all parts, that represents only one pipe. This is not comfortable.

Timber frames - it's something that I'm working on right now. Currently I'm finalising timber beam object (that has biarc curve as an option - this is from where this algorithm came). Next step will be floor joists and wall frames. Very possible that I will open my scripts for use for everyone, at least part of them for sure.
User avatar
By Podolsky
I also want to say, that I don't think that to use curtain wall for something else apart of curtain wall - like for concrete blocks or timber frame or railing for curb stone is a good idea. ArchiCAD is based on objects (as principle of object-oriented programming) and each object represents specific element. It remains me conversations happened long time ago about difference between modelling in 3DS Max and ArchiCAD. I did hear a lot of critics towards ArchiCAD - that to compare to Max ArchiCAD is limited in modelling. But there is the whole point - building elements and building materials are limited in use and their geometry fits to specific, limited again, needs - you cannot use bricks for roof tiles, windows for rooflights or reinforced concrete for furniture.
Making GDL objects, that serve specific needs (like wall frames), instead of making universal objects - for example the same frame, that you can use and for wall and for floor and for roof, will give better results in the projects, because each building structure has its own special features, structural function and properties. Steel connections are different for slab and wall - so, if include steel connections into timber frames (let say Simpsons Strong Tie) - it would be just great for making BIM models to LOD 5 and this is what construction sites are expecting from BIM.
  • 1
  • 3
  • 4
  • 5
  • 6
  • 7
  • 9