Howto:Hacking Inkscape to add Canvas support: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}
Tom (Canvas) mentioned originally that for cockpit instruments using Inkscape with maybe a plugin will probably fit better.<ref>{{cite web  |url    =  https://forum.flightgear.org/viewtopic.php?p=174726&sid=fb7d4a146459429fd4d7384771e99750#p174726  |title  =  <nowiki> Re: Canvas custom GUI </nowiki>  |author =  <nowiki> TheTom </nowiki>  |date  =  Jan 17th, 2013  |added  =  Jan 17th, 2013  |script_version = 0.36  }}</ref>


Inkscape’s extension architecture can be easily used with Python.  There is also some support for other scripting languages.
Inkscape’s extension architecture can be easily used with Python.  There is also some support for other scripting languages.

Revision as of 15:04, 5 January 2018

This article is a stub. You can help the wiki by expanding it.

Tom (Canvas) mentioned originally that for cockpit instruments using Inkscape with maybe a plugin will probably fit better.[1]

Inkscape’s extension architecture can be easily used with Python. There is also some support for other scripting languages. communications between inkscape and its extensions is fairly limited and can be made to easily work for simple command-line (CLI) appliications.

Background

Inkscape couuld also be used to directly establish a "connection" with FlightGear (think telnet/props, httpd etc)

Goal

Come up with a simple Inkscape extension that can serve as the foundation for creating Canvas based MFDs more easily. Ideally, in conjunction with Richard's MFD framework and the Emesary IPC system (eventually).

Python

WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.

Resources

Related

References
  1. TheTom  (Jan 17th, 2013).  Re: Canvas custom GUI .