HOME

TheInfoList



OR:

{{Unreferenced, date=July 2019 In
computer-aided design Computer-aided design (CAD) is the use of computers (or ) to aid in the creation, modification, analysis, or optimization of a design. This software is used to increase the productivity of the designer, improve the quality of design, improve c ...
, Geometric Description Language (GDL) is the programming language of Archicad library parts. GSM is the
file format A file format is a standard way that information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary or free. Some file formats ...
of these CAD objects.


Area of usage

These objects are similar to blocks in AutoCAD, but unlike blocks, these are parametric, and the 2D and 3D features are connected, so in any view one can get the correct visualization (for example a side view on the section, top view on plan, and perspective in the 3D view). GDL scripts define an Archicad library part in its main roles, these are 3D model, 3D model projected to section/elevation or to 2D plan, 2D plan view, user interface display and behaviour and listing quantities. All versions of the Archicad contain their own default libraries, also objects like furniture, windows, doors, trees, people, cars, construction elements, etc. There are several commercial websites for selling high-detailed intelligent parametric objects, which are perhaps better and more variable than the default libraries, for example there are a lot of environmental objects like plants, people or garden elements, which are not included in the original software.


Licensing

GDL is a free technology (although Archicad itself is a commercial software), it is allowed and possible to develop GDL based object libraries using free tools like Graphisoft LP_XMLConverter and Graphisoft GDL Web Plug-In.


Technical information

The GDL programming language is
BASIC BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages designed for ease of use. The original version was created by John G. Kemeny and Thomas E. Kurtz at Dartmouth College ...
-like. It has the same control flow statements and variable logic. In 2D and 3D in GDL, all the model elements are linked to a local right-handed
coordinate system In geometry, a coordinate system is a system that uses one or more numbers, or coordinates, to uniquely determine the position of the points or other geometric elements on a manifold such as Euclidean space. The order of the coordinates is sig ...
. For placing an element in the desired position, you have to move the coordinate system to the desired position (and orientation), then generate the element itself. Every movement, rotation or stretching of the coordinate system is called a transformation. Transformations are stored in a
stack Stack may refer to: Places * Stack Island, an island game reserve in Bass Strait, south-eastern Australia, in Tasmania’s Hunter Island Group * Blue Stack Mountains, in Co. Donegal, Ireland People * Stack (surname) (including a list of people ...
, which can be extended by further transformations and can be cut by deleting one or more transformations from the top of it. GDL maintains forward compatibility, which means that an Archicad library part will be readable with every subsequent Archicad program, but not necessarily with any earlier versions.


External links


GDL Center, GRAPHISOFT's GDL knowledge base and community centerGDL Cookbook 4Archicad GDL vs Revit Families
CAD file formats Procedural programming languages Dynamically typed programming languages Domain-specific programming languages