ArchicadWiki - the ArchiCAD Knowledge Base
Post new topic   Reply to topic   printer-friendly view   .    ArchiCAD-Talk Forum Index >>> Libraries / Library Parts / GDL >>> 2D Symbol after modeling custom window
View previous topic :: View next topic
Author Message
ksymons19
Junior member
Junior member

Joined: 09 Jun 2009
Posts: 146
Location: St Louis

PostPosted: Wed Jul 28, 2010 6:21 pm    Post subject: 2D Symbol after modeling custom window Reply with quote

I created a custom gothic window with terracotta trim on the exterior side. I'm familiar with copying and pasting parameters for the WALLHOLE function and cleaning up my 2D symbol.

What is new to me is since I included terracotta trim, the window opening on my floorplan follows the overall size including terracotta trim. This is also after I input the WALLHOLE code. I tried deleting the 2D work of the trim and selected everything in that area but the gap still remains. Is there a way to enclose the gap for my 2D representation to follow the WALLHOLE settings? Is the only solution putting in fills in my GDL 2D symbol to line up with wall composites?



Clipboard-1.png
 Description:
 Filesize:  5.84 KB
 Viewed:  703 Time(s)

Clipboard-1.png



_________________
ArchiCAD 12 (Build 2675) US
ArchiCAD 13 (Build 3600) US
ArchiCAD 14 (Build 3004) US on Windows XP 32-Bit
BIM Server (Build 3600) on Windows 7 64- Bit; Windows Server 2008 R2
Back to top
View user's profile Send private message
Erika Epstein
Senior member
Senior member

Joined: 30 Oct 2003
Posts: 2911
Location: Los Angeles, CA Ann Arbor, MI

PostPosted: Wed Jul 28, 2010 7:20 pm    Post subject: Re: 2D Symbol after modeling custom window Reply with quote

Alternatively save the pieces as a library part,
File>Libraries & Objects> save 3D Model as

and choose window as the type of library part.

When you create the custom window elements in the floor plan, 0,0 on the global origin, is the reference line. What is above will go in the wall. What is below will stick out of the wall.

You can always fudge by adjusting how the window sits in the wall.

_________________
Erika

WinXP SP3
Mac OSX 10.6.2
AC ...,11,12, 14 & MEP
Onuma System
Back to top
View user's profile Send private message
Karl Ottenstein
Senior member
Senior member

Joined: 28 Oct 2003
Posts: 5108
Location: Bozeman, Montana USA

PostPosted: Wed Jul 28, 2010 9:32 pm    Post subject: Re: 2D Symbol after modeling custom window Reply with quote

ksymons19 wrote:
I created a custom gothic window with terracotta trim on the exterior side. I'm familiar with copying and pasting parameters for the WALLHOLE function and cleaning up my 2D symbol.


Dealing with WALLHOLE is the fairly old (prior to 5 or so years ago) way of doing this. What you want is to include a slab for which you set the ID field to be "wallhole". Be sure only one slab in your assembly has that ID (and if so, that none have the alternative id of "wallniche").

Make that wallhole slab correspond exactly to the hole that you want cut - in other words, it should reside completely inside all of your terracotta trim (or perhaps extend the thickness of the trim that wraps the opening).

Edit: duh, I just realized that you programmed the whole thing in GDL. So, my comment above is just adding to Erika's method of modeling with standard tools and saving from the 3D window.

HTH,
Karl

_________________
Consulting / Training
AC 14 US (3004) with MEP, ED, VBE, Artlantis 3, Adobe CS3, Piranesi, etc.
8 Core 2.8 Mac Pro 10 GB RAM: OS 10.6.4 / XP Pro SP3
Back to top
View user's profile Send private message Visit poster's website
ksymons19
Junior member
Junior member

Joined: 09 Jun 2009
Posts: 146
Location: St Louis

PostPosted: Wed Jul 28, 2010 10:06 pm    Post subject: Re: 2D Symbol after modeling custom window Reply with quote

Wow, that's an improvement so users don't have to fiddle around with GDL coding. I guess I missed it from being in a Revit firm for a couple years before finding an ArchiCAD firm last year.

Does WALLNICHE in the ID do anything?

_________________
ArchiCAD 12 (Build 2675) US
ArchiCAD 13 (Build 3600) US
ArchiCAD 14 (Build 3004) US on Windows XP 32-Bit
BIM Server (Build 3600) on Windows 7 64- Bit; Windows Server 2008 R2
Back to top
View user's profile Send private message
Karl Ottenstein
Senior member
Senior member

Joined: 28 Oct 2003
Posts: 5108
Location: Bozeman, Montana USA

PostPosted: Thu Jul 29, 2010 1:09 am    Post subject: Re: 2D Symbol after modeling custom window Reply with quote

ksymons19 wrote:
Wow, that's an improvement so users don't have to fiddle around with GDL coding. I guess I missed it from being in a Revit firm for a couple years before finding an ArchiCAD firm last year.

Does WALLNICHE in the ID do anything?


Yes - it makes the assembly a niche rather than a window/door. The wallhole always cuts through the entire width of the wall, even if the wallhole slab is 1 cm thick and the wall is 50 cm thick. The wallniche removes part of the wall to allow creating objects similar to the niche elements in the library.

Unless the window/door must be parametric, the visual-build method is very efficient, other than cleaning up the 2D symbol - but that is done graphically in the 2D window of the GDL editor.

Cheers,
Karl

_________________
Consulting / Training
AC 14 US (3004) with MEP, ED, VBE, Artlantis 3, Adobe CS3, Piranesi, etc.
8 Core 2.8 Mac Pro 10 GB RAM: OS 10.6.4 / XP Pro SP3
Back to top
View user's profile Send private message Visit poster's website
phubbell
Junior member
Junior member

Joined: 26 Jul 2010
Posts: 76
Location: Louisville Colorado

PostPosted: Thu Jul 29, 2010 8:51 pm    Post subject: Re: 2D Symbol after modeling custom window Reply with quote

Wow that is cool! Just had to waste an hour playing with this. Wish I had known that trick a long time ago! Are there any others besides wallhole and wallniche?

On a mac this can be even more fun with drag and drop. Create a new library part and open the 3d script window. Grab the slab with the arrow tool and drag it to the 3d script window. Voila, 3d script for the object. This way you don't necessarily have to start a new project to create your object.

I also learned a couple of new things. If you have cover fills turned on in the slab, you get the poly_ not cslab_ like you want. Also if you're dragging from a layer thats in wireframe mode you'll get a wireframe model.

Getting back to the original problem, I suspect it's a problem with the A value being automatically set to 1m. (or 3'-3 3/8") AC's default value. By setting the A value of the window to the correct width the symbol should display properly.

_________________
iMac, 2.8 ghz Intel Core i7
AC 9 through 14

Owner of Summit Studio, P.C.
Object developer 3D Object Studio.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
View previous topic :: View next topic
Post new topic   Reply to topic   printer-friendly view       ArchiCAD-Talk Forum Index >>> Libraries / Library Parts / GDL >>> 2D Symbol after modeling custom window All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2008 - Graphisoft R&D Software Development zRt. All rights reserved worldwide. Terms of Use | Privacy Policy