[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dr. Geo] Please explain difference between Smalltalk Sketches and D
From: |
address@hidden |
Subject: |
Re: [Dr. Geo] Please explain difference between Smalltalk Sketches and DrGeo Sketches |
Date: |
Tue, 2 Apr 2024 20:54:03 +0200 (CEST) |
I created a sketch by method 2 "by Smalltalk code" (it is a small piece of code
to draw a triangle).
See the screenshot "trianguloCode.png" in attach.
I saved the sketch under "MySketches" (which maps to the directory
MySmalltalkSketches),
but I indeed do not see any sketch under "MySketches" in the DrGeoOpen window.
See the screenshot "DrGeoOpen.png" in attach.
Are the two different methods 1 and 2 (by mouse and click, saved in .fgeo XML
format), and the method by Smallltalk code, intented to be used independently
or is it possible to somehow open a MySmalltalkSketch sketch in a the DrGeo
window for .fgeo XML mouse and click sketches ?
Regards,
David Stes
----- Op 2 apr 2024 om 15:11 schreef Hilaire Fernandes hfern@free.fr:
> Hi David,
>
> As you described it perfectly there are two ways to design a sketch:
>
> 1. By mouse and click, saved as XML file (.fgeo).
> 2. By Smalltalk code, saved as source file (.st).
>
> So Yes, in the DrGeo bundle, in the DrGeo/Resources folder you have the
> folder MySketches/ to save the user .fgeo files, then you have
> MySmalltalkSketches/ to save the user code .st files.
>
> But in the GUI, in the SmalltalkSketchBrowser, a button is written 'My
> Sketches' to browse the collection of user edited Smalltalk sketches. It
> is confusing, the button should be named 'My Smalltalk Sketches'.
>
> Is it that?
>
> Hilaire
>
>
> For reference.
>
> When you open the Smalltalk sketch browser (for example with code
> DrGSmalltalkSketchBrowser open: DrGeoSystem smalltalkSketchesPath label:
> 'Browse'), you get:
>
> gui
>
>
>
> Le 01/04/2024 à 20:46, stes@telenet.be a écrit :
>> I am just begining with DrGeo and I am experimenting a bit with the
>> system.
>>
>> I like the DrGeo new example sketches and also the Smalltalk sketches in
>> the SmalltalkSketchBrowser
>>
>> Apparently - and this was not clear to me - there seems to be a
>> difference between DrGeo sketches in the resources/sketches directory
>> those are in .fgeo XML format and .png format and the
>> resources/SmalltalkSketches which seem to be in .st format.
>>
>> For example if I open DrGeo new and then try to open sketches Examples, I
>> can see nice examples like Carré, Point de Fermat,, Cercle Droite
>> d'Euler and many others.
>>
>> My impression is that those examples are in the resources/sketches
>> directory and they seem to be in .fgeo XML format.
>>
>> On the other hand if I open the DrGSmalltalkEditor and save some code in
>> MySketches this saves in a different folder called MySmalltalkSketches.
>>
>> So this is a little bit confusing because I was assuming that the folder
>> MySketches was used for "MySketches" but it is actually a different
>> folder called MySmalltalkSketches.
>>
>> Is there a relation between the DrGSmalltalkEditor and the DrGeo window
>> please ? Or are those two different methods of creating skecthes (one in
>> .Fgeo format and the other one in .st format ) ?
>
> --
> GNU Dr. Geo
> http://gnu.org/s/dr-geo/
> http://gnu-drgeo.blogspot.com/
screenshot-DrGeoOpen.png
Description: PNG image
screenshot-trianguloCode.png
Description: PNG image