dimanche 13 novembre 2016

Continuous JUnit tests in Eclipse

If you want to run JUnit tests each time you save a file, you may install www.junitloop.org. You can install it from this Eclipse Update Manager URL: http://update.junitloop.org/release. After you will find the "Run in loop" option in JUnit view.

lundi 10 octobre 2016

Use SVG in OpenSCAD

How to import SVG file in OpenSCAD

First convert SVG to EPS

$ inkscape -E logo.eps logo.svg

After convert EPS to DXF. You can play with the value 48 to get more or less resolution.

$ pstoedit -dt -f dxf_s:-splineaspolyline\ -splineprecision\ 48\ -mm logo.eps logo.dxf

And in OpenSCAD

linear_extrude(height=10)
import("logo.dxf");



mardi 2 août 2016

OpenSCAD and Kate

OpenSCAD syntax highlighting in Kate

From https://www.thingiverse.com/thing:29505 download openscad.xml and put it in ~/.kde/share/apps/katepart/syntax directory.

OpenSCAD snippets in Kate

From https://www.thingiverse.com/thing:570634 download OpenSCAD.xml and put it in ~/.kde/share/apps/ktexteditor_snippets/data
To activate it:
  • Enable "Snippets tool view" in Kate settings
  • Enable "OpenSCAD" in Snipets tool view 

dimanche 31 juillet 2016

TowerPro MG90S servo sizes


Image below show missing sizes from original MG90S TowerPro size specification. The caliper used is pretty good but not highly precise. DXF image source was created with LibreCAD.

Update 20160830: All sizes and colored schema


A    32.5
B    22.8
C    28.4
D    12.4
E    32.1
F    18.5
G    2.2
H    11.9
I    2.3
J    5.6
K    4.8
L    14.7
M    4.1
N    4.65
O    2.8
P    5.9