Hi,
Hopefully I am posting under the right section this time. Peter and Wes, your help was great. My door in 3D is working fine. 2D is another story.
I am unable to get the door panel itself to show rotated. Arc swings operate just fine, but the door itself won't budge from its closed position. Could someone please point out where I err?
thanks.
!!!move origin to pivot point
ADDX a/2-pivot_dist
!!!move pivot point to midway of door thickness
ADDY -gs_leaf_thk/2
!!!rotate door to open in 3D position
ROTy gs_open_2D
pen gs_leaf_pen
!!panel frame left
rect2 -a/2,-gs_leaf_thk/2, -a/2+gs_fw_side,gs_leaf_thk/2
!!panel frame right
rect2 a/2-gs_fw_side,-gs_leaf_thk/2, a/2,gs_leaf_thk/2
! panel bottom frame
pen 2
line2 -a/2+gs_fw_side,-gs_leaf_thk/4, a/2-gs_fw_side,-gs_leaf_thk/4
line2 -a/2+gs_fw_side,gs_leaf_thk/4, a/2-gs_fw_side,gs_leaf_thk/4
!!glass
pen gs_glass_pen
rect2 -a/2+gs_fw_side,-gs_leaf_thk/2, a/2-gs_fw_side,gs_leaf_thk/2
! if door open in 2D add swing
pen gs_swing_pen
addx a/2-pivot_dist
arc2 a/2-pivot_dist,0, a-pivot_dist, 180-gs_open_2D, 180
arc2 a/2-pivot_dist,0, pivot_dist, -gs_open_2D,0
!add hotspots, later turn into graphical hotspots
pen 1
hotspot2 -a/2,-gs_leaf_thk/2
hotspot2 -a/2, gs_leaf_thk/2
hotspot2 a/2,-gs_leaf_thk/2
hotspot2 a/2, gs_leaf_thk/2
hotspot2 a/2-pivot_dist, 0
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"