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.7.0.tar.gz
(30.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file laser_offset-0.7.0.tar.gz.
File metadata
- Download URL: laser_offset-0.7.0.tar.gz
- Upload date:
- Size: 30.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4665c140b69a937c99a9fd2728a6cf227391d26a97c60d529e847e86fd86e210
|
|
| MD5 |
e76a06c6b310eb65e8450f504b2a95ef
|
|
| BLAKE2b-256 |
aadb748777e0d12de36043f90df6f5678830d928f49ea8e44509770936045437
|
File details
Details for the file laser_offset-0.7.0-py3-none-any.whl.
File metadata
- Download URL: laser_offset-0.7.0-py3-none-any.whl
- Upload date:
- Size: 41.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10f55d675747dc1b54be34b7b2623cdb130bee58b4a88ac23ccd2b7704409542
|
|
| MD5 |
43b16781ecd74833507aee2df444a806
|
|
| BLAKE2b-256 |
93d891e56b60ea34bb2e6760c0a9b854e0a9212492b88a9182c05e1dc5252e13
|