2011-02-26
05:31 PM
- last edited on
2023-05-24
12:37 PM
by
Rubia Torres
2011-02-26 05:52 PM
2011-02-26 05:58 PM
2011-02-26 11:32 PM
2011-02-27 01:00 AM
Matthew wrote:Ok, sorry, I will take some new screen shots with a white bkgrd, may be easier to see.
The darkness of the images makes it difficult to see what's going on. I assume you are scripting this from scratch. Perhaps you should start with a simpler unit and get each bit working before building up the complexity.
2011-02-27 02:50 PM
2011-02-27 04:28 PM
David wrote:David, thank you very much for taking the time to reply, especially for the WALL_THICKNESS and WIDO_SILL pointers, and again, apologies for the hard to read images.
Paul:
Like Matthew, I am having a hard time reading the images, but here are a few things to keep in mind about the window's relationship to the wall:
1. As you referred to the GDL Reference Guide, then I am guessing that you have looked through the DOORS AND WINDOWS chapter that outlines the relationship between the window and the wall it is placed in.
2. The zero point for the window is on the exterior (reference line) side of the wall, and you are trying to place your window flush with the interior (non-reference side) face of the wall, so the wall thickness is an issue. The thickness of the wall can be picked up with the WALL_THICKNESS (C_) Global Variable, which you will need to use to adjust the frame thickness to the wall. You may also want to use WIDO_SILL (K_) which reads the Reveal Depth parameter for the window to get the correct adjustment. (These work for both the 2D and 3D Scripts.)
3. You might want to start with just the frame (comment out the rest of the window code) to concentrate on just getting the frame to work correctly, then place the rest of your elements relative to the frame.
Windows and doors are trickier than objects, as they depend on the wall they are placed in, but you should be able to sort this out and the knowledge you gain will be very helpful for any opening library part. Let us know how you get along.
David
2011-03-01 08:59 AM
2011-03-01 05:44 PM
ztaskai wrote:Thank you - exactly what I was hoping to find.
Hi,
This topic is covered in the Basic Library Documentation which was created to give implementation info and advice beyond the GDL Manual.
See Chapter 'Windows and Doors in GDL' underhttp://www.graphisoft.com/support/developer/documentation/LibraryDevKit for details about the positioning of windows in a wall.
2022-04-28 01:47 PM
Sorry to revive this old topic, but I am curious from where the terminology is taken?
WALL_THICKNESS (C_)
WIDO_SILL (K_)
A_
etc.
Juan.