Code Monkey home page Code Monkey logo

better-tool-library's Introduction

Better Tool Library (BTL)

Better Tool Library (BTL) is a FreeCAD addon (plugin) that replaces the built-in tool library for the Path workbench. It also provides a standalone tool if you want to use your library outside of FreeCAD.

Warning I advise you make a backup of your tool library. I guarantee for nothing, there may be bugs.

Feature Comparison

Feature Better Tool Library FreeCAD internal library
Modern UI X -
Provides a shape browser X -
Tool search X -
Powerful Feeds & Speeds calculator X -
Tool dimension sketch for built-in tools X -
Can be used standalone outside of FreeCAD X -
Provides built-in common shapes X -
Store tool notes and additional info X -
Auto-generates tool icons X -
Can be used with no document open X -
Provides CLI tool for import/export X -
Read BTL files X X
Write BTL files X Deletes BTL extra data!
Import from Camotics X -
Export to Camotics X X
Export to LinuxCNC X X

Screenshots

Library Editor Shape Browser Tool Editor Feeds & Speeds

Installation

Prerequisites

Better Tool Library (BTL) is compatible with FreeCAD 0.19 and 0.21.

Installation via the FreeCAD addon manager

  • Open FreeCAD
  • Open the Addon Manager via Tools -> Addon manager
  • Search for Better Tool Library
  • Click it
  • Click Install

To run it, just open the Path workbench and there should be a new icon at the end of the toolbar:

Toolbar

Installation in standalone mode

To use via standalone, you will have to install BTL via setuptools.

pip install btl

Alternative installation for the development version:

git clone https://github.com/knipknap/better-tool-library.git

To run the UI, you need to point qbtl to your FreeCAD directories:

export PYTHONPATH=/usr/share/freecad/Ext/:/usr/lib/freecad/lib/
qbtl path/to/your/toollibrary/

CLI tool

Better Tool Library also comes with a CLI tool. After installation via setuptools (see above), you can use it as shown below.

Show the command line syntax

btl --help
btl -f camotics create --help

Print the whole library

btl fctooldir/ show all

(default for -f is freecad, so it can be omitted in that case)

Adding a tool to an existing library

btl fctooldir/ create tool endmill

Converting from FreeCAD to Camotics tool table

btl fctooldir/ export -f camotics camoticstooldir/

Converting from FreeCAD to LinuxCNC tool table

btl fctooldir/ export -f linuxcnc linuxcnc.tbl

Converting from Camotics to FreeCAD tool table

btl -f camotics camtest/ export -f freecad fctooldir/

Links

better-tool-library's People

Contributors

knipknap 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.