GithubHelp home page GithubHelp logo

ronaldbradford / vectorruler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robbbb/vectorruler

0.0 1.0 0.0 300 KB

A Javascript-based generator of laser cutter friendly etchable rulers

License: MIT License

JavaScript 98.42% CSS 0.63% HTML 0.95%

vectorruler's Introduction

VectorRuler

Screenshot Of applet

A Javascript-based generator of laser cutter friendly etchable rulers

Features

  • SVG Genrates fully vector based rulers ready for laser-etching, printing, plotting, or CAD applications
  • Similar lines are grouped as labeled SVG layers when opened in Adobe Illustrator or Inkscape.
  • Each line is labeled by its resolution and number as an SVG object
  • Code is well-commented and sylistically sound allowing for easy modifications and pull requests
  • Uses Paper.js for drawing and export
  • I referenced the excellent SVG export example here
  • The default font is not ideal for laser cutting, as it is not a true single-line font.
  • The text is editable as text, so it can easily be changed in Illustrator or Inkscape.

Viewing the very well organized document tree of an exported ruler in Illustrator:

  • Open the [Layers] Palette (Window > Layers)
  • click the [ ►Layer 1] arrow to view its children
  • There will be a group for each tick level (1"in, ½:"in, ¼"in, ⅛"in... or 1cm. 0.1cm, 0.01cm...)▼
  • All the labels can easily be changed in terms of size or font

Contributing

Pull requests, corrections, translations & fixes are welcome. Any contributions must be submitted under the same license as the original piece of work (see below). Take a look at any open issues or submit new ones if there is something that needs to be fixed or added.

Watch this video on how to contribute to open source for a complete overview -> https://www.youtube.com/watch?v=UWA4wyacY2A

License

Unless otherwise specified, everything in this repository is covered by the following licence:

Content is available under the MIT license.

vectorruler's People

Contributors

robbbb avatar darigovresearch avatar akx avatar jijisduty avatar priyanka010392 avatar ronaldbradford avatar l0b0 avatar beefeater7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.