# PCStudio - How do you swing your doors?

I'm trying to do something similar to the 3d door swing which comes with the delivered paz's. I don't seem to be able to hold my mouth right in order to re-create the effect. I know it must have something to do with the directional or planar constraint to a Path2d as well as the positioner setting for the component. But this one boggles me. Can anyone tell me how Bentley did it? I'm attaching the portion of a ABD door which has the 3D opening angle constraint as an example of what I'm trying to do.

Door with 3D Door Swing.pac
• Using the delivered DoorSingleFlush as an example, the swing is a component comprised of three linear elements, and the width of this component is defined as \DoorLeaf1DesignWidth so that it always matches the value of that property.

• Steve, Thanks for having a go at answering my question. However, I posed my question so poorly that you didn't stand a chance in Heck of giving me anything like the answer I'd hoped for. So, let me try again.

First, I was trying to make a roof hatch that had the capability of setting a 3D swing for the door. That way, I could set the angle to, say, 90-degrees and it would display as open in the model. So, I'm trying to solve how you guys do that with your doors in an effort to reverse engineer what I need to do to accomplish this. I can create the two lines and specify the parametric angle between them. In the example of the DoorSingleFlush, this is the component named Seg_3DLeaf1Swing_1.

My problem comes when I try and use positioners to place the door leaf component on the opening path and the swing angle path as shown here in the DoorSingleFlush example:

I can get it the positioner to connect on the hinge side of the door opening path, but I cant get the door to connect to the door angle component. When the door leaf component is created, if the path was orthogonal (x-y plane), then PCStudio's "planar constraint" forces it to plane it was created in. I cannot get the positioner to proper identify itself with the Seg_3DLeaf1Swing_1 component so that it will swing. I've tried creating a door out of plane, but then I run into other problems in making the attachment.

I think the door component must be made out of plane to make the whole thing work, but even when I do this, I don't seem to be able to make the proper connection with the swing component. As I said earlier, I know it must have something to do with the directional or planar constraint to a Path2d as well as the positioner setting for the component.

I don't know if I explained it any better. Hopefully I did. And if I did, any suggestions as to how to make this work?

• I would attach what is like your plan sybol and make sure it rotates properly

then just extrude that symbol and it should work

That is unless you intend to create a leaf that is placed and can be replaced with others

Ustn since 1988
SS4 - i7-3.45Ghz-16 Gb-250/1Tb/1Tb-Win8.1-64b

Eric D. Milberger
Architect + Master Planner + BIM

Senior  Master Planner NASA - Marshall Space Flight Center

The Milberger Architectural Group, llc

• I'm still a little unclear...    Could you elaborate on "... I cant get the door to connect to the door angle component", in particular the aspect "door angle component"?

It is true that PCS wants to generate its geometry parallel to the active view rotation, so a door leaf created from a front view will be perpendicular to the top plane.  In that context I'm not sure how you're placing the PosGeom, but now I do wonder if those preferences you asked about in the other thread might be relevant.    For example, if you were to set the PosGeom (line) so that the Edge Angle is Perpendicular instead of Tangent, does that make a difference?

• Steve,

Thanks for your time! I'm still using DoorSingleFlush from the US DataSet for this discussion, so you can open the PAZ and see the elements I'm writing about and hopefully follow along.

The "door angle component" is Seg_3DLeaf1Swing_1. It is literally a PCStudio component. The component consists of two lines (paths) and one is parametrically defines as an angle off of the other. One of the lines is named RefPath_Leaf1Reference_3D (CreateParh_2) and the other is named RefPath_Leaf1_3d (CreatePath_4). Leaf1Angle3d and Leaf Angle3dMax control the angle between the two paths using the formula 180-between(\Leaf1Angle3d,0d,\LeafAngle3dMax-.0001). The path RefPath_Leaf1Reference_3D is "on" the path Seg_DoorLeafPlacement_1. And, the door component positioner is "on" RefPath_Leaf1_3d of the Seg_3DLeaf1Swing_1 component. This is what makes the door swing open in 3d.

Give the variable Leaf1Angle3d a value, say 45. Hide the door leaf so you can see the door angle component (Seg_3DLeaf1Swing_1). Show the door leaf again. Click twice on the door to revel the positioner parametrics. You can see the positioners are "on" the door opening path as well as the doo angle component.

I can make the equivalent of the "door angle component" (Seg_3DLeaf1Swing_1). But I can't get the door to position "on" it and the frame opening. I can position the door on one side of the door opening path, but I can get the door to position "on the door angle component.