Happy new error for LibreCAD

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Happy new error for LibreCAD

emanuel
Hello, I'm brand new.

I previously only used LibreCAD as a viewer under Linux.
I always had to draw under Windows with AutoCAD.
Well, now that I'm in the building department, I no longer have to draw at work.
But I always liked hacking things...
And there was still a Lisp/Closure interpreter lying around with almost 200 AutoLISP commands.
I used LibreCAD to display.
Actually, I "only" have to unpack the DCL Gui from pointers, translate the LibreCad entity to Python and Lisp and a few other things... *runs away* :-D The main thing is to have fun...

video

https://github.com/emanuel4you/LibreCAD/tree/developer


Reply | Threaded
Open this post in threaded view
|

Re: Happy new error for LibreCAD

Juan1966
It really sounds impressive. For me, who is not a programmer, making any contribution in C++ is impossible, but if there is the possibility of using Python or Autolisp, I could even dare to try to make a contribution.

Thank you very much for trying to make Librecad better every day, to you and to all those who do it with their efforts, at this rate I am sure that it will soon be able to be used in a truly professional way.
Reply | Threaded
Open this post in threaded view
|

Re: Happy new error for LibreCAD

flywire
In reply to this post by emanuel
Excellent work! Welcome to the forum.

LibreCAD is a CAD package, Computer Aided Design. You demonstrated the interface. How about drawing something as a demonstration?

One of the things I liked about AutoLisp was saving the code to a file while drawing (logging), modifying something, say a text, and running the script again to create a modified drawing. I am more interested in python now.
Reply | Threaded
Open this post in threaded view
|

Re: Happy new error for LibreCAD

sand1024
Oh, it seems that's great addition.

However, could you please check the content of repository you've mentioned?

It seems that some resources are missing (in "developer" branch). And this prevent the sources to be built.

So far I've found missed files like:

/librecad/res/editor/librepad.qrc
/librecad/res/main/librelisp.png etc

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Happy new error for LibreCAD

emanuel
This post was updated on .
So thank you for the test attempt.
I added the two pngs to github.

The state of development is still very early.

What's still important is missing:
* Unpack/install gui value pointer (for LibreDCL)
* Port all LibreCAD entities (drawing commands + document) to Lisp
* Plan to build Gui for Python (currently only tkinter works as a gui script language, all others crash librecad)
* Port all LibreCAD entities (drawing commands + document) to Python

Commands that already work in Lisp:
% + - /  *  = /= < <= = > >= ~ 1+ 1- 2+ abs alert and append apply ascii assoc atan atof atoi atom atom? boolean? bound? boundp caddr cadr car cdr chr close command concat cond conj cons contains? cos count debug-eval def! defmacro! defun deref dissoc do double? empty? eval exit exp expt false? file? first fix float fn? fn* lambda foreach get getenv getfiled getint getkword getreal getstring getvar hash-map if initget integer? keys keyword keyword? last length let* list list? listp load load_dialog load-file log log10 logand macro? map mapcar map? max member? meta min minus? minusp new_dialog nil? not nth null number? numberp open or polar prin1 princ print println prn progn prompt pr-str py-eval-float py-eval-integer py-eval-string py-eval-vector py-simple-file py-simple-string quasiquote quote read-char read-line readline read-string rem repeat reset! rest reverse seq sequential? set setq setvar sin slurp sqrt startapp start_dialog str strcase strcat string? strlen subst substr swap! symbol symbol symbol? tan terpri throw time-ms trace true? try* type type? unload_dialog untrace vals vec vector vector? ver vl-consp vl-directory-files vl-file-copy vl-file-delete vl-file-directory-p vl-filename-base vl-filename-directory vl-filename-extension vl-filename-mktemp vl-file-rename vl-file-size vl-file-systime vl-mkdir vl-position wcmatch while with-meta write-char write-line zero? zerop

Reply | Threaded
Open this post in threaded view
|

Re: Happy new error for LibreCAD

flywire
emanuel wrote
The state of development is still very early.
Please enable the build workflow when it is ready for testing.
Reply | Threaded
Open this post in threaded view
|

Re: Happy new error for LibreCAD

emanuel
In reply to this post by emanuel
nice typo error :-))
Reply | Threaded
Open this post in threaded view
|

Re: Happy new error for LibreCAD

emanuel
In reply to this post by emanuel
hi box,
are you in the box of a box?

LibreDcl testing...