News‎ > ‎

Dr. Geo release 18.06

posted Jun 21, 2018, 12:44 AM by Hilaire Fernandes   [ updated Jun 22, 2018, 12:47 AM ]
We are please to announce the Dr. Geo release 18.06. It follows the release 17.07 in July 2017. 
A large part of the effort was to port Dr. Geo from the Pharo 3 to Pharo 7 Smalltalk development environment. In addition to usual bug fixes several features were added, read bellow to know more about it.

Download

Go to the Dr. Geo download page. Read carefully the instructions there.

New features

Dedicated Script browser

Within Dr. Geo, a script is defined as a Pharo class. Then, the user inserts an instance of such a script in her geometric sketch, with optional geometric item parameters. A script makes computation or/and modifies other geometric items. Once defined, a script is easy to use by the end user.

Editing a script is now done from a dedicated tool, far simpler than the native Pharo class browser.

Note: when an attribute needs to be added to a script class, the native Pharo class browser still must be used. This need only occurs when a script instance must remember about a state all along the life cycle of the sketch.

Inspector on Smalltalk Sketch

A programmed Smalltalk sketch is the other way to do programming in interactive geometry. With this approach, a geometric sketch is entirely defined by Smalltalk code with the use of a dedicated API.

It is now easier to manage the Smalltalk sketch documents. The new Pharo inspector, used to inspect the attributes of Smalltalk class instance, can manipulate the file system directories and files. With this new tools the user can view, execute, edit, delete, create Smalltalk sketch files.

Positioning zoom

To zoom on  a sketch, the user can use the orange wheel widget at the top right of each sketch or the mouse wheel. Now the mouse wheel is positioned, centered at the mouse cursor position when used; the wheel widget zoom is still centered at the middle of the visible sketch area.

Polygon without surface

When a polygon is without a surface (empty), Dr. Geo only detects its line, and not anymore its inner surface as its does exist.

Unit tests based on Smalltalk sketch

The little Smalltalk sketches corpus distributed along Dr. Geo is also used to define a supplementary unit tests serie.

Lan share

To ease pedagogical activity organisation in a computer classroom, distributing sketch files to the students is very useful. Dr. Geo now proposes a local area network share feature, independent of local network service as NFS, Samba, Windows share, etc.
The use of this service is described bellow:
  1. The teacher saves the document to share within her folder DrGeo.app/MyShares:
  2. The teacher activates the Lan share feature from the settings browser (system menu 'Preferences'):
  3. The students, from the usual open sketch tool, browse the shared sketches (button 'Teacher share'):
This feature can be used with mixed environment GNU/Linux, Mac, Windows.

Graphic user interface theme

The preferences browser (system menu, Preferences) gives access to two graphic themes, inherited from Pharo:

  • Dark theme, by default, for workstation, single use.
  • Light theme, to use with beamer as the Dark theme lacks contrast.

Fullscreen option

From the system menu, the user can toggle in full screen mode, the host system is then completely hidden to the user. Useful to help the students to focus on the interactive geometry activity.

Bug fixes

Read about all the changes in the code.
Comments