GDL
About building parametric objects with GDL.
SOLVED!

Curved Segment using GDL Primitive Elements

Nader Belal
Mentor

Hi everyone,

 

Can someone explain me how to create curved arcs and surfaces using VERT, VERT{2}, TEVE, EDGE, & PGON ??

 

I tried searching for an example to follow, but I couldn't find any.

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
21 REPLIES 21

Okay, great, always love to discover new methods!

I'm really eager to know how you achieve this.

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»

same here, I still need to see this with my eyes. A simple example should be enough to show the implementation... How are you defining curves using vertices, edges and polygons (and apparently not being able to use status codes on corresponding commands)? Very curious...

Alright, I will make two posts and share it here

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Buy the way, I'm half way through

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
Nader Belal
Mentor

By the way, I´m half way through

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

All GDL commands will get translated to these primitives by AC. Curved surfaces just have many small polygons.

Here is some help for using TEVE: http://gdl.graphisoft.com/gdl-style-guide/script-type-dependent-recommendations

 

I'd recommend using BPRISM_ and COOR{3}  for a curved panel btw.

Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest

Thanks Peter, I understand this, its like many other platforms, rhino for example, where one can define nurbs surfaces (mathematically continuous) but still are represented (and only represented) as meshes (discrete representations). Further operations on that surface still are on the nurbs, though.
My surprise was in relation to the aim of defining "curves" or "curved surfaces" through a discrete system, which "is" (or "seems", afaik) an oxymoron.
In a private conversation, if I understood him correctly, Nader was trying to obtain a smooth representation of a discrete surface, which is all about shaders (well, and in the case of GDL applying the appropriate status code to de edges/polygons.

My poly tube calculates the positioning of the materials along curve sections for this exact purpose in terms of like a wood curved railing so that you can get a consistent wood grain all the way up the curve One of the things I hate about ArchiCADs railing tool

thank for the video seneca, really great job!
But for the sake of clarity in relation to the post, let me comment that your particular example is more related to texture UV mapping (TEVE, I suppose) than shading (which happens to be related to vertex normals). Correct me if I'm wrong.

bests, Aitor

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!