cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Panel door holes for panels not showing

Erika Epstein
Booster
Hi,
I am writing a script for a multi-panel door. The number of panels can vary. I am able to get all the panels to show up correctly with a FOR NEXT routine, but when I apply this kind of routine to the door panel itself, the holes for the panels are filled in.

This is the script for the door panel
FOR k=1 TO pnlqt !STEP 1
cprism_ intfinmat, extfinmat, sidefinmat,
10, drthk,
-0.5*drwd, 0'-0.0000", 15,
-0.5*drwd, drht, 15,
0.5*drwd, drht, 15,
0.5*drwd, 0'-0.0000", 15,
-0.5*drwd, 0'-0.0000", -1,
-0.5*pwd, brail+(k-1)*irail+(k-1)*pht, 15,
-0.5*pwd, brail+(k-1)*irail+k*pht, 15,
0.5*pwd, brail+(k-1)*irail+k*pht, 15,
0.5*pwd, brail+(k-1)*irail+(k-1)*pht, 15,
-0.5*pwd, brail+(k-1)*irail+(k-1)*pht, -1
NEXT k
brail,srail, trail and irail are the bottom, side, top and intermediate rails

Can someone help with why the holes don't appear as holes? You can see the pen outlining them.

Thanks,
Erika

panel door.jpg
Erika
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System

"Implementing Successful Building Information Modeling"
16 REPLIES 16
Erika Epstein
Booster
Well, I was thinking I might want to add a transom and sidelights and would need those dimensions separate from A & B.
These doors are for an historical, (for California, c.1902) house being converted into a restaurant. The standard for the doors are 5 panel with many upper glass-panel variations. Some also have transoms, mostly rectangular, and one has sidelights.
My thinking was at some point A and B would not always be just the door height or width. As I write this, I realize how silly this must sound. The transom and sidelight can also be called as custom transom and custom sidelight units.
Sigh.


The short answer is poor programming skills.
Erika
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System

"Implementing Successful Building Information Modeling"
Anonymous
Not applicable
Hello Erika,
Not necessarily poor programing skills.
If you are planing to use "A" and "B" as
an outside frame size for a mulled unit
composed of a door and frame, transom
and frame, and sidelight panels and frames,
then this would be logical.
Tell me is it still possible in LA to have doors
and windows made by local door and window
makers that are historically accurate or have
code requirements for infiltration and heat
loss become so stringent that national makers
that can demonstrate compliance the only way
to go now ?
Thanks,
Peter Devlin
Anonymous
Not applicable
Erika,
Sometime ago I scripted a door like yours and I realise that to make a "realistic door" (specially in a historical project) you have to make each part separately.
If you build it with one prism you will get only one direction for the door face texture, and I personally don't accept this for a realistic element.
It's because the direction of the wood veins texture is not the same for each part of the door.
So I decided to built it only with PRISM_ and VERT definitions.
It's more simple and more realistic.
Erika Epstein
Booster
Peter,
Regarding historical accuracy v. current codes: Always a fine line. Historical restoration allows for some wiggle room to balance the cost implication v. current codes v. accuracy. The existing building is actually in very good condition so restoration including doors, windows and other woodwork will be relatively easy and we will keep the original doors and windows. The addition must match the style(s) of what was built in that historical district at that time will be to current code.

Paulo,
Good point! Fortunately for me, photos from when it was built show all woodwork painted and we will be continuing with that aesthetic. In the historic district the project is located in we must restore to that time. Some of the interior woodwork, like the stair railings which were not painted, are another story.
Erika
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System

"Implementing Successful Building Information Modeling"
Erika Epstein
Booster
Olivier & Peter,
I just completed my 5-panel door successfully!
Autoscripted it was 64+ pages(335KB).
The written version is just over 2 pages (13KB)and is fully parametric.
Thank you both very much.

Next I'll try changing it to separate rails and stiles per Paolo's comments.
Erika
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System

"Implementing Successful Building Information Modeling"
Anonymous
Not applicable
Hello Erika,
Congratulations !
To bad I can't magnify your image
because I thought you wanted
panel molds around the raised
recessed panels. Do you have
panel molds ?
Peter Devlin
Erika Epstein
Booster
Yes,
They are sprisms for now. I'm waiting for the measurements of the actual ones, so I can extrude or bend(?) around the opening.Both sides of the door.

I also need to:
-add in also a scale dependent resol so that at 1/4"the linework doesn't turn into a blob.

-add in the single pane glass panels. Some are 2panels +intermediate rails high, others are 3pnls + int. rails high, etc...

I am enjoying this tremendously.
Erika
Architect, Consultant
MacBook Pro Retina, 15-inch Yosemite 2.8 GHz Intel Core i7 16 GB 1600 MHz DDR3
Mac OSX 10.11.1
AC5-18
Onuma System

"Implementing Successful Building Information Modeling"