FarmBot/Farmbot-Web-App

View on GitHub
frontend/three_d_garden/parts/gantry_wheel_plate.tsx

Summary

Maintainability
F
1 wk
Test Coverage

Function GantryWheelPlate has 257 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  (props: JSX.IntrinsicElements["group"]) => {
    const { nodes, materials } = model;
    return <Group {...props}>
      <MeshComponent
        geometry={nodes.Gantry_Wheel_Plate.geometry}
Severity: Major
Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx - About 1 day to fix

    File gantry_wheel_plate.tsx has 357 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /* eslint-disable max-len */
    import React from "react";
    import * as THREE from "three";
    import { InstancedBufferAttribute } from "three";
    import { GLTF } from "three-stdlib";
    Severity: Minor
    Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx - About 4 hrs to fix

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_12.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_12.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_12.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_12.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_5.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_5.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_1.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_1.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_8.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_8.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_1.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_1.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_12.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_12.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_13.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_13.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_11.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_11.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_4.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_4.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_14.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_14.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_9.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_9.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_14.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_14.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_10.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_10.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_17.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_17.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_6.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_6.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_15.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_15.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_16.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_16.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_16.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_16.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_2.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_2.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_10.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_10.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_4.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_4.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_13.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_13.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_1.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_1.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_8.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_8.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_9.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_9.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_3.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_3.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_2.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_2.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_3.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_3.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_7.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_7.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_11.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_11.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_8.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_8.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_5.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_5.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_10.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_10.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_5.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_5.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_9.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_9.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_2.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_2.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_3.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_3.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_6.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_6.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_7.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_7.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_8.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_8.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_2.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_2.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_13.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_13.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_3.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_3.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_5.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_5.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_13.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_13.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_7.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_7.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_8.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_8.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_15.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_15.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_16.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_16.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_4.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_4.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_6.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_6.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_14.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_14.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_11.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_11.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_7.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_7.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh141_mesh_1.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh141_mesh_1.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh159_mesh_9.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh159_mesh_9.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_11.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_11.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_12.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_12.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh176_mesh_15.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh176_mesh_15.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_2.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_2.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_6.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_6.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_9.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_9.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_5.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_5.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_11.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_11.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_15.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_15.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_10.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_10.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_12.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_12.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_13.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_13.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_6.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_6.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_17.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_17.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_3.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_3.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_10.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_10.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_14.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_14.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh192_mesh_4.geometry, materials.PaletteMaterial001, 5]}
              instanceMatrix={nodes.mesh192_mesh_4.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_1.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_1.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_4.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_4.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 327..329
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      Similar blocks of code found in 300 locations. Consider refactoring.
      Open

            <InstancedMesh
              args={[nodes.mesh206_mesh_7.geometry, materials.PaletteMaterial001, 10]}
              instanceMatrix={nodes.mesh206_mesh_7.instanceMatrix} />
      Severity: Major
      Found in frontend/three_d_garden/parts/gantry_wheel_plate.tsx and 299 other locations - About 30 mins to fix
      frontend/three_d_garden/parts/cross_slide.tsx on lines 157..159
      frontend/three_d_garden/parts/cross_slide.tsx on lines 160..162
      frontend/three_d_garden/parts/cross_slide.tsx on lines 163..165
      frontend/three_d_garden/parts/cross_slide.tsx on lines 166..168
      frontend/three_d_garden/parts/cross_slide.tsx on lines 169..171
      frontend/three_d_garden/parts/cross_slide.tsx on lines 172..174
      frontend/three_d_garden/parts/cross_slide.tsx on lines 175..177
      frontend/three_d_garden/parts/cross_slide.tsx on lines 178..180
      frontend/three_d_garden/parts/cross_slide.tsx on lines 181..183
      frontend/three_d_garden/parts/cross_slide.tsx on lines 184..186
      frontend/three_d_garden/parts/cross_slide.tsx on lines 187..189
      frontend/three_d_garden/parts/cross_slide.tsx on lines 190..192
      frontend/three_d_garden/parts/cross_slide.tsx on lines 193..195
      frontend/three_d_garden/parts/cross_slide.tsx on lines 196..198
      frontend/three_d_garden/parts/cross_slide.tsx on lines 199..201
      frontend/three_d_garden/parts/cross_slide.tsx on lines 202..204
      frontend/three_d_garden/parts/cross_slide.tsx on lines 205..207
      frontend/three_d_garden/parts/cross_slide.tsx on lines 208..210
      frontend/three_d_garden/parts/cross_slide.tsx on lines 211..213
      frontend/three_d_garden/parts/cross_slide.tsx on lines 214..216
      frontend/three_d_garden/parts/cross_slide.tsx on lines 217..219
      frontend/three_d_garden/parts/cross_slide.tsx on lines 220..222
      frontend/three_d_garden/parts/cross_slide.tsx on lines 223..225
      frontend/three_d_garden/parts/cross_slide.tsx on lines 226..228
      frontend/three_d_garden/parts/cross_slide.tsx on lines 229..231
      frontend/three_d_garden/parts/cross_slide.tsx on lines 232..234
      frontend/three_d_garden/parts/cross_slide.tsx on lines 235..237
      frontend/three_d_garden/parts/cross_slide.tsx on lines 238..240
      frontend/three_d_garden/parts/cross_slide.tsx on lines 241..243
      frontend/three_d_garden/parts/cross_slide.tsx on lines 244..246
      frontend/three_d_garden/parts/cross_slide.tsx on lines 247..249
      frontend/three_d_garden/parts/cross_slide.tsx on lines 250..252
      frontend/three_d_garden/parts/cross_slide.tsx on lines 253..255
      frontend/three_d_garden/parts/cross_slide.tsx on lines 256..258
      frontend/three_d_garden/parts/cross_slide.tsx on lines 259..261
      frontend/three_d_garden/parts/cross_slide.tsx on lines 262..264
      frontend/three_d_garden/parts/cross_slide.tsx on lines 265..267
      frontend/three_d_garden/parts/cross_slide.tsx on lines 268..270
      frontend/three_d_garden/parts/cross_slide.tsx on lines 271..273
      frontend/three_d_garden/parts/cross_slide.tsx on lines 274..276
      frontend/three_d_garden/parts/cross_slide.tsx on lines 277..279
      frontend/three_d_garden/parts/cross_slide.tsx on lines 280..282
      frontend/three_d_garden/parts/cross_slide.tsx on lines 283..285
      frontend/three_d_garden/parts/cross_slide.tsx on lines 286..288
      frontend/three_d_garden/parts/cross_slide.tsx on lines 289..291
      frontend/three_d_garden/parts/cross_slide.tsx on lines 292..294
      frontend/three_d_garden/parts/cross_slide.tsx on lines 295..297
      frontend/three_d_garden/parts/cross_slide.tsx on lines 298..300
      frontend/three_d_garden/parts/cross_slide.tsx on lines 301..303
      frontend/three_d_garden/parts/cross_slide.tsx on lines 304..306
      frontend/three_d_garden/parts/cross_slide.tsx on lines 307..309
      frontend/three_d_garden/parts/cross_slide.tsx on lines 310..312
      frontend/three_d_garden/parts/cross_slide.tsx on lines 313..315
      frontend/three_d_garden/parts/cross_slide.tsx on lines 316..318
      frontend/three_d_garden/parts/cross_slide.tsx on lines 319..321
      frontend/three_d_garden/parts/cross_slide.tsx on lines 322..324
      frontend/three_d_garden/parts/cross_slide.tsx on lines 325..327
      frontend/three_d_garden/parts/cross_slide.tsx on lines 328..330
      frontend/three_d_garden/parts/cross_slide.tsx on lines 331..333
      frontend/three_d_garden/parts/cross_slide.tsx on lines 334..336
      frontend/three_d_garden/parts/cross_slide.tsx on lines 337..339
      frontend/three_d_garden/parts/cross_slide.tsx on lines 340..342
      frontend/three_d_garden/parts/cross_slide.tsx on lines 343..345
      frontend/three_d_garden/parts/cross_slide.tsx on lines 346..348
      frontend/three_d_garden/parts/cross_slide.tsx on lines 349..351
      frontend/three_d_garden/parts/cross_slide.tsx on lines 352..354
      frontend/three_d_garden/parts/cross_slide.tsx on lines 355..357
      frontend/three_d_garden/parts/cross_slide.tsx on lines 358..360
      frontend/three_d_garden/parts/cross_slide.tsx on lines 361..363
      frontend/three_d_garden/parts/cross_slide.tsx on lines 364..366
      frontend/three_d_garden/parts/cross_slide.tsx on lines 367..369
      frontend/three_d_garden/parts/cross_slide.tsx on lines 370..372
      frontend/three_d_garden/parts/cross_slide.tsx on lines 373..375
      frontend/three_d_garden/parts/cross_slide.tsx on lines 376..378
      frontend/three_d_garden/parts/cross_slide.tsx on lines 379..381
      frontend/three_d_garden/parts/cross_slide.tsx on lines 382..384
      frontend/three_d_garden/parts/cross_slide.tsx on lines 385..387
      frontend/three_d_garden/parts/cross_slide.tsx on lines 388..390
      frontend/three_d_garden/parts/cross_slide.tsx on lines 391..393
      frontend/three_d_garden/parts/cross_slide.tsx on lines 394..396
      frontend/three_d_garden/parts/cross_slide.tsx on lines 397..399
      frontend/three_d_garden/parts/cross_slide.tsx on lines 400..402
      frontend/three_d_garden/parts/cross_slide.tsx on lines 403..405
      frontend/three_d_garden/parts/cross_slide.tsx on lines 406..408
      frontend/three_d_garden/parts/cross_slide.tsx on lines 409..411
      frontend/three_d_garden/parts/cross_slide.tsx on lines 412..414
      frontend/three_d_garden/parts/cross_slide.tsx on lines 415..417
      frontend/three_d_garden/parts/cross_slide.tsx on lines 418..420
      frontend/three_d_garden/parts/cross_slide.tsx on lines 421..423
      frontend/three_d_garden/parts/cross_slide.tsx on lines 424..426
      frontend/three_d_garden/parts/cross_slide.tsx on lines 427..429
      frontend/three_d_garden/parts/cross_slide.tsx on lines 430..432
      frontend/three_d_garden/parts/cross_slide.tsx on lines 433..435
      frontend/three_d_garden/parts/cross_slide.tsx on lines 436..438
      frontend/three_d_garden/parts/cross_slide.tsx on lines 439..441
      frontend/three_d_garden/parts/cross_slide.tsx on lines 442..444
      frontend/three_d_garden/parts/cross_slide.tsx on lines 445..447
      frontend/three_d_garden/parts/cross_slide.tsx on lines 448..450
      frontend/three_d_garden/parts/cross_slide.tsx on lines 451..453
      frontend/three_d_garden/parts/cross_slide.tsx on lines 454..456
      frontend/three_d_garden/parts/cross_slide.tsx on lines 457..459
      frontend/three_d_garden/parts/cross_slide.tsx on lines 460..462
      frontend/three_d_garden/parts/cross_slide.tsx on lines 463..465
      frontend/three_d_garden/parts/cross_slide.tsx on lines 466..468
      frontend/three_d_garden/parts/cross_slide.tsx on lines 469..471
      frontend/three_d_garden/parts/cross_slide.tsx on lines 472..474
      frontend/three_d_garden/parts/cross_slide.tsx on lines 475..477
      frontend/three_d_garden/parts/cross_slide.tsx on lines 478..480
      frontend/three_d_garden/parts/cross_slide.tsx on lines 481..483
      frontend/three_d_garden/parts/cross_slide.tsx on lines 484..486
      frontend/three_d_garden/parts/cross_slide.tsx on lines 487..489
      frontend/three_d_garden/parts/cross_slide.tsx on lines 490..492
      frontend/three_d_garden/parts/cross_slide.tsx on lines 493..495
      frontend/three_d_garden/parts/cross_slide.tsx on lines 496..498
      frontend/three_d_garden/parts/cross_slide.tsx on lines 499..501
      frontend/three_d_garden/parts/cross_slide.tsx on lines 502..504
      frontend/three_d_garden/parts/cross_slide.tsx on lines 505..507
      frontend/three_d_garden/parts/cross_slide.tsx on lines 508..510
      frontend/three_d_garden/parts/cross_slide.tsx on lines 511..513
      frontend/three_d_garden/parts/cross_slide.tsx on lines 514..516
      frontend/three_d_garden/parts/cross_slide.tsx on lines 517..519
      frontend/three_d_garden/parts/cross_slide.tsx on lines 520..522
      frontend/three_d_garden/parts/cross_slide.tsx on lines 523..525
      frontend/three_d_garden/parts/cross_slide.tsx on lines 526..528
      frontend/three_d_garden/parts/cross_slide.tsx on lines 529..531
      frontend/three_d_garden/parts/cross_slide.tsx on lines 532..534
      frontend/three_d_garden/parts/cross_slide.tsx on lines 535..537
      frontend/three_d_garden/parts/cross_slide.tsx on lines 538..540
      frontend/three_d_garden/parts/cross_slide.tsx on lines 541..543
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 111..113
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 114..116
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 117..119
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 120..122
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 123..125
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 126..128
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 129..131
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 132..134
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 135..137
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 138..140
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 141..143
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 144..146
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 147..149
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 150..152
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 153..155
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 156..158
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 159..161
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 162..164
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 165..167
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 168..170
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 171..173
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 174..176
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 177..179
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 180..182
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 183..185
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 186..188
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 189..191
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 192..194
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 195..197
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 198..200
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 201..203
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 204..206
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 207..209
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 210..212
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 213..215
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 216..218
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 219..221
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 222..224
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 225..227
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 228..230
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 231..233
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 234..236
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 237..239
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 240..242
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 243..245
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 246..248
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 249..251
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 252..254
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 255..257
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 258..260
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 261..263
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 264..266
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 267..269
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 270..272
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 273..275
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 276..278
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 279..281
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 282..284
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 285..287
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 288..290
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 291..293
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 294..296
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 297..299
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 300..302
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 303..305
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 306..308
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 309..311
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 312..314
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 315..317
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 318..320
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 321..323
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 324..326
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 330..332
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 333..335
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 336..338
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 339..341
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 342..344
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 345..347
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 348..350
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 351..353
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 354..356
      frontend/three_d_garden/parts/gantry_wheel_plate.tsx on lines 357..359
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 72..74
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 75..77
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 78..80
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 81..83
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 84..86
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 87..89
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 90..92
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 93..95
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 96..98
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 99..101
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 102..104
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 105..107
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 108..110
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 111..113
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 114..116
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 117..119
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 120..122
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 123..125
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 126..128
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 129..131
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 132..134
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 135..137
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 138..140
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 141..143
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 144..146
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 147..149
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 150..152
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 153..155
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 156..158
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 159..161
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 162..164
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 165..167
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 168..170
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 171..173
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 174..176
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 177..179
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 180..182
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 183..185
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 186..188
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 189..191
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 192..194
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 195..197
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 198..200
      frontend/three_d_garden/parts/rotary_tool.tsx on lines 201..203
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 72..74
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 75..77
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 78..80
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 81..83
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 84..86
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 87..89
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 90..92
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 93..95
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 96..98
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 99..101
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 102..104
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 105..107
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 108..110
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 111..113
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 114..116
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 117..119
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 120..122
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 123..125
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 126..128
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 129..131
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 132..134
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 135..137
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 138..140
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 141..143
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 144..146
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 147..149
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 150..152
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 153..155
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 156..158
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 159..161
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 162..164
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 165..167
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 168..170
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 171..173
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 174..176
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 177..179
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 180..182
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 183..185
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 186..188
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 189..191
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 192..194
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 195..197
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 198..200
      frontend/three_d_garden/parts/soil_sensor.tsx on lines 201..203

      Duplicated Code

      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

      Tuning

      This issue has a mass of 45.

      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

      Refactorings

      Further Reading

      There are no issues that match your filters.

      Category
      Status