Author Topic: AutoCAD LispWiki  (Read 5531 times)

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: AutoCAD LispWiki
« Reply #1 on: April 23, 2008, 07:01:25 AM »
Darn late again. I was just coming to post that.  :-)
(I think would be late for my own funeral)

The site looks promising and I like how it organized.
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

jonesy

  • SuperMod
  • Seagull
  • Posts: 15568
Re: AutoCAD LispWiki
« Reply #2 on: April 23, 2008, 07:34:06 AM »
Great link Kerry...

Bookmarked for future use
Thanks for explaining the word "many" to me, it means a lot.

POCKETS

  • Guest
Re: AutoCAD LispWiki
« Reply #3 on: April 23, 2008, 08:10:47 AM »

ElpanovEvgeniy

  • Water Moccasin
  • Posts: 1569
  • Moscow (Russia)
Re: AutoCAD LispWiki
« Reply #4 on: April 23, 2008, 08:43:54 AM »

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: AutoCAD LispWiki
« Reply #5 on: April 23, 2008, 08:59:28 AM »
Quote
There is no page titled "theswamp".

:(
TheSwamp.org  (serving the CAD community since 2003)

CADaver

  • Guest
Re: AutoCAD LispWiki
« Reply #6 on: April 23, 2008, 09:49:31 AM »
Quote
There is no page titled "theswamp".

:(
That needs to be fixed!!!

deegeecees

  • Guest
Re: AutoCAD LispWiki
« Reply #7 on: April 23, 2008, 09:58:18 AM »
Woohoo!

JohnK

  • Administrator
  • Seagull
  • Posts: 10648
Re: AutoCAD LispWiki
« Reply #8 on: April 23, 2008, 10:23:28 AM »
All code there is released under the "GNU Free Documentation License".

IMO it should be a "BSD" style.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Chuck Gabriel

  • Guest
Re: AutoCAD LispWiki
« Reply #9 on: April 23, 2008, 11:48:34 AM »
Quote
There is no page titled "theswamp".

:(
That needs to be fixed!!!

Anybody can edit those pages.  You just have to create an account.

See -> http://lispwiki.com/index.php5?title=AutoLISP_Resources

Mark

  • Custom Title
  • Seagull
  • Posts: 28762
Re: AutoCAD LispWiki
« Reply #10 on: April 23, 2008, 12:13:30 PM »
Thanks Chuck! :)
TheSwamp.org  (serving the CAD community since 2003)

qjchen

  • Bull Frog
  • Posts: 285
  • Best wishes to all
Re: AutoCAD LispWiki
« Reply #11 on: April 23, 2008, 07:18:17 PM »
Excellent site, thanks for sharing:)
http://qjchen.mjtd.com
My blog http://chenqj.blogspot.com (Chinese, can be translate into English)

qjchen

  • Bull Frog
  • Posts: 285
  • Best wishes to all
Re: AutoCAD LispWiki
« Reply #12 on: April 25, 2008, 01:15:02 AM »
Quote
There is no page titled "theswamp".

:(


I add it here:)

http://lispwiki.com/index.php5?title=AutoLISP_Links

and I have ever collected a lot of Lisp website here (many of them are in Chinese)
http://chenqj.blogspot.com/2006/09/lisp.html

I will add some to LispWiki also.
« Last Edit: April 25, 2008, 09:56:01 AM by yuanqiu »
http://qjchen.mjtd.com
My blog http://chenqj.blogspot.com (Chinese, can be translate into English)

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: AutoCAD LispWiki
« Reply #13 on: April 25, 2008, 08:45:31 AM »
Good Job yuanqiu 8-)
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

JohnK

  • Administrator
  • Seagull
  • Posts: 10648
Re: AutoCAD LispWiki
« Reply #14 on: April 30, 2008, 10:14:04 AM »
This is an outstanding gesture and effort, but i still have a problem with the License.

Besides the fact that all that code is released under a  ``Documentation License'' (like books and manuals) instead of a regular GNU type of license...[you] do realize that [you] can not use any of that code in a ``for sale -- no source'' type of condition right? Not to mention any derivative of any of that code must then be released under the exact same license.

For example I will take a very simple procedure found on that site.

Found here:
[ http://lispwiki.com/index.php5?title=Color_to_Bylayer ]


Orig:
Code: [Select]
(apply '(lambda ()

         (defun *error* (msg)
          (prin1 msg))

         (setq uecho (getvar "cmdecho"))
         (setvar "cmdecho" 0)
         (prompt "\nSelect Items To Change To BYLAYER :")
         ;(setq ps1 (ssadd))
         (setq ps1 (ssget))
         (command "CHANGE" ps1 "" "P" "C" "BYLAYER" "LT" "BYLAYER" "")
         (setvar "cmdecho" uecho)
        )'())

Now lets clean up that code a bit for our imediate needs.

My Derivative:
Code: [Select]
( (lambda ( / *error* uecho ps1)
 ;; `apply' not necessary
 ;; localize vars

  (defun *error* (msg)
   (if (eq (logand (getvar "CMDACTIVE")) 1)
 ;; lets cancel any command still running...just in case!?
      (repeat 2 (command)) )
   (prin1 msg))

  (setq uecho (getvar "cmdecho"))
  (setvar "cmdecho" 0)
  (prompt "\nSelect Items To Change To BYLAYER :")
  (setq ps1 (ssget))
   
   (if ps1
  ;; lets add a bit of error checking (crude but effective)
       (command "CHANGE" ps1 "" "P" "C" "BYLAYER" "LT" "BYLAYER" ""))

  (setvar "cmdecho" uecho)
  (princ)) )

Now the orig was relased under the GNU doc licence, and so is mine. Not because I want it to be (i didnt want to give this code to my client who just paid $500 for this gem) but I have to.

Make your own and release it under the BSD License.

TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org