From 74e119b6e2ce33c3dc66ec078396dfac6314c6c4 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 30 Dec 2023 16:35:36 +0100 Subject: theme: Add static page search with pagefind --- content/blog/kicad-mesh-plugin/index.rst | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'content/blog/kicad-mesh-plugin/index.rst') diff --git a/content/blog/kicad-mesh-plugin/index.rst b/content/blog/kicad-mesh-plugin/index.rst index df15933..5ba576a 100644 --- a/content/blog/kicad-mesh-plugin/index.rst +++ b/content/blog/kicad-mesh-plugin/index.rst @@ -5,8 +5,8 @@ date: 2020-08-18T13:15:39+02:00 .. raw:: html -
- +
+
Tamper Detection Meshes @@ -38,7 +38,7 @@ stored on the card, things such as copying of a card can only be hindered by mak .. raw:: html -
+
@@ -93,7 +93,7 @@ usable for this task. .. raw:: html -
+
KiCAD showing an irregular board shape with rounded corners and
         indents. In the middle of the board there is a footprint for a 4-pin surface-mount pin header.
The process starts out with the mesh shape being defined inside KiCAD. The mesh's outline is drawn @@ -104,7 +104,7 @@ usable for this task. .. raw:: html -
+
A vizualization of the grid fitting process. Over the mesh's irregular
         outline a grid is drawn. In this picture, all grid cells that are fully inside the grid are shown. Grid cells
         that overlap the mesh border are highlighted. Grid cells outside of the mesh border are not drawn. @@ -125,7 +125,7 @@ means that on every step, the algorithm is choosing a new direction at random. .. raw:: html -
+
a completely organized looking grid with spiral patterns all over.
0%
@@ -157,7 +157,7 @@ sides connected, a straight through, a 90 degree bend, and a "T"-junction—see .. raw:: html -
+
There are six possible tile types in our connectivity graph inside its square tiling. This graphic illustrates @@ -169,7 +169,7 @@ After tiling the grid according to the key above, we get the result below. .. raw:: html -
+
An auto-routed mesh with traces colored according to tile types. @@ -178,7 +178,7 @@ After tiling the grid according to the key above, we get the result below. .. raw:: html -
+
The same mesh, but with traces all black. @@ -189,7 +189,7 @@ Putting it all together got me the KiCAD plugin you can see in the screenshot be .. raw:: html -
+
The plugin settings window open. @@ -198,11 +198,11 @@ Putting it all together got me the KiCAD plugin you can see in the screenshot be .. raw:: html -
- -
- After runing the plugin, the generated mesh looks like this in pcbnew. -
+
+ +
+ After runing the plugin, the generated mesh looks like this in pcbnew. +
I am fairly happy with the result, but getting there was a medium pain. Especially KiCAD's plugin API is still very @@ -218,7 +218,7 @@ making a copy of the board file first and treating mesh generation as a non-reve .. raw:: html -
+
-- cgit