And finally, here's the win object itself. (I'm still on AC7v3).
As you can see, it's a beautiful traditional Swedish window, slightly Baroque in style, although in this case built around 1910. The object is regrettably just a very crude representation of the real thing, which has all kinds of small but exquisite detailing.
In the object's 2D view, i removed the trimmings (no need for them there). And the WALLHOLE command made the 3D cut perfect. But in the plan view, the hole in the wall is still too big (makes room for the trimmings).
The forum refused to accept the WIN file type, so I had to zip it. I used two different types of encoding, see below. Also, i'm not sure if i succeeded to save it in cross-platform format. Please notify if something's wrong!
Thomas wrote: In the object's 2D view, i removed the trimmings (no need for them there). And the WALLHOLE command made the 3D cut perfect. But in the plan view, the hole in the wall is still too big (makes room for the trimmings).
That is the answer to your question. When you make the window that way, the plan hole size equals the width of ALL the elements that make the window - including the trimmings. So the A of the winow is the window hole plus the trimming. Try reducing it in the script.
Not to be impolite, Djordje, but the question, which it is, can hardly be the answer when I'm asking for a solution!
This way of making a window doesn't generate a 2D script, just a 3D one. Thus I was under the impression that this WALLHOLE command would be used when Archicad cuts the wall in floor plan window too. But not.
And since I can't access this 2D plan wallhole in the object's 2D symbol window or "2D full view" window (why two similar? windows??), and I don't know how to create a 2D script from scratch, I still don't know how to do it. Which was my question in the first place!
Thomas wrote: Thanks! I'll test that tomorrow. Is it too much to ask what i am doing? 😉
X+, X- is opening oversizes ( left and right ).
It is a GDL expression. Your window has 95 mm empty space from each side. But this space will change if you will change the A parameter. As your window has 1410 mm full width, scaled space is 95*A/1410. Minus that expression will reduce the extra space (i hope).
Thanks, Oleg. This seems to work fine! And now that I understand what's happening, I can do more.
A sidenote: One might think that Archicad by default (when nothing special is specified in the 2D script) should use the 3D wallhole for cutting walls in 2D too. I guess that it doesn't is due to its historical roots. But Archicad needs to get more flexible in the 3D handling, so I'd say this is something the programmers should look into.
(or am I saying this just to regain my wise-guy status?) 😉
Instead of using the OVERSIZE function, I re-set A and B to the FRAME size without the trim.....
1. Create window with TRIM and everything else...
2. Know the size of the FRAME; for this discussion we'll say the window is 4'-0"w x 5'-0"h (sorry for feet and inches)... and our trim is 4" all around.
3. Our entire GDL would show 4'-8" x 5'-8".
4. When the GDL is completed by archiCAD, open it up and change A to 4'-0" and B to 5'-0".
5. In the 3d Script, change the MUL statements to the respective values (so, Mulx a/4'-8" will change to mulx A/4'-0", etc.)
Now your window callouts will be the actual size of the window and NOT the OVERALL size w/ trim; which is more tradional here in the US.
This will be reviewed at ACWest / Adv Modeling techniques!