GDL
About building parametric objects with GDL.

How show building_material hatch on 'project{2} - cutplane' object

Anonymous
Not applicable
Hello
I've tried many times but without solution.
Is possible to show in gdl 2D the building_material hatch, pen .... of own 3D elements?

thx
4 REPLIES 4
DGSketcher
Legend
Yes it is possible but not easy. The only pointers I can give you are:

- If possible create the required plan drawing using 2D tools like POLY2_B in the 2D script
- If you have to use Project2, use the Project2{4} version
- You will need to use REQUEST to extract the fill & pen settings from the used material.
Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)
runxel
Legend
Also there is a bug in PROJECT2{4} that will prevent you from showing the BMat correctly, you will need to do that by looping through all different used BMats.
Lucas Becker | AC 27 on Mac | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text |
«Furthermore, I consider that Carth... yearly releases must be destroyed»
I agree with DG,

Don't use project2, it slows the regeneration.
Use the request function to get the material settings.
Then apply them to a poly2_b command.
Creator of Cadswift's parametric GDL libraries
Creator of Infinite Openings and Component Catalogues
Push the envelope & watch it bend
website: https://cadswift.com.au/
YouTube: https://www.youtube.com/user/CADSwift/playlists
A_ Smith
Expert
Kristian wrote:
Don't use project2, it slows the regeneration.

It's true. But sometimes you have a complicated object that's hard/impossible to draw a projection of it with help of poly. Idk if it's a good solution, but in such situations I tend to use project2{4} with parameters resolution=6. Where resolution is a parameters that sets resol in 3D script (for instance it could be 24 - high detalization for 3D).
AC 22, 24 | Win 10

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!