Author Topic: AutoCAD LispWiki  (Read 5532 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

Andrea

  • Water Moccasin
  • Posts: 2372
Re: AutoCAD LispWiki
« Reply #15 on: April 30, 2008, 12:35:28 PM »
to prevent compatibilitie error...maybe this can help...

Code: [Select]
(command "._CHANGE" ps1 "" "_P" "_C" "_BYLAYER" "_LT" "_BYLAYER" "")
Keep smile...

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: AutoCAD LispWiki
« Reply #16 on: April 30, 2008, 04:16:41 PM »
How can 10 lines of code be so unique that is is protected?
After all for a simple problem there are a finite number of solutions. Having never seen that solution it is very likely that on your own you would compose a code similar if not exactly like that solution.
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 #17 on: April 30, 2008, 05:50:24 PM »
How can 10 lines of code be so unique that is is protected?
After all for a simple problem there are a finite number of solutions. Having never seen that solution it is very likely that on your own you would compose a code similar if not exactly like that solution.

Yeah, almost my point exactly! And, why put a restrictive license on it in the first place? ...But non the less, the restriction is there.

There is something going on (or went on) with all that SCO stuff; i think the second party had to show how much they changed from the orig version, and if it was `enough' change then the code became `original'. For the life of me i cant remember what they called it.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2140
  • class keyThumper<T>:ILazy<T>
Re: AutoCAD LispWiki
« Reply #18 on: April 30, 2008, 06:00:59 PM »
The stupidity of the whole situation is that I (or anyone/someone else ) could conceivably write code that looks familiar/identical, without being aware that the posted code or license existed
How do I demonstrate that I didn't poach it ... and how do they prove I did.


« Last Edit: April 30, 2008, 06:07:46 PM by kbwdt »
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

daron

  • Guest
Re: AutoCAD LispWiki
« Reply #19 on: April 30, 2008, 06:04:07 PM »
I thought all you had to do to make something your own was change one thing. That's the way it is in the housing industry, no? I've seen plans that were an exact copy of someone else's, except the the new "version" had a bathroom adjusted.

JohnK

  • Administrator
  • Seagull
  • Posts: 10648
Re: AutoCAD LispWiki
« Reply #20 on: May 01, 2008, 10:17:12 AM »
Daron, Think concept not content. No one th

kbwdt, Thats the problem. The autolisp language is such a low level language, its almost pointless to place a restriction on the code.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org