rushabhcodes/desk-fidget-counter

A PLA desk fidget counter assembly houses an F1 PCB, 1.28-inch LCD with harness, rotary knob/bearing mechanism, button cap, and screw-secured base/display mount.

Version
6.0.16
License
MIT
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone rushabhcodes/desk-fidget-counter  # download the package files into ./desk-fidget-counter
tsci add rushabhcodes/desk-fidget-counter    # add it to your project as @tsci/rushabhcodes.desk-fidget-counter

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

validation/fixtures/ground-pour-gap.json

{
  "trace": {
    "type": "pcb_trace",
    "pcb_trace_id": "pcb_trace_external_236",
    "source_trace_id": "source_trace_24",
    "connection_name": "source_net_12",
    "route": [
      {
        "route_type": "wire",
        "x": 17.4804,
        "y": 14.0995,
        "width": 0.15,
        "layer": "top"
      },
      {
        "route_type": "wire",
        "x": 17.4804,
        "y": 27.1958,
        "width": 0.15,
        "layer": "top"
      }
    ],
    "connectsTo": [],
    "subcircuit_id": "subcircuit_source_group_0"
  },
  "pour": {
    "type": "pcb_copper_pour",
    "pcb_copper_pour_id": "pcb_copper_pour_38",
    "source_net_id": "source_net_12",
    "shape": "brep",
    "layer": "top",
    "brep_shape": {
      "outer_ring": {
        "vertices": [
          {
            "x": 18.1149,
            "y": 19.507
          },
          {
            "x": 18.007600322891133,
            "y": 19.49643190422178
          },
          {
            "x": 17.9044241121992,
            "y": 19.465133742881207
          },
          {
            "x": 17.80933637183922,
            "y": 19.414308286766403
          },
          {
            "x": 17.7259912703474,
            "y": 19.345908729652606
          },
          {
            "x": 17.657591713233604,
            "y": 19.26256362816078
          },
          {
            "x": 17.606766257118792,
            "y": 19.167475887800805
          },
          {
            "x": 17.575468095778227,
            "y": 19.06429967710887
          },
          {
            "x": 17.5649,
            "y": 18.957
          },
          {
            "x": 17.575468095778227,
            "y": 18.84970032289113
          },
          {
            "x": 17.606766257118792,
            "y": 18.746524112199204
          },
          {
            "x": 17.657591713233604,
            "y": 18.651436371839225
          },
          {
            "x": 17.7259912703474,
            "y": 18.568091270347402
          },
          {
            "x": 17.80933637183922,
            "y": 18.499691713233606
          },
          {
            "x": 17.9044241121992,
            "y": 18.448866257118798
          },
          {
            "x": 18.007600322891133,
            "y": 18.417568095778226
          },
          {
            "x": 18.1149,
            "y": 18.407
          },
          {
            "x": 18.2,
            "y": 18.415381618425698
          },
          {
            "x": 18.2,
            "y": 14.2201155
          },
          {
            "x": 18.179998,
            "y": 14.2201155
          },
          {
            "x": 18.179998,
            "y": 13.5
          },
          {
            "x": 17.15,
            "y": 13.5
          },
          {
            "x": 17.15,
            "y": 19.15
          },
          {
            "x": 16.8,
            "y": 19.15
          },
          {
            "x": 16.8,
            "y": 20.446972820062953
          },
          {
            "x": 16.811585116509804,
            "y": 20.45316519384873
          },
          {
            "x": 16.887353390593276,
            "y": 20.51534660940673
          },
          {
            "x": 16.949534806151277,
            "y": 20.591114883490206
          },
          {
            "x": 16.995739766255646,
            "y": 20.677558283817454
          },
          {
            "x": 17.02419264020162,
            "y": 20.77135483899194
          },
          {
            "x": 17.0338,
            "y": 20.8689
          },
          {
            "x": 17.02419264020162,
            "y": 20.966445161008068
          },
          {
            "x": 16.995739766255646,
            "y": 21.060241716182546
          },
          {
            "x": 16.949534806151277,
            "y": 21.146685116509804
          },
          {
            "x": 16.887353390593276,
            "y": 21.222453390593277
          },
          {
            "x": 16.8338,
            "y": 21.266403522430146
          },
          {
            "x": 16.8338,
            "y": 22.045364053253518
          },
          {
            "x": 16.867745161008067,
            "y": 22.048707359798385
          },
          {
            "x": 16.961541716182545,
            "y": 22.07716023374436
          },
          {
            "x": 17.047985116509803,
            "y": 22.12336519384873
          },
          {
            "x": 17.123753390593276,
            "y": 22.18554660940673
          },
          {
            "x": 17.185934806151277,
            "y": 22.261314883490204
          },
          {
            "x": 17.232139766255646,
            "y": 22.347758283817456
          },
          {
            "x": 17.260592640201622,
            "y": 22.44155483899194
          },
          {
            "x": 17.2702,
            "y": 22.5391
          },
          {
            "x": 17.260592640201622,
            "y": 22.63664516100807
          },
          {
            "x": 17.232139766255646,
            "y": 22.730441716182554
          },
          {
            "x": 17.185934806151277,
            "y": 22.816885116509802
          },
          {
            "x": 17.123753390593276,
            "y": 22.892653390593274
          },
          {
            "x": 17.047985116509803,
            "y": 22.95483480615128
          },
          {
            "x": 16.961541716182545,
            "y": 23.001039766255648
          },
          {
            "x": 16.867745161008067,
            "y": 23.02949264020162
          },
          {
            "x": 16.8,
            "y": 23.03616495617996
          },
          {
            "x": 16.8,
            "y": 24.06941373966055
          },
          {
            "x": 16.858658283817455,
            "y": 24.03806023374436
          },
          {
            "x": 16.95245483899194,
            "y": 24.009607359798387
          },
          {
            "x": 17.05,
            "y": 24.0
          },
          {
            "x": 17.14754516100807,
            "y": 24.009607359798387
          },
          {
            "x": 17.241341716182546,
            "y": 24.03806023374436
          },
          {
            "x": 17.3277851165098,
            "y": 24.08426519384873
          },
          {
            "x": 17.403553390593274,
            "y": 24.14644660940673
          },
          {
            "x": 17.46573480615128,
            "y": 24.222214883490206
          },
          {
            "x": 17.511939766255647,
            "y": 24.308658283817454
          },
          {
            "x": 17.54039264020162,
            "y": 24.40245483899194
          },
          {
            "x": 17.55,
            "y": 24.5
          },
          {
            "x": 17.54039264020162,
            "y": 24.597545161008068
          },
          {
            "x": 17.511939766255647,
            "y": 24.691341716182546
          },
          {
            "x": 17.46573480615128,
            "y": 24.777785116509804
          },
          {
            "x": 17.403553390593274,
            "y": 24.853553390593277
          },
          {
            "x": 17.3277851165098,
            "y": 24.915734806151278
          },
          {
            "x": 17.241341716182546,
            "y": 24.961939766255647
          },
          {
            "x": 17.14754516100807,
            "y": 24.99039264020162
          },
          {
            "x": 17.095516969770713,
            "y": 24.995516969770716
          },
          {
            "x": 17.09039264020162,
            "y": 25.047545161008067
          },
          {
            "x": 17.061939766255648,
            "y": 25.141341716182545
          },
          {
            "x": 17.01573480615128,
            "y": 25.227785116509803
          },
          {
            "x": 16.953553390593274,
            "y": 25.303553390593276
          },
          {
            "x": 16.877785116509802,
            "y": 25.365734806151277
          },
          {
            "x": 16.8,
            "y": 25.407311817136996
          },
          {
            "x": 16.8,
            "y": 28.0
          },
          {
            "x": 18.2,
            "y": 28.0
          },
          {
            "x": 18.2,
            "y": 19.498618381574307
          }
        ]
      },
      "inner_rings": []
    }
  }
}