Create rose diagrams in Inkscape from survex .3d files
Calculate a passage orientation rose diagram from a survex
.3d file on
the fly and render it into an Inkscape document as an SVG group object.
The extension is operated as an import filter. To run it do File
→ Import ... , and choose the 'Rose diagram (*.3d)' option. This
brings up a small dialog box with options to set the number of
sectors, choose whether to render the diagram in color (default) or
black and white, and to set a title. If the title is left unset in
the dialog, a default title is extracted from the
Copy the files
rose_create.inx into your local
Inkscape extension folder:
%APPDATA%\inkscape\extensions\ on Windows.
That's it...there are no dependencies since the extension natively
reads the binary
.3d file format (v8 only, which is generated by survex
versions from 1.2.7).
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
.3d file parser is based on a GPL v3 library to handle Survex
3D files (
*.3d), copyright © 2008-2012 Thomas Holder,
see also https://github.com/speleo3/inkscape-speleo.
Modifications and extensions to compute rose diagrams and export SVG, copyright © (2018) Patrick B Warren.