novosibpano@yandex.ru  

Arrangement of points on plan and editing direction of radar v1.1"


Editor Features.

  • Arrangement of points on plan with mouse.
  • Automatic scene assignment to points.
  • Rotate radars according to view in scene.
  • Built-in compass with settings.
  • Saving result without editing XML file.



Editing points with radars on plan.
YouTube


Example in 3D tour



Description of editor panel.

Panel consists of three buttons.

  • 1."Save XML" to save result of editing.
  • 2."Editor off" - enable / disable editing mode.
  • 3."Help" - call help window.

  • For convenience, panel is dragged by mouse.



    How to connect.

    To connect editor, put folder "edit_floorplan" in root folder with tour and set in main xml file:

    
        <krpano .... >
        <include url="plugins/edit_floorplan/editor/edit_floorplan.xml" />
        <include url="plugins/edit_floorplan/param_EFR.xml" />
        .
        .
        </krpano>
    	



    Create a plan and points on it.

    1.Create a layer with a plan. Choose size of plan image so that scale option is 1, scale = "1" and you did not need to change "width" and "height" parameters, at least for duration of edit.When you finish editing, you can change these settings.

    2.Create layers with dots inside layer with plan and use them as follows:
    pointfr_1, pointfr_2,pointfr_3.....pointfr_№.
    You can create a style and assign it to points.

    Example:

    3.Check for presence of radar.js file in plugins folder.



    How to edit.

  • 1. Open tour in browser window, in upper left corner - editing panel.

  • 2. Turn on editing mode by clicking "Editor off" button or "R" button.
    A target (a cross of red lines) appears on screen. Rotate scene, aligning target with a window, door, corner or other clearly positioned position on stage.
    Click on the scale of the compass and move it to the left and right until it matches the risk of the corresponding direction of the light.


  • 3. We click on point on plan. A red line appears in direction of radar.
    Click on point and move to location of scene on plan.


  • 4. Grabbing red dot on line, we deploy radar on plan in accordance with target in scene.
    Lock icon allows you to temporarily block a point from moving, turning a radar, assigning a different scene to a point.

  • 5. We open another scene and repeat operations with a point and a radar.
    After editing all points on plan, turn off "Editor on" or "R" and check result. A click on point should open corresponding scene and radar must turn in accordance with direction of view. When changing scenes from bar of miniatures, radar should switch accordingly.

  • 6. When editing is finished, press key "Save XML".A window with a browser opens, you need to select location of plug-in and save file param_EFR.xml with replacement of existing one.
    To check, we restart browser - changes are accepted.


  • 7. Disable editor:
    Delete "editor" folder , leaving only attached file param_EFR.xml

    
        <krpano .... >
        <include url="plugins/edit_floorplan/param_EFR.xml" />
        .
        .
        </krpano>
    	



  • Important!

  • Do not use capital letters in the title of the scene !!!
    In file "param_EFR.xml" parameters of points on plan and executing actions are stored. When you start, changes are applied to points. Main "tour.xml" does not change. Following point parameters are updated:
    "onclick", "x","y".
    Remaining parameters of points are not affected and can be edited in a file "tour.xml".
    "ondovn" attribute is not available for editing. Upon completion of work, you can change this parameter.

    Setting plan parameters "width" and "height" will cause editor to work incorrectly, you can set them after editing
    Changes to plan parameter "scale" will affect movement of point during editing. at scale = "0.5" mouse will move 2 times point, use scale = "1" for correct editor. Upon completion of work, you can change this parameter.

    Radar plugin is included in file "param_EFR.xml" . At end of work, you can change its parameters.

    You can change style of switching scenes by clicking on points in file "param_EFR.xml" action "click_point2" - "loadscene(get(sscenR), null, MERGE, BLEND(0.5));"




  • Download example.

    Download the archive with a demonstration tour. Try to arrange the points, deploy radars, compass and save the result, as described above.



    Get the arrangement of points on plan and editing direction of radar.

    Plug-in price 19 EUR.

    Test editor by this link . If you liked editor, You can Get it by making a donation through PayPal.
    Do not forget to provide an email address. I will send to this address a link to download the archive with the editor's files in one day.
    Updates plug-in for free!

    Get edit floorplan (version 1.0) 19 EUR.

    Archive includes:
    • Working example of use.
    • In example, folder "edit floorplan" in which:
    • param_EFR.xml(For saving parameters)
    • editor (Folder with editor)



    Changes

    07.03.2018

    Version 1.1

    Added a compass with the ability to customize the appearance and text.



    Notice

    Plugin is provided "As Is" without warranty of any kind, either express or implied, including any warranty of quality, merchantability, or fitness for a particular purpose. In no event will author of plugin be liable for loss of data, costs of procurement of substitute goods or services or any special, consequential or incidental damages, under any cause of action and regardless of whether or not plugin author have been advised of possibility of such damage. This limitation will apply notwithstanding any failure of essential purpose of any limited remedy provided herein. In any event plugin author will have no liability arising out of this agreement.