A graphical user interface to create the geometry of a scenario simulated by jpscore. It comes with set of CAD- and further tools to simplify the creation of proper xml-files incorporating information about the scenario geometry.

Drawing a geometry from scratch

In jpseditor there are three areas:

  • Menu Bar (with red frame): available functions of jpseditor
  • Tool Bar(with blue frame): tools/elements needed for drawing (walls, doors, …)
  • canvas.(grid area)

jpseditor layout

Tutorials

Demos

Old geometry format

Some old geometries can not be parsed properly with jpseditor.

Example

of a geometry that can not be edited properly:

<polygon>
    <vertex px="-9.0" py="-1.0"/>
    <vertex px="-9.0" py=" 1.5"/>
    <vertex px="-8.0" py=" 1.5"/>
    <vertex px="-8.0" py=" 0.0"/>
    <vertex px=" 9.0" py=" 0.0"/>
    <vertex px=" 9.0" py="-1.0"/>
    <vertex px="-9.0" py="-1.0"/>
</polygon>

Solution

Change the above structur by making sure that you use the correct grammar for jpseditor. Meaning, every polygon should and only can have two vertexes, like this:

<polygon>
    <vertex px="-9.0" py="-1.0"/>
    <vertex px="-9.0" py=" 1.5"/>
</polygon>
<polygon>
    <vertex px="-9.0" py=" 1.5"/>
    <vertex px="-8.0" py=" 1.5"/>
</polygon>
<polygon>
    <vertex px="-8.0" py=" 1.5"/>
    <vertex px="-8.0" py=" 0.0"/>
</polygon>
<polygon>
    <vertex px="-8.0" py=" 0.0"/>
    <vertex px="9.0" py=" 0.0"/>
</polygon>
<polygon>
    <vertex px="9.0" py=" 0.0"/>
    <vertex px="9.0" py="-1.0"/>
</polygon>
<polygon>
    <vertex px="9.0" py="-1.0"/>
    <vertex px="-9.0" py="-1.0"/>
</polygon>

Issue tracker

jpseditor is instable and tend to crash more than often. If you encounte any problem, please open an issue using the issue tracker