Marthee commited on
Commit
f685931
·
1 Parent(s): dc350ba

Update templates/proposed-GUI.html

Browse files
Files changed (1) hide show
  1. templates/proposed-GUI.html +53 -29
templates/proposed-GUI.html CHANGED
@@ -243,58 +243,82 @@
243
 
244
  </div>
245
 
246
- <div class="dropdown-content">
247
  <div id="userguidetext">
248
  <div id="textfirstpage">
249
- <label style="font-style: oblique;"> <br>
250
- Please read the following before you use this tool. </label>
251
  <br><br>
252
- <label style="font-style: oblique;" >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.
253
- To avoid this, please tidy up the plan before choosing to measure it, by using an outside tool to either erase them or to put a white rectangle over them.</label>
254
- <br>
 
255
 
256
  <br>
257
  The tool is divided into two main parts:
258
  <br>
259
  <li id="userguideheadings"> First Part </li>
260
- <br> There are three dropdowns available. Select the name of the project you wish to measure, along with the project part, and the project section.
 
 
261
  <br > <br>
262
- <label style="font-style: italic;"> Please double check the project section chosen as this determines the code that will be applied to the plan. </label>
263
  <br>
264
  <br>
265
- Mark the project you want to meaure from the section labeled 'To measure'. Additionally, you have the ability to view any relevant documents you might want.(optional).
266
- <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
267
- a colored rectangle drawn in it. Please open this pdf in Bluebeam, measure its area and perimeter, and then enter those values in the textboxes that will shown below the relevant documents.
268
- You may think of this rectangle's measurement as a scale check for Bluebeam.
269
- <br> <br> <label style="font-style: italic;">Notes when measuring secion 1.0: </label>
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
- First, please open the google sheets link labeled 'Legend' and fill in the names of each shape.
284
- <br>Ex. The first row shows the measurement of GB-1 , in the first column type in GB-1.
285
- <br> After you are done with filling in the legend, go back to the ADR Console.
286
- You will find three dropdowns and three textboxes.
 
287
 
288
- <li style="list-style-type:square;"> The first dropdown will allow you to choose whether the shape is a ground beam or a pile cap. </li>
289
- <li style="list-style-type:square;"> The second dropdown is the choice of (Area-perimeter-Length-Count).</li>
290
- <li style="list-style-type:square;"> The third dropdown gives you the first part of the MC-T Name.</li>
291
- <br> Then fill in the rows below the dropdowns with the corresponding detail and depth.
292
- The plus button allows you to add more rows within this block.
 
 
 
 
 
 
293
  <br>
294
- There is another button above the dropdowns (to the right) that allows you to add another block and repeat the process for another item (Ground Beam or Pile Cap) or (Area-perimeter-Length-Count).
 
 
 
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> &emsp;&emsp; a. (1.0 Substructure) Ground Beam or Pile Cap
305
+ <br> &emsp;&emsp; 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
  }