Menu

Drawj2d / News: Recent posts

Drawj2d 0.8.5 released

This release lets you read data from an external file.

Changes:
- commands open (file) and file.readable added. Subcommands: (file) read, readln, hasnext.
- command atan2 added
- command expr enhanced: atan2
- command pen enhanced: more colours

Posted by A. Vontobel 2017-04-21

Drawj2d 0.8.4 released

This is a maintenance release.

Changes:
- new command today
- fix svg output: always use UTF-8 encoding for header info.

Posted by A. Vontobel 2017-03-14

Drawj2d 0.8.3 released

This is a maintenance release.

Changes:
- svg output: default resolution changed (from 90dpi) to 96dpi
- fix command point: diameter set to 1.4 x linewidth, as specified in the manual. The change also affects command dimangle for right angles.

Posted by A. Vontobel 2017-01-08

Drawj2d 0.8.2 released

This release introduces blocks.
The feature eases inserting part drawings from a library. A block can be rotated without influencing the main coordinate system.

Changes:
- new commands for inserts: block, endblock, block.rotate, block.flip, block.scale
- new command geom.azimuth
- new command opacity. Output modes screen and png only.
- command text: style name block removed (use justify instead)

Posted by A. Vontobel 2016-11-07

Drawj2d 0.8.1 released

This release adds a command for importing images. Scanned drawings can easily be imported to the right scale.

Changes:
- new command image
- command unitlength enhanced: introduce natural unit. E.g. unitlength [expr 1/50] m
- operator ~= (almost equal) modified: increased tolerance

Posted by A. Vontobel 2016-09-11

Drawj2d 0.8.0 released

This release adds a preview window. The drawing is displayed directly to the screen. The viewer window can stay open while editing the input file in an editor. Pressing F5 will actualise the drawing.

Changes:
- new output type screen: drawj2d -Tscreen drawing.hcl opens a preview window.
- command pen enhanced: new colour darkorange

Posted by A. Vontobel 2016-08-07

Drawj2d 0.7.2 released

This release lets you write text paragraphs on the drawing. Words are wrapped automatically.

Changes:
- command text added. Styles: left or justify
- command font enhanced: styles plain, bold and italic
- commands label and texlabel enhanced: direction BL (baseline).

Posted by A. Vontobel 2016-05-08

Drawj2d available from rpm-repository (Linux)

Drawj2d has been uploaded to a software repository on the opensuse build server.

Go to http://software.opensuse.org/package/drawj2d?search_term=drawj2d. There are repos for various rpm based Linux distributions like openSUSE, Redhat, Fedora, ScientificLinux.
From the site you can download the installation file (rpm). Or you can add http://download.opensuse.org/repositories/home:/qwert2003/openSUSE_Leap_42.1/ (choose your distro) to your favorite repos, that way you'll get update notifications.

Posted by A. Vontobel 2015-11-15

Drawj2d 0.7.1 released

This release improves the math expression evaluator.

Changes:
- command expr enhanced: max and min functions take variable number of arguments. E.g. [expr max(0, 2.0, 4.0, 2.3)]
- command expr enhanced: scientific notation. E.g. "1.2e-5"
- command assert enhanced: approximately equal comparison. E.g. assert "$a ~= $b"
- command expr enhanced: precision increased to 16 digits
- command expr enhanced: new function exp(n) for e^n
- command expr enhanced: expression validation improved

Posted by A. Vontobel 2015-11-10

Drawj2d 0.7.0 released

This release adds commands for drawing ellipses and other shapes.

Changes:
- new commands ellipse and fillellipse
- new commands segment and fillsegment
- new commands sector and fillsector
- new command fillbox
- documentation: section about shapes in function reference

Posted by A. Vontobel 2015-10-18

Drawj2d 0.6.5 released

This release brings general unicode support. Thus greek letters are permitted in variable names.

Changes:
- permit unicode chars in variable names (core hecl)
- print line number when parsing error occurs (core hecl)
- math expression evaluator updated
- provide drawj2d syntax highlighting for editor jedit

Posted by A. Vontobel 2015-09-04

Drawj2d 0.6.4 released

This release improves Mavscript interoperability, supporting unicode characters (greek letters, etc) in labels.

Changes:
- new commands min, max
- command geom.vector enhanced
- commands label and texlabel enhanced:
escaped unicode chars (e.g. "escu00b7" for the unicode char U+00B7)
as internally used by mavscript-yacas
- svg metadata: creator set to Drawj2d

Posted by A. Vontobel 2015-07-31

Drawj2d 0.6.3 released

This release adds a convenient method to draw rectangles and adds more examples to the function reference.

Changes:
- new commands rod, fillrod
- new commands movepolar, linepolar
- new command geom.polar
- commands label and texlabel enhanced: new parameter C (center)
- command point: abbreviation pt, p depreciated
- pdf metadata: creator set to Drawj2d
- documentation: more examples

Posted by A. Vontobel 2015-05-02

Drawj2d 0.6.2 released

This release adds some convenience methods for shorter code.

Changes:
- new command linemid
- new commands movetox, movetoy
- new commands linetox, linetoy
- new commands geom.tox, geom.toy

Posted by A. Vontobel 2015-04-01

Documentation update

The Drawj2d program documentation & function reference has been updated (December 23, 2014).

Posted by A. Vontobel 2014-12-28

Drawj2d 0.6.1 released

This release adds support for custom colours and adds more examples to the function reference.

Changes:
- command pen enhanced to accept any colour by rgb hex values. Brown colour defined.
- new command stat.tip
- command geom.distance enhanced
- command fillrect enhanced
- commands geom.angle/anglerad enhanced
- command dot modified: larger that point.
- new command shortcuts geom.v, geom.abs, geom.dist, stat.dist
- commands force/force2 modified: not drawing if the abs force value is zero.
- commands label/texlabel enhanced.
- fix command texdimlinerel: typesetting issue
- documentation: more examples

Posted by A. Vontobel 2014-11-11

Drawj2d 0.6.0 released

This release adds statics commands and TeX typesetting enhancements.

Forces are defined by their application point and force vector: "x y Fx Fy". The stat.* commands are related to forces, but they are not drawing commands. Use the commands force and force2 to draw forces.

Changes related to forces:
- new commands FX, FY, XY, FXY. Returning force components, application point or vector.
- new command fu/kN returning the force length in drawing units.
- new commands stat.add/+++, stat.subtract/---, stat.multiply/***. These commands respect equilibrium.
- new commands stat.abs, stat.distance, stat.moment
- new commands stat.move and stat.move2
- new command stat.actionline
- new command stat.mequi for moment equilibrium
- new command stat.fequi for force component equilibrium
- new command stat.equi for (general) equilibrium
- drawing commands force and force2 enhanced... read more

Posted by A. Vontobel 2014-11-02

Drawj2d 0.5.2 released

** This release adds drawing commands for quadratic and cubic parabolas.**

Changes:
- new command quadcurve for parabola
- new command cubiccurve for cubic parabola
- new commands dimangle and texdimangle for angle labels
- new command geom.parallel for parallel line

Posted by A. Vontobel 2014-10-16

Drawj2d 0.5.1 released

This release adds geometry commands.

Changes:
- new commands ++ (geom.add) and -- (geom.subtract) for vector addition/subtraction
- new commands ** (geom.multiply) and // (geom.divide) for vector scaling
- new commands geom.online, geom.rotate
- mavscript-yacas compatibility improved (escaped unicode chars)

Posted by A. Vontobel 2014-10-09

Drawj2d 0.5.0 released

This release implements support for TeX formatted labels and adds geometry commands.

Changes:
- new command texlabel. Based on JLaTeXMath, no latex installation required.
- new commands polygon and fillpolygon
- command line enhanced to accept more than two points
- new geometry commands: geom.intersect, geom.intersectlinepath, geom.area, geom.centroid, geom.vector, geom.crossproduct, geom.dotproduct, geom.anglerad, geom.angle, geom.length, geom.norm
- input encoding UTF-8 independent of platform
- fallback mode vectorgraphics2d removed

Posted by A. Vontobel 2014-10-05

Drawj2d 0.4.0 released

This is the initial public release.

Drawj2d currently supports lines, points, circles, arcs, arrows, dimension lines and labels. Font, color, line width and line type (solid, dotted, dashdotted) can be set. Parables and splines are not supported.

Supported output formats are:
- vector formats: pdf, svg, eps, emf
- intermediate format: tikz
- raster image: png, bmp

Posted by A. Vontobel 2014-09-16
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.