From 13ab526a3731b02df4bebd41eb71561f21662937 Mon Sep 17 00:00:00 2001 From: pux Date: Fri, 20 Aug 2021 12:31:53 +0200 Subject: add md2html stuff, temporary, should not be IN a project repos --- INDEX.html | 17 +++++++++++++++++ INDEX.md | 1 + README.html | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ README.md | 4 ++-- index.html | 1 + style.css | 13 +++++++++++++ template.md | 10 ++++++++++ update.sh | 22 ++++++++++++++++++++++ 8 files changed, 124 insertions(+), 2 deletions(-) create mode 100644 INDEX.html create mode 100644 INDEX.md create mode 100644 README.html create mode 120000 index.html create mode 100644 style.css create mode 100644 template.md create mode 100755 update.sh diff --git a/INDEX.html b/INDEX.html new file mode 100644 index 0000000..60e138d --- /dev/null +++ b/INDEX.html @@ -0,0 +1,17 @@ + + + + + + + + + + + + +

README

+ + diff --git a/INDEX.md b/INDEX.md new file mode 100644 index 0000000..3360b3a --- /dev/null +++ b/INDEX.md @@ -0,0 +1 @@ +[README](README.html) diff --git a/README.html b/README.html new file mode 100644 index 0000000..72cff4e --- /dev/null +++ b/README.html @@ -0,0 +1,58 @@ + + + + + + + + + + + + +

Fenix LR40R Diffusor

+

The adapter is a 3D printed part to add an (optional) color filter and a diffusor cap to the Fenix LR40R. You can glue everything together and put the adapter on the Fenix on demand with a bit of pressure. An indentation in the adapter keeps the ideal position of the adapter. Some openings help heat dissipation.

+

And I don't need glue at all. Tolerances are so good that everything holds together well without...

+

Disclaimer: First FreeCAD project, last CAD experience (Solid Edge) now some years in the past... I remember that there was an easy way for hole patterns...

+

+


+

Example shots

+ + + + + + + + + + + +
without diffusor
+ + + + + + + + + + + +
with diffusor
+

Info

+

Diameter Fenix LR40R

+

The LR40R outer diameter at the top end is 79.2 mm.

+

(39.6 mm radius * 2)

+

The color filter

+

Cutout of #205 filter: amazon.de

+

Top diffusor

+

The white cap of this one: amazon.de

+

Get

+

Print it yourself, FreeCAD project, .stl and .gcode is in the repository.

+

If you don't have access to a 3D printer contact me, maybe we can arrange something.

+ + diff --git a/README.md b/README.md index b2ec6ef..35fc3ce 100644 --- a/README.md +++ b/README.md @@ -19,11 +19,11 @@ Disclaimer: First FreeCAD project, last CAD experience (Solid Edge) now some yea |without diffusor| |----------------| -|| +|| |with diffusor| |----------------| -|| +|| ## Info diff --git a/index.html b/index.html new file mode 120000 index 0000000..b70e3e8 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +README.html \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..4a5093d --- /dev/null +++ b/style.css @@ -0,0 +1,13 @@ +* { + color: white; + /*font-family: Courier New, Courier, monospace;*/ + font-family: Arial; + background-color: transparent; +} +html { background-color: #16161d; } +a:link {color: dodgerblue} +a:visited {color: dodgerblue} +a:hover {color: dodgerblue} +a:active {color: dodgerblue} +img {padding: 20px} +code {background-color: #555555; font-family: Courier New; font-size: smaller; background-clip: padding-box; border: 0px solid; display: inline-block; margin: 0px;} diff --git a/template.md b/template.md new file mode 100644 index 0000000..34b78bb --- /dev/null +++ b/template.md @@ -0,0 +1,10 @@ +--- +Author: +Tags: +Language: +--- + +# @@title + +## @@desc + diff --git a/update.sh b/update.sh new file mode 100755 index 0000000..bff70fe --- /dev/null +++ b/update.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +#cp INDEX_template.md INDEX.md +rm INDEX.md + +for i in *.md +do + filename_wo_ext=$(echo "$i" | cut -f 1 -d '.') + if [ $filename_wo_ext != "template" ] && [ $filename_wo_ext != "INDEX_template" ] + then + pandoc $i -s --highlight-style pygments --css=style.css --self-contained -t html5 -o $filename_wo_ext.html + + if [ $filename_wo_ext != "INDEX" ] + then + echo "[$filename_wo_ext]($filename_wo_ext.html) " >> INDEX.md + fi + + fi +done + +#ln -s INDEX.html index.html +ln -s README.html index.html -- cgit v1.2.2-1-g5e49