+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28
  1. #1
    Super Member
    Using
    Architecture 2010
    Join Date
    Jan 2006
    Location
    canada, eh!
    Posts
    607

    Default dynamic door w/ variable swing arc resolved!

    Registered forum members do not see this ad.

    i finally got a chance to test out my theory about using an angular dimension as a substitution for the swing arc in a dynamic door--no more visibility states!...as most of us are aware an actual arc can not be manipulated in a dynamic block to only stretch the endpoints along it's circumferance...in answering to a thread i thought of the idea of using an angular dimension and this is the result of my trials...

    you will note that i created a small horizontal line placed on a non-plotable layer so i can run the dimension from this to the vertical door panel...then i had to use a scale parameter to affect the "swing" size that make the door width--tricky!..i turned off all the tick and extension on the dim and overriden the dim text "<>" with a blank space...

    a few development testing came up with some bugs...the first problem appeared when changing the door swing angle then altering the door size...it resulted in a skewed door panel...to resolve this i had to make sure that the stretch parameter was included with the rotation parameter...

    the other problem was that when i had closed the door to 0 degrees the dimension angle whould appear as a semi-circle and that when i reopened the door the angle arc was further away from the door...to resolve this all i had to do was use a minimum rotation angle of 0.01--which is close enough to zero for plotting needs ...

    another thing to note about the dimension is to make sure that make new dimension associative is on in the options or else the angle will not associate to the two entities it's dimensioning to...i also suspect that if the door opens greater then 180 degrees--which i doubt would ever hapen--the dim angle will flip to show the shortest so this trick may not be sutible for otehr types of dynamic block where a "stretchable" arc is required...

    so anyway, just thought i'd post the block for your reverse engineering needs...

    enjoy!

    hm

    (ps, this probably should go in the showcase forum but i'll leave it up to the mods to decide )
    Attached Files

  2. #2
    Full Member
    Using
    AutoCAD 2008
    Join Date
    Mar 2008
    Posts
    56

    Default

    Now that's cool!

  3. #3
    Senior Member
    Using
    AutoCAD 2010
    Join Date
    Mar 2008
    Posts
    171

    Default

    This should definitely be showcased. It's exactly what I've been looking for.
    Thanks for posting!

  4. #4
    Super Member chrisdarmanin's Avatar
    Using
    AutoCAD 2016
    Join Date
    Feb 2006
    Location
    Malta
    Posts
    551

    Default

    wow well done... now i'll have to experiment to make it into a duct bend
    Quote by George (AWDC Malta President) about Land Rovers:
    "Trid ittiha xebgħa mazza ta' bla raġuni"
    Translation: You have to attack it with a mallet for no reason at all"

  5. #5
    Full Member DECHAL's Avatar
    Computer Details
    DECHAL's Computer Details
    Operating System:
    Windows XP
    Computer:
    Dell Precision Laptop
    Motherboard:
    ?
    CPU:
    Intel ?
    RAM:
    ?
    Monitor:
    21" Flat Screen (Dell)
    Using
    AutoCAD 2013
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    71

    Default

    Hazardman, that's savage!

    I've been working on dynamic blocks of a while. And have a problem with one of them that is doing my head in. maybe you would take a look at it? Should I post here or start a new post?

    Regards,

    DECHAL.

  6. #6
    Super Moderator fuccaro's Avatar
    Discipline
    Mechanical
    fuccaro's Discipline Details
    Occupation
    Mechanical eng.
    Discipline
    Mechanical
    Using
    AutoCAD 2006
    Join Date
    Nov 2002
    Location
    Romania, Marosvasarhely
    Posts
    3,577

    Default

    Yes, it works.
    Only a small observation: if you include the rotation parameter in the list of objecs affected by the scale action then the rotation grip will stay at the end of the rectangle, even after a stretch action.
    It's nice to be nice, but sometimes is nicer to be evil!
    Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.

  7. #7
    Forum Newbie
    Using
    AutoCAD 2010
    Join Date
    Mar 2010
    Posts
    1

    Default metric

    could I get this beauty in metric system. tried to scale but it didn't work.

  8. #8
    Forum Newbie
    Using
    AutoCAD 2009
    Join Date
    Apr 2010
    Posts
    1

    Default

    I'm having trouble opening the link, it must just be me but could you send it to teafoe5@hotmail.com? I'd love to see what you came up with!

  9. #9
    Junior Member MichaelEBeall's Avatar
    Computer Details
    MichaelEBeall's Computer Details
    Operating System:
    Windows 7
    Computer:
    Dell Studio
    Using
    AutoCAD 2013
    Join Date
    Oct 2004
    Location
    Shelbyville, KY
    Posts
    10

    Default

    That's very elegantly done. Nice job!
    Michael E. Beall

  10. #10
    Super Member Tankman's Avatar
    Computer Details
    Tankman's Computer Details
    Operating System:
    XP Pro SP3
    Computer:
    IBM T60 Thinkpad™
    Monitor:
    36" LCD Monitor/TV, 14" Thinkpad™ T60
    Using
    AutoCAD 2007
    Join Date
    Mar 2008
    Location
    Eastern PA, USA
    Posts
    1,796

    Default

    Registered forum members do not see this ad.

    Sergeant Schultz would say, "Very interesting!"

    Well done, excellent!
    Tankman

    "When the well is dry, we know the worth of water." Ben Franklin ~ 1746

Similar Threads

  1. Casement Window Swing Direction
    By Pineapple in forum CAD Management
    Replies: 4
    Last Post: 4th May 2012, 05:01 pm
  2. Door Swing
    By slipperyer in forum AutoCAD Beginners' Area
    Replies: 14
    Last Post: 27th Dec 2011, 02:28 pm
  3. AutoCAD Tutorial: Create a dynamic block of a door
    By AutoCAD Tips Blog in forum AutoCAD RSS Feeds
    Replies: 1
    Last Post: 24th Dec 2008, 11:03 pm
  4. Lsp variable within a Dynamic block?
    By whteglve in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 6th Feb 2008, 07:27 pm
  5. Garage door
    By jared98366 in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 8th Jan 2007, 03:27 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts