all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: tomas@tuxteam.de
Cc: help-gnu-emacs@gnu.org
Subject: Re: make a drawing with Emacs
Date: Thu, 24 Sep 2020 18:09:23 +0300	[thread overview]
Message-ID: <20200924150923.GD20935@protected.rcdrun.com> (raw)
In-Reply-To: <20200901081804.GA4108@tuxteam.de>

* tomas@tuxteam.de <tomas@tuxteam.de> [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
dimensional.

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:
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/STL_Import_and_Export

For references of the simple drawing language, see here:
http://www.openscad.org/documentation.html?version=2015.03

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");
     }
}

logo("Emacs");


Jean




  reply	other threads:[~2020-09-24 15:09 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31  3:05 make a drawing with Emacs Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-31  7:36 ` tomas
2020-08-31 20:29   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-31 20:49     ` Yuri Khan
2020-08-31 20:52       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-31 21:01         ` Yuri Khan
2020-08-31 21:04           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-31 22:48             ` Perry Smith
2020-08-31 23:09               ` Ulrich Deiters
2020-09-01  8:22           ` tomas
2020-09-01  8:38             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-01  9:04               ` tomas
2020-09-01 17:22                 ` Marcin Borkowski
2020-09-01 20:48                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-02  8:25                     ` tomas
2020-09-01 12:22             ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-01 14:58               ` tomas
2020-09-01 20:45                 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-02 21:10                 ` Tomas Hlavaty
2020-09-02 21:51                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-03  1:26                     ` Leo Butler
2020-09-02 22:28                   ` Stefan Monnier
2020-09-03  5:13                     ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-03  7:34                     ` Tomas Hlavaty
2020-09-03 13:38                       ` Stefan Monnier
2020-09-03 15:21                         ` Tomas Hlavaty
2020-09-03 16:59                           ` Stefan Monnier
     [not found]                             ` <87tuwen4mo.fsf@logand.com>
     [not found]                               ` <jwvimcuiqur.fsf-monnier+emacs@gnu.org>
2020-09-04  8:42                                 ` Tomas Hlavaty
     [not found]                       ` <mailman.2156.1599118473.2469.help-gnu-emacs@gnu.org>
2020-09-03 17:23                         ` Lars Magne Ingebrigtsen
     [not found]                           ` <mailman.2212.1599153847.2469.help-gnu-emacs@gnu.org>
2020-09-03 17:28                             ` Lars Magne Ingebrigtsen
2020-09-03 17:41                               ` Stefan Monnier
     [not found]                                 ` <mailman.2217.1599154928.2469.help-gnu-emacs@gnu.org>
2020-09-03 17:45                                   ` Lars Magne Ingebrigtsen
2020-09-03 18:23                                     ` Tomas Hlavaty
     [not found]                                       ` <mailman.2224.1599157422.2469.help-gnu-emacs@gnu.org>
2020-09-03 19:43                                         ` Lars Magne Ingebrigtsen
2020-09-03 19:50                                           ` Tomas Hlavaty
2020-09-04  8:43                                             ` tomas
2020-09-04  8:59                                               ` Tomas Hlavaty
2020-09-04  9:26                                                 ` tomas
2020-09-04  9:48                                                   ` Tomas Hlavaty
2020-09-03 17:55                               ` Tomas Hlavaty
     [not found]                                 ` <mailman.2221.1599155709.2469.help-gnu-emacs@gnu.org>
2020-09-03 18:04                                   ` Lars Magne Ingebrigtsen
     [not found]                                     ` <mailman.2222.1599156265.2469.help-gnu-emacs@gnu.org>
2020-09-03 18:09                                       ` Lars Magne Ingebrigtsen
2020-09-03 18:29                                         ` Tomas Hlavaty
2020-09-03 18:32                                           ` Tomas Hlavaty
2020-09-03  7:14                   ` tomas
2020-09-03  8:03                     ` Tomas Hlavaty
2020-09-01  8:32           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-01  8:58             ` tomas
2020-09-01  8:18         ` tomas
2020-09-24 15:09           ` Jean Louis [this message]
2020-09-24 16:53             ` Leo Butler
2020-09-24 20:14             ` tomas
2020-08-31 17:41 ` Marcin Borkowski
2020-08-31 20:30   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-31 19:40 ` Carlo Tambuatco
2020-08-31 20:33   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-08-31 20:56 ` Gregory Heytings via Users list for the GNU Emacs text editor
2020-08-31 21:00   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-01  8:40     ` Gregory Heytings via Users list for the GNU Emacs text editor
2020-09-01  5:37   ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200924150923.GD20935@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tomas@tuxteam.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.