+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 28 of 28
  1. #21
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,365

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by tmelancon View Post
    In your GIF I see you choosing both end points. When I try and replicate that action, I get the error in result. But in your GIF you clearly are able to perform the routine with two end points of the line at that specific angle. Any thoughts?
    Note that the lines in my example are not at exactly 30/60/90/120/150/180/210/240/270/300/330 degree angles.

    At what angle are the two points you are trying?
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  2. #22
    Senior Member tmelancon's Avatar
    Computer Details
    tmelancon's Computer Details
    Operating System:
    Windows 7 Professional
    Computer:
    Dell Optiplex 7010
    CPU:
    i3-3220 Processor (Quad Core, 3.30GHz)
    RAM:
    8GB
    Graphics:
    HD2500 Graphics
    Primary Storage:
    500GB
    Secondary Storage:
    2TB External Backup
    Monitor:
    Dual Dell 27" Monitors!!
    Discipline
    Multi-disciplinary
    tmelancon's Discipline Details
    Occupation
    CAD Operations/Design
    Discipline
    Multi-disciplinary
    Details
    CAD Design, CAD Management, Project Management, ISO Drawings, Pressure Vessels, Inspection Reports, Data Analysis, Work Scope Recommendations, Troubleshooting, and anything else the boss needs to maximize efficiency. Also proficient in Electrical Engineering/Lighting Design and LEED Green Energy
    Using
    AutoCAD 2015
    Join Date
    Jun 2013
    Posts
    327

    Default

    Those are precisely the angles we are using, gosh what a major coincidence....... Ok so is this something that can be overidden or solved? Or maybe I should +1 each angle from here on out (i.e. 31/61/91/121/151...etc)?
    It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt. -Abraham Lincoln

  3. #23
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,365

    Default

    I have updated my earlier code to remove the incorrect restriction on angles 60/120/240/300 (and I have also revised the offset/scale parameters given that it would appear that your drawings have a much smaller scale than anticipated); however, I am still unsure of the correct result for lines which are drawn at angles within the following shaded regions:

    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  4. #24
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,365

    Default

    ? ........
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  5. #25
    Senior Member tmelancon's Avatar
    Computer Details
    tmelancon's Computer Details
    Operating System:
    Windows 7 Professional
    Computer:
    Dell Optiplex 7010
    CPU:
    i3-3220 Processor (Quad Core, 3.30GHz)
    RAM:
    8GB
    Graphics:
    HD2500 Graphics
    Primary Storage:
    500GB
    Secondary Storage:
    2TB External Backup
    Monitor:
    Dual Dell 27" Monitors!!
    Discipline
    Multi-disciplinary
    tmelancon's Discipline Details
    Occupation
    CAD Operations/Design
    Discipline
    Multi-disciplinary
    Details
    CAD Design, CAD Management, Project Management, ISO Drawings, Pressure Vessels, Inspection Reports, Data Analysis, Work Scope Recommendations, Troubleshooting, and anything else the boss needs to maximize efficiency. Also proficient in Electrical Engineering/Lighting Design and LEED Green Energy
    Using
    AutoCAD 2015
    Join Date
    Jun 2013
    Posts
    327

    Default

    Everything looks good Lee, your programming skills and ability to write upon request is mindblowing and I wish to possess those traits one day.. Maybe we can also add a simple prompt for the user to be able to enter user specific hatch angles everytime at the start of the routine? Just a thought so it could have a little more versatility instead of having separate lisp routine with different hatch angles.
    It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt. -Abraham Lincoln

  6. #26
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,365

    Default

    Thank you for your kind compliments, though my query regarding how to proceed for angles within the shaded regions in the above diagram is still unanswered - should the program simply ignore such angles (as it currently does)?
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  7. #27
    Senior Member tmelancon's Avatar
    Computer Details
    tmelancon's Computer Details
    Operating System:
    Windows 7 Professional
    Computer:
    Dell Optiplex 7010
    CPU:
    i3-3220 Processor (Quad Core, 3.30GHz)
    RAM:
    8GB
    Graphics:
    HD2500 Graphics
    Primary Storage:
    500GB
    Secondary Storage:
    2TB External Backup
    Monitor:
    Dual Dell 27" Monitors!!
    Discipline
    Multi-disciplinary
    tmelancon's Discipline Details
    Occupation
    CAD Operations/Design
    Discipline
    Multi-disciplinary
    Details
    CAD Design, CAD Management, Project Management, ISO Drawings, Pressure Vessels, Inspection Reports, Data Analysis, Work Scope Recommendations, Troubleshooting, and anything else the boss needs to maximize efficiency. Also proficient in Electrical Engineering/Lighting Design and LEED Green Energy
    Using
    AutoCAD 2015
    Join Date
    Jun 2013
    Posts
    327

    Default

    Those lines appear to have been drawn at standard isometric angles (i.e. 30 or NORTH, 150 or WEST, 210 or SOUTH, 330 or EAST) which 99% of the time wont require a hatched slope because they typically represent a 90 degree angle. We do not hatch 90 degree angles in our industry. Also, all angles not hatched or labeled are to be assumed as 90 degree angles. See illustration. Does this answer your query Lee? Looking forward to hearing back.

    Attached Images
    It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt. -Abraham Lincoln

  8. #28
    Senior Member tmelancon's Avatar
    Computer Details
    tmelancon's Computer Details
    Operating System:
    Windows 7 Professional
    Computer:
    Dell Optiplex 7010
    CPU:
    i3-3220 Processor (Quad Core, 3.30GHz)
    RAM:
    8GB
    Graphics:
    HD2500 Graphics
    Primary Storage:
    500GB
    Secondary Storage:
    2TB External Backup
    Monitor:
    Dual Dell 27" Monitors!!
    Discipline
    Multi-disciplinary
    tmelancon's Discipline Details
    Occupation
    CAD Operations/Design
    Discipline
    Multi-disciplinary
    Details
    CAD Design, CAD Management, Project Management, ISO Drawings, Pressure Vessels, Inspection Reports, Data Analysis, Work Scope Recommendations, Troubleshooting, and anything else the boss needs to maximize efficiency. Also proficient in Electrical Engineering/Lighting Design and LEED Green Energy
    Using
    AutoCAD 2015
    Join Date
    Jun 2013
    Posts
    327

    Default

    Registered forum members do not see this ad.

    Regardless, your code is still on point and definitely going to be a big help from having to manually do it before. If we have to get creative for other angles then so be it. There are lots of crazy angles I see some of our CAD guys drawing.
    It is better to remain silent and be thought a fool, than to open your mouth and remove all doubt. -Abraham Lincoln

Similar Threads

  1. creating a custom colour book (AutoCAD 2014)
    By designerstuart in forum AutoLISP, Visual LISP & DCL
    Replies: 9
    Last Post: 11th Aug 2014, 11:56 am
  2. AutoCAD 2014 'Tangent' ignores ellipses in isometric, but ...
    By Vagulus in forum AutoCAD Bugs, Error Messages & Quirks
    Replies: 0
    Last Post: 17th Sep 2013, 09:29 am
  3. Replies: 6
    Last Post: 2nd Jul 2013, 02:37 pm
  4. creating hatches
    By bjenk8100 in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 3
    Last Post: 22nd Jan 2010, 12:26 am
  5. Creating Hatches
    By Mikiko in forum AutoCAD Beginners' Area
    Replies: 4
    Last Post: 18th Nov 2009, 08:27 pm

Tags for this Thread

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