Robbbb / VectorRuler

A Javascript-based generator of laser cutter friendly etchable rulers
MIT License
92 stars 65 forks source link

[FEATURE REQUEST] Port entire generator to Maker.JS #26

Open Robbbb opened 3 years ago

Robbbb commented 3 years ago

When I started this project, Paper.JS was the only tool I found capable of creating vector graphics in the browser and exporting SVG files. It had many issues, such as using pixels with a squish definition as the SVG unit.

Yesterday, i found the very powerful Maker.js tool set and it solves most of our issues automatically.

Is someone able to port this? It may be trivial for someone with significant JS skills, as very little of the Ruler Generator code is specific to Paper.JS as far as I know.

They have an interactive tool, and I started to play with it and got this far before getting overwhelmed by not knowing how to use Javascript. Interactive playground (Paste the below gist in for an idea of what our UI might look like)

Gist of a very incomplete gesture of what it may look like

Robbbb commented 1 month ago

@riverwind0 if you are feeling ambitious this could make the tool much cleaner and fit the entire ruler on the screen! Check out this cool example: https://maker.js.org/playground/?script=makerjs-nameplate It even allows for export of STL files for printing!

riverwind0 commented 1 month ago

Ohhhh, looks very nice! :) I will test it when I've some time. Thanks for the info!!! ;)