Metadata-Version: 2.4
Name: teslar
Version: 0.1.1
Summary: Automate some manual calculations in Carpenter Workshop
Author-email: 🦌 Anom 🦌 <tfed@tutamail.com>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://codeberg.org/anom/anomlib
Project-URL: Issues, https://codeberg.org/anom/anomlib/issues
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: anomlib>=0.3.13
Requires-Dist: bs4>=0.0.2
Requires-Dist: json5>=0.15.0
Requires-Dist: lxml>=6.1.1
Requires-Dist: numpy>=2.0.2
Requires-Dist: pytest>=9.1.1
Requires-Dist: twine>=7.0.0
Dynamic: license-file

# Teslar (Carpenter) Workshop

- Auto calculate EUR-pallets, some custom pallets.
- Measure where to drill or put screws
- How to cut wood and what are the leftovers.
- Output is very compact and informative.

# Examples

- Run to drill with intervals:

```shell
python teslar.py
```

Output:

```txt
Panel
-----
Pattern             : drill
Length              : 2000.0 mm
Edge offsets        : → 25.0 mm | 25.0 mm ←
Usable length       : 1950.0 mm
Requested interval  : 200.0 mm
Actual interval     : 195.0 mm
Intervals           : 10
Pattern points      : 11

Pattern positions (mm):
   1:      25.0 mm
   2:     220.0 mm
   3:     415.0 mm
   4:     610.0 mm
   5:     805.0 mm
   6:    1000.0 mm
   7:    1195.0 mm
   8:    1390.0 mm
   9:    1585.0 mm
  10:    1780.0 mm
  11:    1975.0 mm
```

- Run to cut wood:

```shell
python circularsaw.py
```

Output:

```txt
Circular Saw : 4.4 mm
Edge offsets : → 10.0 mm | 10.0 mm ←
material     : 2000 mm
panels       : 200, 150, 1200
Cuts         : 4
Saw Costs    : 17.6 mm
require      : 1567.6
leftovers    : 432.40 mm
```
