Project2 for custom door plan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-09
06:29 AM
- last edited on
‎2023-05-24
10:47 AM
by
Rubia Torres
I want to create a projected and symbolic option for my custom door, but project2 just isn't working.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-09 02:21 PM
I get a correct result from:
PROJECT2 5, 90, 2
The "5" projection_code is not mentioned in the GDL Reference Guide (I guessed).
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.
David
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-09 06:59 PM
Obviously it is always better if the plan view is properly scripted to show the expected image e.g. door swing etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-09 08:03 PM
I have two more questions:
1) any ideas on why my wall hole does not show up in 3d? I have scripted a wall hole as:
WALLHOLE 4, 2,
0, 0, 15,
A, 0, 15,
0, B, 15,
A, B, 15
but don't get an opening. See attached image.
2) why would the door offset from the wall hole hotspots in both 2d & 3d? I have tried including an ADDx line to both scripts and it has no affect. Seems like starting from 0, it should align w/ the door script, or do wall holes measure from centerline?
See attachments for more clarification
(I will get a signature line added to my profile; I don't often use this forum anymore, but may start up again, so I'll get up to speed)
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-09 08:06 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-09 10:05 PM
patmay81 wrote:In the local coordinate system of the Door the 0, 0 coordinate is the middle bottom point of the Door. The Door extends both to left and right equally.
1) any ideas on why my wall hole does not show up in 3d? I have scripted a wall hole as:
WALLHOLE 4, 2,
0, 0, 15,
A, 0, 15,
0, B, 15,
A, B, 15
but don't get an opening. See attached image.
So the Wallhole definition show be like this:
WALLHOLE 5, 2, -A/2, 0, 15, A/2, 0, 15, A/2, B, 15, -A/2, B, 15, -A/2, 0, 15It may be a better idea to close the polygon, thus the 5 nodes instead of the 4 (I am not totally sure about this, I just looked at the examples in the GDL guide.)
But an even important point is that when the WALLHOLE is rectangular, you do not have to specifically script it because the Door will automatically cut a rectangular hole for itself from the Wall by default. You need to script a Wallhole only if it is not rectangular.
This page contains some useful info about the creation of Doors/Windows:
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-09 10:49 PM
I thought if I had a manual WALLHOLE I could offset the wall hole to match my script, but that doesn't translate well to the plan projection (back to the original question of PROJECT2{2}); unless I have a WALLHOLE2 also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-09 11:07 PM
ADDx -A/2 !at the top of the 3d script window
I had to modify my transformation stacks a bit, but everything is in the right spot now, plan and elevation!
Thanks for all the help everyone!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-10 07:15 AM
patmay81 wrote:Here is a short article about the basics of doors and windows:
I was referencing the link from the GDL center, but did not understand the door/window nature of originating from the center of the opening.
I hope it helps.
Gergely Fehér
Team Leader, Library Team
GRAPHISOFT SE

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-03-10 02:27 PM
DGSketcher wrote:Doors and windows are created at a 90Ëš rotation to their placement, so the "3" projection_code shows the face, not the top, of the door.
David: "5" is not listed in the GDL manual and therefore I assume a risky option. Normal top view would be PROJECT2 3,270,2 is there some trick in using "5" ?
David
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14