Arrangement of points on plan and editing direction of radar v1.1"
- 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.
Panel consists of three buttons.
For convenience, panel is dragged by mouse.
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>
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:
You can create a style and assign it to points.
3.Check for presence of radar.js file in plugins folder.
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.
Click on point and move to location of scene on plan.
Lock icon allows you to temporarily block a point from moving, turning a radar, assigning a different scene to a point.
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.
To check, we restart browser - changes are accepted.
Delete "editor" folder , leaving only attached file param_EFR.xml
<krpano .... > <include url="plugins/edit_floorplan/param_EFR.xml" /> . . </krpano>
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:
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 the archive with a demonstration tour. Try to arrange the points, deploy radars, compass and save the result, as described above.
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!
- Working example of use. In example, folder "edit floorplan" in which:
- param_EFR.xml(For saving parameters)
- editor (Folder with editor)
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.