OMSketch: Graphical Sketch Editor in OpenModelica Interactive Notebook
Independent thesis Advanced level (degree of Master (Two Years)), 80 credits / 120 HE creditsStudent thesis
Modelica is an object-oriented equation based language to model complex physical systems containing mechanical, electrical and other types of components. It provides libraries that enable to simulate these systems. Many commercial and free simulation environments are available. It is maintained by the non-profitable organization called the “Modelica Association” containing members from different parts of the world. Many industries use Modelica for model based development.
OpenModelica is an open source object-oriented equation based language based on Modelica. DrModelica is a guide to learn Modelica, and it provides a detailed tutorial for Modelica that range from beginner to expert level. OMNotebook document provides an interactive way to learn DrModelica. It provides series of tutorials that help to learn to use Modelica. It provides dynamic way to simulate models.
OMSketch is a graphical editor to OMNotebook document. Its main aim is to provide shapes to OMNotebook document. The editor provides different shapes that can be drawn dynamically and also have properties such as colors, pen styles and brush properties. The shapes can be dynamically resized, translated and rotated. These operations can be performed on single shape and also on a group of shapes. Edit operations such as cut, copy and paste are supported. Keyboard shortcuts are also available to perform edit operations. The drawn shapes can be saved into different file formats such as png, bmp etc. These can also be open to edit and make changes. The OMSketch editor saves the shapes in regular graphical file formats with some information. The shape's properties are also saved into a file as text. Thus every saved shape from OMSketch contains the shape, and its coordinates and other properties. This makes it possible to edit the image when it is open in the editor. The main purpose of OMSketch is to embed shapes into OMNotebook document and also edit back from OMNotebook document to OMSketch. OMSketch is a very interactive and advance graphical editor for OMNotebook document.
Place, publisher, year, edition, pages
2012. , 109 p.
OMSketch, Graphical Editor, OpenModelica
Computer and Information Science
IdentifiersURN: urn:nbn:se:liu:diva-74474ISRN: LIU-IDA/LITH-EX-A—11/054--SEOAI: oai:DiVA.org:liu-74474DiVA: diva2:485416
Subject / course
Computer and information science at the Institute of Technology
2012-01-12, Donald Knuth, Linköping, 16:15 (English)
Torabzadeh-Tari, MohsenRogovchenko, Olena