Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/27/2018 in all areas

  1. As an example replace this with radio buttons (getkword "\nLocate from <T>op <C>enter <B>ottom: ")) (cond ((= ans "T") (setq PT1 PT1B)) ;top ((= ans "C") (setq PT1 PT1)) ;center ((= ans "B") (setq PT1 PT1A)) ;bottom ) ) If you search for Grr and dcl he has some really great dcls that replace this type of question it means the user does not take their eyes of the screen. I have posted many times getvals3.lsp which is a library routine rather than hard coding into individual routines. The best way is to take a library approach to your coding asking questions for user input, doing layer stuff much easier to have 1 line in your routine than copying and pasting into every bit of code.
    1 point
  2. Non-Uniform Rational B-Splines (NURBS) are represented as a series of Control Vertices (CVs) that have associated weights for each CV. When you create a spline with Fit points the AutoCAD spline software calculates a set of CVs that will yield a spline that passes through the CVs. Note that for a given set of Fit points there are an infinite variety of smooth curves that could pass through the points. The spline software uses some rules that create a “reasonable” curve. The Fit points near a CV lose their meaning if the CV near them is moved resulting in relocated fit points. You should consider that the definition of a spline is based primarily on its CVs and that the Fit points are secondary to them. Perhaps the frame and CVs are turned off when you change to the Fit point method of editing to reduce confusion between the two sets of points and to highlight the fit points which are usually of more concern to a designer. With 2018 you can turn on the spline frame display (which I prefer to do via properties) but must explicitly note whether you want to edit Fit points or CVs. The frame is hidden if the method is changed to Fit. Note that you can move fit points and dynamically see the change in CV location if the CV Frame is shown.
    1 point
  3. Written for fun and practice - a windows form project (the .rar contains the .exe file of the program). Now you don't have to need to run ACAD for just to strip the code with LISP. EDIT: Updated the program (included a vertical bar, so one could scroll through the code) - I've forgot that they can get quite lengthy Also modified a bit the default regex pattern, so it would strip also patterns like [color=#87d6ee] or ( previous pattern was looking just for ) ForumCodeTags.rar
    1 point
×
×
  • Create New...