Simple Tools that creates external and internal offsets for shapes. Supports DXF and SVG Import/Export.
Project description
Laser Offset
Simple Tools that creates external and internal offsets for shapes. Supports DXF and SVG Import/Export.
This project is in early alpha and was created as side-project for hobby.
Installing
Install and update using pip
_:
$ pip install -U laser_offset
Usage
Usage: laser_offset [OPTIONS] SOURCE_PATH TARGET_PATH LASER_WIDTH
Creates new drawings from DXFs with outer and inner offset lines by
LASER_WIDTH in μm(microns) ans save them into TARGET_PATH as SVG or DXF.
SOURCE_PATH is folder with DXFs for batch convertion
TARGET_PATH is folder for results
LASER_WIDTH is beam diameter in μm(microns) from 1 to 999
Options:
-s, --svg Output as SVG [default: (False)]
-d, --dxf / -D, --no-dxf Output as DXF [default: (True)]
--help Show this message and exit.
Example:
laser_offset . ./output -s 150
Limitations
- Can't handle arcs less that half of laser width
- Ignores layers, text, shape size and styles
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
laser_offset-0.5.2.tar.gz
(30.6 kB
view hashes)
Built Distribution
Close
Hashes for laser_offset-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42c304aa4ab573d628d0c847f04f1317ae378045d6299566b019a20146d9cd38 |
|
MD5 | 738a76a9c69384b988716efee0def1dc |
|
BLAKE2b-256 | 845e2124765f675097c9a88a0c22cd327d70e897d70be3c6e336dd56861e105a |