circuit-to-canvas 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +64 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -30,3 +30,67 @@ There are two "types" of layers:
30
30
  - Layer groups "top" (includes "top_copper", "top_soldermask")
31
31
 
32
32
  inner layers go by the name inner1, inner2 etc.
33
+
34
+ ## Feature Parity with circuit-to-svg
35
+
36
+ This checklist tracks PCB drawing features from [circuit-to-svg](https://github.com/tscircuit/circuit-to-svg) that are implemented in circuit-to-canvas.
37
+
38
+ ### PCB Elements
39
+
40
+ - [x] `pcb_board` - Board outline with center/width/height or custom outline
41
+ - [x] `pcb_trace` - PCB traces with route points
42
+ - [x] `pcb_via` - Via holes
43
+ - [x] `pcb_plated_hole` - Plated through-holes (circular, pill, oval shapes)
44
+ - [x] `pcb_hole` - Non-plated holes (circular, square, oval shapes)
45
+ - [x] `pcb_smtpad` - SMT pads (rect, circle, rotated_rect, pill shapes)
46
+ - [x] `pcb_copper_pour` - Copper pour areas (rect, polygon shapes)
47
+ - [x] `pcb_cutout` - Board cutouts (rect, circle, polygon shapes)
48
+
49
+ ### Silkscreen Elements
50
+
51
+ - [x] `pcb_silkscreen_text` - Text on silkscreen layer
52
+ - [x] `pcb_silkscreen_rect` - Rectangles on silkscreen
53
+ - [x] `pcb_silkscreen_circle` - Circles on silkscreen
54
+ - [x] `pcb_silkscreen_line` - Lines on silkscreen
55
+ - [x] `pcb_silkscreen_path` - Paths/routes on silkscreen
56
+
57
+ ### Copper Text
58
+
59
+ - [ ] `pcb_copper_text` - Text rendered on copper layers (supports knockout mode, mirroring)
60
+
61
+ ### Error Visualization
62
+
63
+ - [ ] `pcb_trace_error` - Trace routing error indicators
64
+ - [ ] `pcb_footprint_overlap_error` - Footprint overlap error indicators
65
+
66
+ ### Debug/Development Features
67
+
68
+ - [ ] `pcb_component` - Component bounding box visualization
69
+ - [ ] `pcb_group` - PCB group visualization with dashed outlines
70
+ - [ ] `pcb_courtyard_rect` - Component courtyard rectangles
71
+
72
+ ### Fabrication Notes
73
+
74
+ - [ ] `pcb_fabrication_note_text` - Fabrication note text
75
+ - [ ] `pcb_fabrication_note_rect` - Fabrication note rectangles
76
+ - [ ] `pcb_fabrication_note_path` - Fabrication note paths
77
+ - [ ] `pcb_fabrication_note_dimension` - Fabrication dimension annotations
78
+
79
+ ### Annotation/Notes
80
+
81
+ - [ ] `pcb_note_text` - General note text
82
+ - [ ] `pcb_note_rect` - Note rectangles
83
+ - [ ] `pcb_note_path` - Note paths
84
+ - [ ] `pcb_note_line` - Note lines
85
+ - [ ] `pcb_note_dimension` - Dimension annotations
86
+
87
+ ### Panel Support
88
+
89
+ - [ ] `pcb_panel` - PCB panel outlines for panelization
90
+
91
+ ### Visualization Features
92
+
93
+ - [ ] Rats nest visualization - Unrouted connection indicators
94
+ - [ ] PCB grid overlay - Configurable grid with major/minor lines
95
+ - [ ] Soldermask rendering - Soldermask layer visualization
96
+ - [ ] Anchor offset indicators - Debug indicators for relative positioning
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "circuit-to-canvas",
3
3
  "main": "dist/index.js",
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsup-node ./lib/index.ts --format esm --dts",