Defining Extrusion Geometry in GDL code
![jakubc7 jakubc7](https://community.graphisoft.com/legacyfs/online/avatars/actalk/a27517d178c246abb0dd17b6f4f6758a_70647.png)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-03-07 04:35 AM
2019-03-07
04:35 AM
Is there a way to implement 2D geometry (from polyline or fill) and use within a 3D GLD code of PRISM_ (or something more suitable).
I tried making a wall and/or column with a complex profile and "dragging" it into 3D code but that spits out very complex code which is unmanageable. I was hoping I could drag the fill or poly code coordinates and use them to define my _PRISM geometry?
I attempted this (using code from 2D poly or fill) in the past but never had success. Does anyone know a good way of achieving this?
ArchiCAD 10 - 25 | Windows 10
ARCHIcreate | Perth, Western Australia
archicad solutions | content creation | training | software implementation
ARCHIcreate | Perth, Western Australia
archicad solutions | content creation | training | software implementation
2 REPLIES 2
![Lingwisyer Lingwisyer](https://community.graphisoft.com/legacyfs/online/avatars/actalk/a27517d178c246abb0dd17b6f4f6758a_111371.jpg)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-03-07 05:09 AM
2019-03-07
05:09 AM
You can reference Complex Profiles in GDL and extrude those. There is a thread from when this was introduced and it contains a link to the example object.
Ling.
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
![Barry Kelly Barry Kelly](https://community.graphisoft.com/legacyfs/online/avatars/actalk/a27517d178c246abb0dd17b6f4f6758a_153.jpg)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-03-07 06:23 AM
2019-03-07
06:23 AM
jakubc7 wrote:You can use the x & y co-ordinates from a POLY2, but you may have to watch the masking value or status code when you use them with a 3D shape.
I attempted this (using code from 2D poly or fill) in the past but never had success. Does anyone know a good way of achieving this?
For example in 2D
poly2_ 6, 7, 0, 0, 1, 1, 0, 1, 1, 1, 1, 0.5, 1, 900, 0, 180, 4001, 0, 0, 1
but in 3D
prism_ 6, 1.0, 0, 0, 15, 1, 0, 15, 1, 1, 15-2, 0.5, 1, 900, 0, 180, 4015-2, 0, 0, -1
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11