Donate Share

pyscript

Project News for pyscript

  • PyScript 0.6.1 released

    Pyscript is a python module for producing high quality postscript graphics. Rather than use a GUI to draw a picture, the picture is programmed using python and the pyscript objects.

    This is a minor release which adds the documentation source to the distribution.

    2006-06-06 12:55:14 UTC by paultcochrane

  • Pyscript part of official Debian distribution

    PyScript has been added to the "unstable" Debian tree, and will eventually be moved to the "testing" tree.

    For Debian users to take advantage of this, all one needs to do is to add line like the following to /etc/apt/sources.list:

    deb http://ftp.debian.org/debian unstable main

    Many thanks to Arnaud Fontaine for preparing the Debian package and submitting it to Debian for addition to the distribution!

    Interested users can also check out http://svn.debian.org/wsvn/python-modules/packages/pyscript/?rev=0&sc=0 for the svn of the package, and http://velma.mini-dweeb.org/~arnau/deb/official/ for a snapshot of the package.

    2006-05-08 13:14:20 UTC by paultcochrane

  • PyScript 0.6 released

    Pyscript is a python module for producing high quality postscript graphics. Rather than use a GUI to draw a picture, the picture is programmed using python and the pyscript objects.

    The major change in this release has been the complete rewrite of the Talk and Poster classes inside the presentation library. Associated with this are the usual bug fixes, documentation additions and minor other changes. Some details follow:

    - Extended and rewrote sections of the Talk() class of the 'presentation'
    library (note that this is different to the 'present' library). Also more
    completely documented the class in the user manual
    - Implemented the use of user-defined styles for talks
    - Complete rewrite of the Poster() class of the 'presentation' library; now
    has a more similar interface to that of the Talk() class of the same
    library. Also documented the class in the user manual
    - Implemented the use of user-defined styles for posters
    - More completely implemented the 'electronics' object library; documented
    the objects in the user manual
    - Extended the 'optics' object library and documented its usage in the
    manual
    - Added some examples of usage of the 'optics' library
    - Many changes in 'qi' (quantum information) library. No longer causes
    error at installation :-)
    - Added Arrow() convenince class ... a Path with a predefined arrowhead
    - integrated Path and Arrowhead ... path now has a heads attribute which
    is a list of arrowheads to draw on path
    - added a tangent() method to Path that returns a unit vector tangent to
    the path at a particular point
    - code clean ups ... and documentation
    - added an Arrowhead class
    - added an iscale attribute to TeX to set initial scale (only time it's used)
    makes it easy to subclass at a given scale.
    - Added HAlign and VAlign convenience functions
    - Align is now a class that inherits from Group
    - no longer supports anchor attribute (not sure how useful this was esp as
    objects can now be appended) first alignable object added forms anchor.
    - the change seems mostly transparent but may break some things
    - Added a Dash() object to describe postscript dashes
    - fixed up examples and added a few others
    - Dot() now returns a bounding box
    - objects that return null BBox()'s are ignored in Alignment operations
    This was chiefly to accomodate a Pause() object in talks
    - Fixed bug with move and rotations commuting (thanks Adrian)
    - curves can now be given just a direction at the end points (eg C(45,90)),
    a "natural" curve will be chosen automatically. This is the first half
    of the algorithm that Metapost uses which is really nice.
    (next part is to choose curvature automatically in unspecified curves)
    - last point of a closed path can be skipped (added automatically)
    - P now has 'arg' attribute (in degrees), return angle of P relative to origin
    - there is now a --version argument when running PyScript

    2006-04-24 15:52:44 UTC by paultcochrane

  • PyScript 0.5 released

    Pyscript is a python module for producing high quality postscript graphics. Rather than use a GUI to draw a picture, the picture is programmed using python and the pyscript objects.

    The major change in this release is a complete rewrite of the Path object. The internals have completely changed and there have been some incompatible changes with previous versions but its now much closer to what was envisaged for the object.
    Other changes are:
    - C() no longer takes numerical arguments
    - Path() no longer sublasses Area (this doesn't make sense really)
    so the points n,ne,e ... etc are not available for this object
    use either bbox() method or group and Area object with the path
    Additions:
    - Path takes 'relative' points R(), these are the same as P() but
    will be intepreted as relative to last point.
    - C() takes relative control points with R(). The first is relative
    the start the second to the end of the curve
    - path.length returns the length of the path (local co-ord system)
    - path.P(f) returns the point on the curve at fraction f of it's
    length
    - Finally added some docs for the Path object
    - fixed bug with defaults for linewidth etc not being taken up
    (thanks Marcus)
    - Color() can now take a Hex string, eg "#FF00FF", must start with a '#'
    - object reference returned from group's append, insert and reverse
    This makes for convenient one liners
    - Group() now has a reverse() function
    - Pages now produces global BoundinBox and Orientation comments
    - Fixed minor bug in Align, when passed single object

    2005-01-10 01:21:20 UTC by paultcochrane

  • PyScript 0.4 released

    Pyscript is a python module for producing high quality postscript graphics. Rather than use a GUI to draw a picture, the picture is programmed using python and the pyscript objects.

    This release add ability to produce multipage postscript documents (hence full presentations), the postcript
    is now DSC compliant, plus a bunch of other enhancements.

    2003-08-23 01:00:31 UTC by aalexei