+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member
    Using
    Civil 3D 2006
    Join Date
    Oct 2006
    Posts
    16

    Default how can do this at the angle shown

    Registered forum members do not see this ad.

    hello, someoneone recomended me this website, and told me i might beable to get some help on autolisp, my problem is im trying to draw the shape below at the angle shown, can some one show me how it can be done, or can some one give me any web site names, where i might beable to get infor for drawing a shape like the one below at the angle shown ??

  2. #2
    Senior Member
    Using
    Architectural DT 2005
    Join Date
    Sep 2006
    Posts
    334

    Wink

    hi elizabeth...do you want to do this in cad....or as a lisp routine?

  3. #3
    Super Member profcad's Avatar
    Computer Details
    profcad's Computer Details
    Operating System:
    Windows 7 Ultimate
    Computer:
    Dell
    CPU:
    Dual - Six-Core Xeon
    RAM:
    12GB
    Graphics:
    NVida 4400
    Monitor:
    DUAL 24" WIDESCREEN
    Discipline
    Education
    profcad's Discipline Details
    Occupation
    Professor Of CAD
    Discipline
    Education
    Using
    Revit 2014
    Join Date
    Dec 2005
    Location
    Oklahoma City, OK
    Posts
    829

    Default

    We need more information. Do you want to prompt the user for the angle or is it a preset angle?
    John Helton
    Professor of CAD
    Oklahoma City Community College
    Oklahoma City, OK

  4. #4
    Super Member CAB's Avatar
    Using
    AutoCAD 2000
    Join Date
    May 2004
    Location
    Tampa, Florida
    Posts
    803

    Default

    So why not draw it and then rotate it?

    What's going on, is this some homework assignment?

  5. #5
    Junior Member
    Using
    Civil 3D 2006
    Join Date
    Oct 2006
    Posts
    16

    Default

    i want to do this in autolisp, using line command e.g comaand"line"; p1 p2 p3 p4 p5, i need to draw it in autolisp exatctly as shown above, need it to pick a center point, and the radius, and to prompt it to draw at the angle thats shown in the pic below
    Last edited by elizabeth; 30th Oct 2006 at 05:23 pm.

  6. #6
    Super Member CAB's Avatar
    Using
    AutoCAD 2000
    Join Date
    May 2004
    Location
    Tampa, Florida
    Posts
    803

    Default

    Why not use the "polygon" command?

  7. #7
    Junior Member
    Using
    Civil 3D 2006
    Join Date
    Oct 2006
    Posts
    16

    Default

    cant do it that way, we must do it in autolisp, becase we also need to add other things to it, like holes etc, i have done that, but i wanna draw the pentagon like shown above, do u know what coomand i can use to draw the pentagon like shown below ?

  8. #8
    Forum Deity
    Using
    not specified
    Join Date
    Jul 2004
    Location
    Anchorage, Alaska
    Posts
    2,074

    Default

    To elizabeth, rebbeca, Tim11,

    Not sure if you are all students in the same class or multiple personalities

    Since in the last lesson you were able to draw the pentagon, you need only a slight revision. Before (some of) you started drawing the pentagon at the top vertex, which is at an angle of 90 degrees (or pi/2). Now you just need to change your starting angle to reflect the counterclockwise rotation of "angle" shown in figure. So you could get the angle from user (with 'getangle'), add that to pi/2 for your starting angle. The angles to the other vertices are as before, 360/5 or 2*pi/5.

  9. #9
    Junior Member
    Using
    Civil 3D 2006
    Join Date
    Oct 2006
    Posts
    16

    Default

    thanks its worked :-)

  10. #10
    Junior Member
    Using
    Civil 3D 2006
    Join Date
    Oct 2006
    Posts
    16

    Default hi

    Registered forum members do not see this ad.

    hi the detailed information you just gave inmy post has worked, i was able to rotate the object, do u know how i can u se the offset command ?

Similar Threads

  1. 1st angle/3rd angle projection
    By Lazer in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 36
    Last Post: 30th Jun 2011, 02:09 pm
  2. Angle of an arc
    By kanyakumari_t in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 7th Jul 2006, 08:50 am
  3. Ends of lines shown as rounded! Help please!
    By gguillory71 in forum AutoCAD Drawing Management & Output
    Replies: 6
    Last Post: 6th Jun 2006, 08:09 pm
  4. Increase number of shown open drawings in the window menu
    By baddog8it in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 27th Jan 2006, 02:26 am
  5. hidden /centre lines not shown in section
    By C.CONSTANTINOU in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 17th Aug 2005, 11:33 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