[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make a drawing with Emacs

From: Jean Louis
Subject: Re: make a drawing with Emacs
Date: Thu, 24 Sep 2020 18:09:23 +0300
User-agent: Mutt/1.14.0 (2020-05-02)

* <> [2020-09-01 11:19]:
> On Mon, Aug 31, 2020 at 10:52:59PM +0200, Emanuel Berg via Users list for the 
> GNU Emacs text editor wrote:
> > Yuri Khan wrote:
> > 
> > >>> If you are thinking 3D, then OpenSCAD might suit
> > >>> you: pametric, script-centric, text-friendly.
> > >>
> > >> No no, 2D, top-view! Like an old school
> > >> engineering drawing, but less detailed. But with
> > >> real units...
> > >
> > > You want 2D, get LibreCAD.
> > 
> > I want to write code (data) and then have it
> > translate into a drawing. See the original post.
> > So no GUI, no actual "drawing". CAD doesn't sound
> > like that, but maybe I'm wrong?
> TiKZ and OpenSCAD qualify, but they cover different areas (the one
> is for (gorgeous!) diagranms and the other is for (dimensional)
> drawings.

Maybe you wish to say 3D dimensional, as if you only mean dimensional,
then anything in this world including any types of graphs are

So if you do mean that OpenSCAD is 3D dimensional, well, it has that
capacity, but nothing prevents you being 2D dimensional.

See here for exporting files:

For references of the simple drawing language, see here:

I am using Emacs to simply write the drawing, then such can easily be
exported. It is possible to configure Emacs, if necessary, to open the
exported file and display it after saving such. So the OpenSCAD window
need not be seen at all.

Just use the automatic preview option in OpenSCAD, edit the file and
OpenSCAD will show the drawing after each saving of the file.

You do not need to launch the OpenSCAD for quick previews, you could
launch it from command line, upon the emacs save hook so that file is
each time generated as you wish.

Try following, adapt the font name.

module logo(logo,size) {
     rotate([90]) {
          color("gold") text(logo, font = "Impact", size = size, haling = 
"center", valign = "bottomline");



reply via email to

[Prev in Thread] Current Thread [Next in Thread]