Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #191352 > unrolled thread

looking for drawing program to inscribe a square in a circle and label items

Started byDan Hitt <dan.hitt@gmail.com>
First post2018-01-20 05:00 +0100
Last post2018-01-20 17:10 +0100
Articles 8 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  looking for drawing program to inscribe a square in a circle and  label items Dan Hitt <dan.hitt@gmail.com> - 2018-01-20 05:00 +0100
    Re: looking for drawing program to inscribe a square in a circle and  label items David Wright <deblis@lionunicorn.co.uk> - 2018-01-20 05:40 +0100
    Re: looking for drawing program to inscribe a square in a circle and  label items Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-01-20 05:50 +0100
    Re: looking for drawing program to inscribe a square in a circle and  label items David Wright <deblis@lionunicorn.co.uk> - 2018-01-20 06:00 +0100
      Re: looking for drawing program to inscribe a square in a circle  and label items Curt <curty@free.fr> - 2018-01-20 11:10 +0100
    Re: looking for drawing program to inscribe a square in a circle and label items rhkramer@gmail.com - 2018-01-20 15:20 +0100
      Re: looking for drawing program to inscribe a square in a circle and  label items Dan Hitt <dan.hitt@gmail.com> - 2018-01-22 00:30 +0100
    Re: looking for drawing program to inscribe a square in a circle and  label items Chris Ramsden <chris.ramsden@gmail.com> - 2018-01-20 17:10 +0100

#191352 — looking for drawing program to inscribe a square in a circle and label items

FromDan Hitt <dan.hitt@gmail.com>
Date2018-01-20 05:00 +0100
Subjectlooking for drawing program to inscribe a square in a circle and label items
Message-ID<v9StX-3YL-1@gated-at.bofh.it>
I'm looking for a gui drawing program that will let me, for example,
draw a circle, inscribe a square in the circle, connect the opposite
edges of the square with line segments, draw the diagonals of the
square, and label the vertices, edges, and regions of the figure.

So, something like xfig, except that it should have geometrically
describable grouping or linking options.  (You can glue objects
together with xfig, but afaik not link them loosely, like through a
point of tangency.)

I.e., if i draw two primitives (like a square and a circle), then it
should be possible to demand that they stay tangent, or that the
corners of the square be on the cricle (inscription), and these
relations will continue to hold if one primitive or the other is
resized or scaled or moved (and the relations should be recorded as
some kind of constraints in the file format).

Maybe some kind of svg editor is capable of doing this?

Anyhow, tia for any pointers.

dan

[toc] | [next] | [standalone]


#191353

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2018-01-20 05:40 +0100
Message-ID<v9T6G-4sM-5@gated-at.bofh.it>
In reply to#191352
On Fri 19 Jan 2018 at 19:50:11 (-0800), Dan Hitt wrote:
> I'm looking for a gui drawing program that will let me, for example,
> draw a circle, inscribe a square in the circle, connect the opposite
> edges of the square with line segments, draw the diagonals of the
> square, and label the vertices, edges, and regions of the figure.
> 
> So, something like xfig, except that it should have geometrically
> describable grouping or linking options.  (You can glue objects
> together with xfig, but afaik not link them loosely, like through a
> point of tangency.)
> 
> I.e., if i draw two primitives (like a square and a circle), then it
> should be possible to demand that they stay tangent, or that the
> corners of the square be on the cricle (inscription), and these
> relations will continue to hold if one primitive or the other is
> resized or scaled or moved (and the relations should be recorded as
> some kind of constraints in the file format).
> 
> Maybe some kind of svg editor is capable of doing this?
> 
> Anyhow, tia for any pointers.

That sounds very much like Cabri Géomètre at http://www.cabri.net/
but it's not available for linux, except possibly in a java/browser
version. Note that it's also of French origin.

You might want to scour https://alternativeto.net/software/cabri/
for possibilities.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#191354

FromJoe Pfeiffer <pfeiffer@cs.nmsu.edu>
Date2018-01-20 05:50 +0100
Message-ID<v9Tgl-4vN-5@gated-at.bofh.it>
In reply to#191352
Dan Hitt <dan.hitt@gmail.com> writes:

> I'm looking for a gui drawing program that will let me, for example,
> draw a circle, inscribe a square in the circle, connect the opposite
> edges of the square with line segments, draw the diagonals of the
> square, and label the vertices, edges, and regions of the figure.
>
> So, something like xfig, except that it should have geometrically
> describable grouping or linking options.  (You can glue objects
> together with xfig, but afaik not link them loosely, like through a
> point of tangency.)
>
> I.e., if i draw two primitives (like a square and a circle), then it
> should be possible to demand that they stay tangent, or that the
> corners of the square be on the cricle (inscription), and these
> relations will continue to hold if one primitive or the other is
> resized or scaled or moved (and the relations should be recorded as
> some kind of constraints in the file format).
>
> Maybe some kind of svg editor is capable of doing this?
>
> Anyhow, tia for any pointers.

I'll take a guess librecad (which is my go-to 2D drawing package these
days) can probably do it.

[toc] | [prev] | [next] | [standalone]


#191355

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2018-01-20 06:00 +0100
Message-ID<v9Tq1-4z6-1@gated-at.bofh.it>
In reply to#191352
On Fri 19 Jan 2018 at 19:50:11 (-0800), Dan Hitt wrote:
> Anyhow, tia for any pointers.

geogebra looks promising and is in Debian.

Cheers,
David.

[toc] | [prev] | [next] | [standalone]


#191357 — Re: looking for drawing program to inscribe a square in a circle and label items

FromCurt <curty@free.fr>
Date2018-01-20 11:10 +0100
SubjectRe: looking for drawing program to inscribe a square in a circle and label items
Message-ID<v9Yg2-7Nd-9@gated-at.bofh.it>
In reply to#191355
On 2018-01-20, David Wright <deblis@lionunicorn.co.uk> wrote:
> On Fri 19 Jan 2018 at 19:50:11 (-0800), Dan Hitt wrote:
>> Anyhow, tia for any pointers.
>
> geogebra looks promising and is in Debian.

It's even on line, apparently, for a test run (pretty clean interface),
or even a veritable run (though you must create an account to save your
work) in your browser.

https://www.geogebra.org/classic


> Cheers,
> David.
>
>


-- 
“True terror is to wake up one morning and discover that your high school class
is running the country.” – Kurt Vonnegut

[toc] | [prev] | [next] | [standalone]


#191364 — Re: looking for drawing program to inscribe a square in a circle and label items

Fromrhkramer@gmail.com
Date2018-01-20 15:20 +0100
SubjectRe: looking for drawing program to inscribe a square in a circle and label items
Message-ID<va29Y-1KG-9@gated-at.bofh.it>
In reply to#191352
On Friday, January 19, 2018 10:50:11 PM Dan Hitt wrote:
> So, something like xfig, except that it should have geometrically
> describable grouping or linking options.  (You can glue objects
> together with xfig, but afaik not link them loosely, like through a
> point of tangency.)
> 
> I.e., if i draw two primitives (like a square and a circle), then it
> should be possible to demand that they stay tangent, or that the
> corners of the square be on the cricle (inscription), and these
> relations will continue to hold if one primitive or the other is
> resized or scaled or moved (and the relations should be recorded as
> some kind of constraints in the file format).
> 
> Maybe some kind of svg editor is capable of doing this?

(I'm not familiar with xfig, maybe it is somewhat like Visio / dia?)

I don't know if dia is capable of all you want or not, but I mention it just 
because it is the Linux drawing tool that I am slightly familiar with, use 
(very rarely), and I think of as (a partial?) equivalent of Visio.  (I used to 
use Visio (Windows only, afaik) for quite a few things, since then I've had 
much less need for drawing things (or avoided drawing the things I should have 
;-).

Anyway, I am subscribed to a dia mail list and see some of the discussions 
about various problems.

If I wanted to do what you described in Visio, I'd proceed something like this 
(forgetting some of the Visio terms for things)--for example, for the square 
inscribed in a circle:

Create a "template" (mcow (my choice of words)) starting with a circle.

Create connection points on the circle at 0, 90, 180, and 270 degrees.

(That might be all I put in the template, or I might include line segments 
connecting the various points to make the square, diagonals, and so forth.  If 
I want to connect the midpoints of the square with other line segments, I'd 
include connection points at the midpoints of the lines in the template (which 
obviously means I'd include the lines making the square in the template).

Then I would use the template to create an "instance" (again, MCOW) of that 
object which I could place anywhere on the drawing and resize as desired.

For the square tangent to the circle, I'd do something similar, as a template, 
create a square, put a connection point at the midpoint of one of the sides, 
add a circle with a connection point, connect the circle to the square at the 
connection points.  Then create an instance of that template and place it on 
the drawing.

(If the tangent point should be elsewhere on the side of the square, I'd put 
the connection point there--if it needs to vary the position, I'd have to 
understand how it should vary and think some more.)

I'm fairly sure all of this could be done in Visio.  I'm not as sure about 
dia--a recent thread on the dia list talked about some difficulty connecting two 
lines together, but at least one workaround was suggested..

[toc] | [prev] | [next] | [standalone]


#191403

FromDan Hitt <dan.hitt@gmail.com>
Date2018-01-22 00:30 +0100
Message-ID<vaxdL-500-1@gated-at.bofh.it>
In reply to#191364
On Sat, Jan 20, 2018 at 6:10 AM,  <rhkramer@gmail.com> wrote:
> On Friday, January 19, 2018 10:50:11 PM Dan Hitt wrote:
>> So, something like xfig, except that it should have geometrically
>> describable grouping or linking options.  (You can glue objects
>> together with xfig, but afaik not link them loosely, like through a
>> point of tangency.)
>>
>> I.e., if i draw two primitives (like a square and a circle), then it
>> should be possible to demand that they stay tangent, or that the
>> corners of the square be on the cricle (inscription), and these
>> relations will continue to hold if one primitive or the other is
>> resized or scaled or moved (and the relations should be recorded as
>> some kind of constraints in the file format).
>>
>> Maybe some kind of svg editor is capable of doing this?
>
> (I'm not familiar with xfig, maybe it is somewhat like Visio / dia?)
>
> I don't know if dia is capable of all you want or not, but I mention it just
> because it is the Linux drawing tool that I am slightly familiar with, use
> (very rarely), and I think of as (a partial?) equivalent of Visio.  (I used to
> use Visio (Windows only, afaik) for quite a few things, since then I've had
> much less need for drawing things (or avoided drawing the things I should have
> ;-).
>
> Anyway, I am subscribed to a dia mail list and see some of the discussions
> about various problems.
>
> If I wanted to do what you described in Visio, I'd proceed something like this
> (forgetting some of the Visio terms for things)--for example, for the square
> inscribed in a circle:
>
> Create a "template" (mcow (my choice of words)) starting with a circle.
>
> Create connection points on the circle at 0, 90, 180, and 270 degrees.
>
> (That might be all I put in the template, or I might include line segments
> connecting the various points to make the square, diagonals, and so forth.  If
> I want to connect the midpoints of the square with other line segments, I'd
> include connection points at the midpoints of the lines in the template (which
> obviously means I'd include the lines making the square in the template).
>
> Then I would use the template to create an "instance" (again, MCOW) of that
> object which I could place anywhere on the drawing and resize as desired.
>
> For the square tangent to the circle, I'd do something similar, as a template,
> create a square, put a connection point at the midpoint of one of the sides,
> add a circle with a connection point, connect the circle to the square at the
> connection points.  Then create an instance of that template and place it on
> the drawing.
>
> (If the tangent point should be elsewhere on the side of the square, I'd put
> the connection point there--if it needs to vary the position, I'd have to
> understand how it should vary and think some more.)
>
> I'm fairly sure all of this could be done in Visio.  I'm not as sure about
> dia--a recent thread on the dia list talked about some difficulty connecting two
> lines together, but at least one workaround was suggested..
>

Thanks RH for these detailed instructions on how to do this with dia.
I think this might be a canonical linux solution.

Thanks also David and Curt for the suggestion to use geogebra.  This
is also interesting software, and has the appeal of maintaining some
structural information in visible text form (no doubt because of the
educational applications).

Thanks Joe for the reference to librecad, which provides yet another
way of putting circles in the plane.

And thanks Chris for the reference to inkscape, which i also tried out.

All four of these packages look good to me, and i was able to apt-get
all of them.  (The cabri thing also looks interesting, but i like to
work locally for anything that does not require remote data.)

dan

[toc] | [prev] | [next] | [standalone]


#191367

FromChris Ramsden <chris.ramsden@gmail.com>
Date2018-01-20 17:10 +0100
Message-ID<va3Sp-2RJ-7@gated-at.bofh.it>
In reply to#191352
On 20/01/18 03:50, Dan Hitt wrote:
> I'm looking for a gui drawing program that will let me, for example,
> draw a circle, inscribe a square in the circle, connect the opposite
> edges of the square with line segments, draw the diagonals of the
> square, and label the vertices, edges, and regions of the figure.
>
> So, something like xfig, except that it should have geometrically
> describable grouping or linking options.  (You can glue objects
> together with xfig, but afaik not link them loosely, like through a
> point of tangency.)
>
> I.e., if i draw two primitives (like a square and a circle), then it
> should be possible to demand that they stay tangent, or that the
> corners of the square be on the cricle (inscription), and these
> relations will continue to hold if one primitive or the other is
> resized or scaled or moved (and the relations should be recorded as
> some kind of constraints in the file format).
>
> Maybe some kind of svg editor is capable of doing this?
>
> Anyhow, tia for any pointers.
>
> dan
>
Inkscape?

-- 
Chris

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web