Spaces:
Sleeping
Sleeping
Update templates/proposed-GUI.html
Browse files- templates/proposed-GUI.html +53 -29
templates/proposed-GUI.html
CHANGED
|
@@ -243,58 +243,82 @@
|
|
| 243 |
|
| 244 |
</div>
|
| 245 |
|
| 246 |
-
|
| 247 |
<div id="userguidetext">
|
| 248 |
<div id="textfirstpage">
|
| 249 |
-
<label style="font-style: oblique;">
|
| 250 |
-
|
| 251 |
<br><br>
|
| 252 |
-
<label style="font-style: oblique;" >
|
| 253 |
-
|
| 254 |
-
|
|
|
|
| 255 |
|
| 256 |
<br>
|
| 257 |
The tool is divided into two main parts:
|
| 258 |
<br>
|
| 259 |
<li id="userguideheadings"> First Part </li>
|
| 260 |
-
<
|
|
|
|
|
|
|
| 261 |
<br > <br>
|
| 262 |
-
<label style="font-style: italic;"> Please
|
| 263 |
<br>
|
| 264 |
<br>
|
| 265 |
-
Mark the project
|
| 266 |
-
|
| 267 |
-
a colored rectangle drawn in it. Please open this
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
<label id=info >You can measure several levels independently using the textbox below the Scale document heading, which is titled "Number of levels." </label>
|
| 271 |
-
<br> Before selecting this plan from the 'To Measure' option, please draw shapes around the relevant regions on Bluebeam or using any other external tool if the project you want to measure contains more than 1 level.
|
| 272 |
-
<br> Additionally, you must include the levels' colors in RGB (Red - Green - Blue) format.
|
| 273 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 274 |
<br>
|
| 275 |
|
| 276 |
<i id="secondpage" class="fa fa-arrow-right" aria-hidden="true"></i>
|
| 277 |
-
<br>
|
| 278 |
</div>
|
| 279 |
<div id="textsecondpage" hidden=until-found>
|
|
|
|
| 280 |
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 281 |
<li id="userguideheadings" > Second part </li>
|
| 282 |
<br>
|
| 283 |
-
|
| 284 |
-
<br>Ex.
|
| 285 |
-
<br>
|
| 286 |
-
|
|
|
|
| 287 |
|
| 288 |
-
<li style="list-style-type:square;">
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
| 292 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 293 |
<br>
|
| 294 |
-
|
|
|
|
|
|
|
|
|
|
| 295 |
<br><br>
|
| 296 |
<i id="firstpage" class="fa fa-arrow-left" aria-hidden="true"></i>
|
| 297 |
-
<br>
|
| 298 |
|
| 299 |
</div>
|
| 300 |
|
|
@@ -814,7 +838,7 @@ measids.forEach(function(elem) {
|
|
| 814 |
$.get( '/pixelimg/'+JSON.stringify(pixelArr)) .then( function(data) {
|
| 815 |
// alert('Measure the white square drawn in the pdf on Bluebeam, then enter its area and perimeter in ur desired scale. \n' );
|
| 816 |
if(window.confirm("Measure the white square drawn in the pdf on Bluebeam, then enter its area and perimeter in ur desired scale. \n")){
|
| 817 |
-
pdfname=data[2];
|
| 818 |
window.open(data[2]);
|
| 819 |
|
| 820 |
}
|
|
|
|
| 243 |
|
| 244 |
</div>
|
| 245 |
|
| 246 |
+
<div class="dropdown-content">
|
| 247 |
<div id="userguidetext">
|
| 248 |
<div id="textfirstpage">
|
| 249 |
+
<label style="font-style: oblique;">
|
| 250 |
+
<br> Before using this tool, kindly read the following. </label>
|
| 251 |
<br><br>
|
| 252 |
+
<label style="font-style: oblique;" >
|
| 253 |
+
Note : The algorithm is based on detecting shapes and colors from the plan. Some shapes such as tables and textboxes carrying plan-related information, may also be viewed as shapes and so added to the algorithm. To avoid this, please tidy up the plan before choosing to measure it, by using an external tool to either erase them or to put a white rectangle over them.
|
| 254 |
+
</label>
|
| 255 |
+
<br>
|
| 256 |
|
| 257 |
<br>
|
| 258 |
The tool is divided into two main parts:
|
| 259 |
<br>
|
| 260 |
<li id="userguideheadings"> First Part </li>
|
| 261 |
+
<label id="underlinedLables"> - Inputs: </label>
|
| 262 |
+
<br>There are three dropdowns available that will allow you to select the name of the project you wish to measure, along with the project part, and the project section.
|
| 263 |
+
|
| 264 |
<br > <br>
|
| 265 |
+
<label style="font-style: italic;"> Please make sure the “Project Section” you select is correct because it will affect the code that will be applied to the plan. </label>
|
| 266 |
<br>
|
| 267 |
<br>
|
| 268 |
+
Mark the project from the "To measure" section that you want to measure. Additionally, you have the ability to view any relevant documents you might need in Dropbox.(optional).
|
| 269 |
+
|
| 270 |
+
<br> <label style="font-style: italic;"> * Pixel to Metric conversion important notes : </label> Once you have selected a specific plan to measure, you will be provided with a pdf with a colored rectangle drawn in it. Please open this PDF in Foxit Reader, Adobe, or any software that will allow you to measure shapes on a plan, and measure the given shape’s area and perimeter in the desired metric unit, then input those values in the textboxes that will be shown below the relevant documents.
|
| 271 |
+
For the ease of conversion of metric units, you will find a dropdown with ‘m’ or ‘mm’ next to each textbox.
|
| 272 |
+
This will allow the code to understand the ratio between the pixels to the metric unit you chose.
|
|
|
|
|
|
|
|
|
|
| 273 |
|
| 274 |
+
<br>
|
| 275 |
+
You may think of this rectangle's measurement as a scale check for Bluebeam.
|
| 276 |
+
<br> <br>
|
| 277 |
+
<label style="font-style: italic;"> * Notes for section 1.0 measurement (Section 3.2 does not yet support this feature): </label>
|
| 278 |
+
<label id=info >You can measure several levels independently using checkbox labeled 'Leveled plan' under Scale document heading. </label>
|
| 279 |
+
Leave the checkbox unchecked if you want to measure the entirety of the plan. <br>Please tick the box if you want to measure certain areas of the plan or have the plan divided into levels. Once the checkbox is ticked, a window will appear that will allow you to draw on the PDF. Click the save button at the bottom of the page when you are done.
|
| 280 |
<br>
|
| 281 |
|
| 282 |
<i id="secondpage" class="fa fa-arrow-right" aria-hidden="true"></i>
|
| 283 |
+
<br> <br>
|
| 284 |
</div>
|
| 285 |
<div id="textsecondpage" hidden=until-found>
|
| 286 |
+
|
| 287 |
<br>
|
| 288 |
+
<label id="underlinedLables"> - Outputs: </label> <br>
|
| 289 |
+
On the right side of the console, the output will be displayed. There are three primary components to it.
|
| 290 |
+
You may have a sneak peek of the measured plan in the first section. There are two buttons underneath this picture. You may access the Google sheet that was created by clicking the "Legend and Data created" button. The "Click to view as PDF" second button directs you to the marked-up PDF that was created in Dropbox.
|
| 291 |
+
<br> <br>
|
| 292 |
+
ONLY IN DROPBOX VIEW. DO NOT DOWNLOAD THE PDF FOR THIS FEATURE.
|
| 293 |
+
Any markup that you deem unnecessary in the pdf can be removed, and the legend will also be updated accordingly.
|
| 294 |
+
|
| 295 |
<li id="userguideheadings" > Second part </li>
|
| 296 |
<br>
|
| 297 |
+
To open the Google sheet with the created legend, first click the button labeled "Legend and Data created." Names of each shape should go in the first column of the sheet labeled ‘Guess’.
|
| 298 |
+
<br>Ex. GB-1.
|
| 299 |
+
<br> Then, return to this page, the ADR Console, to finish entering the remaining data after you have finished entering the guessed names in the legend.
|
| 300 |
+
<br> Three dropdown menus and three text boxes are present.
|
| 301 |
+
|
| 302 |
|
| 303 |
+
<li style="list-style-type:square;"> You can select the type of the shape from the first dropdown by selecting either:
|
| 304 |
+
<br>    a. (1.0 Substructure) Ground Beam or Pile Cap
|
| 305 |
+
<br>    b. (3.2 Floor Finishes) Floor or Wall
|
| 306 |
+
</li>
|
| 307 |
+
<li style="list-style-type:square;"> In the second dropdown, you will find the first part of the MC-T Name. Ex: Ground Beams: m2.</li>
|
| 308 |
+
<li style="list-style-type:square;"> The third dropdown menu has the options (Area-perimeter-Length-Count).</li>
|
| 309 |
+
<br> Ex: If you selected Ground Beams: m2 , You are currently obtaining the total area value from the legend. If you selected Ground Beams: m, you may choose whether to extract perimeter or length data from the third selection.
|
| 310 |
+
<br><br><label style="font-style: italic;"> Regarding the MC-T naming process: </label>
|
| 311 |
+
Then add the relevant detail and depth to the rows underneath the dropdowns.
|
| 312 |
+
You can add/ subtract rows by using the + and - button.
|
| 313 |
+
|
| 314 |
<br>
|
| 315 |
+
|
| 316 |
+
You can add another block and repeat the process for another item by clicking the button next to "Measure using ADR".
|
| 317 |
+
|
| 318 |
+
|
| 319 |
<br><br>
|
| 320 |
<i id="firstpage" class="fa fa-arrow-left" aria-hidden="true"></i>
|
| 321 |
+
<br> <br>
|
| 322 |
|
| 323 |
</div>
|
| 324 |
|
|
|
|
| 838 |
$.get( '/pixelimg/'+JSON.stringify(pixelArr)) .then( function(data) {
|
| 839 |
// alert('Measure the white square drawn in the pdf on Bluebeam, then enter its area and perimeter in ur desired scale. \n' );
|
| 840 |
if(window.confirm("Measure the white square drawn in the pdf on Bluebeam, then enter its area and perimeter in ur desired scale. \n")){
|
| 841 |
+
// pdfname=data[2];
|
| 842 |
window.open(data[2]);
|
| 843 |
|
| 844 |
}
|