Howto:Hacking Inkscape to add Canvas support: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
To create modern avionics, Inkscape is the most common tool these days, and is recommended not just for [[Canvas]] based displays, but also those using [[Phi]] ref>{{cite web |url = https://forum.flightgear.org/viewtopic.php?p=219105#p219105 |title = <nowiki> FGWebPanel aka FGPanel 2.0 or: FGPanel goes html </nowiki> |author = <nowiki> Torsten </nowiki> |date = Sep 22nd, 2014 |added = Sep 22nd, 2014 |script_version = 0.36 }}</ref> | |||
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> | 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> |
Revision as of 15:08, 5 January 2018
This article is a stub. You can help the wiki by expanding it. |
To create modern avionics, Inkscape is the most common tool these days, and is recommended not just for Canvas based displays, but also those using Phi ref> Torsten (Sep 22nd, 2014). FGWebPanel aka FGPanel 2.0 or: FGPanel goes html .</ref>
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
Work in progress This article or section will be worked on in the upcoming hours or days. See history for the latest developments. |
Resources
- https://inkscape.org/en/develop/extensions/
- http://sugarpillstudios.com/wp/?p=142
- http://wiki.inkscape.org/wiki/index.php/Script_extensions
- http://wiki.inkscape.org/wiki/index.php/INX_extension_descriptor_format
- http://wiki.inkscape.org/wiki/index.php/Extension_subsystem
- http://wiki.inkscape.org/wiki/index.php/PythonEffectTutorial
- http://wiki.inkscape.org/wiki/index.php/Category:Extensions
Related
References
|