how to make a pivot door?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02
06:13 PM
- last edited on
‎2023-05-24
11:04 AM
by
Rubia Torres
thanks,
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"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02 07:55 PM
All you really need to do differently from making a regular door is to create a variable for the pivot distance and use it to adjust your origin location before you use any rotation commands.
so, to move the origin from the center of the door over to the pivot point, you would:
ADDX a/2-pivot_dist
HTH
wes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02 08:25 PM
I haven't tried what you suggest, but are you sure
ADDX a/2-pivot_dist works ?
It seems to me that all that does is move the door panel.
If the door panel is rotated about the "Y" axis using ROTY
the object will rotate about it's local origin therefore don't
you have to change the local origin of the door panel
to change the pivot line ?
Thank you,
Peter Devlin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02 08:34 PM
I am not sure how to move this thread to library parts; perhaps the powers that watch over us can assist.
I am working on adding the parameter and no doubt will have many questions.
Thank you.
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"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02 08:38 PM
It all depends on where you place the ADDX line. I used it in a pivot door I built before my ROTY command, both of which are before the code creating the door geometry, so in essence I did move the local origin.
erika-
maybe the above will help you get the code in the right place!

wes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02 08:43 PM
Right you are !
Thank you,
Peter Devlin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02 08:45 PM
as Peter remarked, all that does is shift the door relative to the wall hole created.
Adding RotY gs_open_3D after the ADDX statement resulted in the pivot!
Also, How do I get it to show door swings?
making progress,
thanks
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"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02 09:09 PM
cPRISM_ gs_leaf_mat, gs_leaf_mat, gs_leaf_mat,
5, 0'-0.500",
-pivot_dist, rail-0.5", 15,
A-pivot_dist, rail-0.5", 15,
A-pivot_dist, b-rail+0.5", 15,
-pivot_dist, b-rail+0.5", 15,
-pivot_dist, rail-0.5", -1
use the 2d script to draw rectangles and arcs to show the door swing (and the backswing of the offset pivot). similar code...
making sense yet?
w

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-02 09:18 PM
I have it rotating in 3D fine, now I have to get the 2D script up to speed.
Your help is wonderful.
thank you,
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"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2005-02-03 05:59 AM
ADD DoorW/2-Pivot,0,Doorthk/2 !!! Centre the door in the opening
ROTx -90 !!! Lay it down flat on the floor
ROTz -Door_Opening_Arc !!! Swing the door open
cPRISM_ DoorMat,DoorMat,DoorMat,5,DoorHt,
Pivot,-DoorThk/2,15,
-DoorW+Pivot,-DoorThk/2,15,
-DoorW+Pivot,DoorThk/2,15,
Pivot,DoorThk/2,15,
Pivot,-DoorThk/2,15
DEL 3
The above places the centre of the door at the pivot so you can easily manipulate the opening action of the door. It also has the advantage that your door hardware is created at 0,0,0 then ROTated and moved by ADD into it's correct location. If you try to create the door from an edge, you'll get into a nightmare of translations using SIN & COS calculations.
Use a similar strategy in 2D using ADD2 DoorW/2-Pivot,0 & ROT2 -Door_Opening_Arc & POLY2 (just cut & paste the cPRISM_ coordinates and delete the '15' masking number) so that you can easily rotate the door open. Add your door swings using ARC2 & voila!
Cheers,
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma