Hop file writer and reader
Project description
nc-hops
Abstract
nc-hops is a Python package designed to facilitate the creation, reading, and manipulation of .hop files, which are primarily used with Hops, a Computer-Aided Manufacturing (CAM) software for CNC machines. The package enables users to seamlessly load, edit, and write .hop files while preserving all relevant content, ensuring compatibility with different CNC machines.
Any unfamiliar content encountered within .hop files is gracefully ignored but retained for future modifications, enabling robust handling of files generated by various software applications.
Quick-Info
-
nc-hopsis a Python package for creating, reading, modifying, and writing.hopfiles. -
License: MIT License
-
Intended Audience: Programmers, CNC Machine Operators, and CAM Software Users
-
Python Compatibility: Requires at least Python 3.6
-
OS Compatibility: OS Independent
-
Dependencies:
- Pillow
- numpy
- setuptools
- smbprotocol
- chardet
-
Current Capabilities:
- Reading and extracting elements from
.hopfiles. - Writing
.hopfiles with support for Milling, Drilling, Machine, and Nesting operations.
- Reading and extracting elements from
-
Supported
.hopContent: Supports read/write operations for most known versions of.hopfiles.
Installation
To install the nc-hops package, run the following command:
python -m pip install nc-hops
For advanced usage or development, you can clone it from the repository and use the command:
python -m pip install .
Usage
Reading .hop Files
Extract various elements such as variables, comments, and processing details from .hop files using the ReadHop module.
Writing .hop Files
Utilize the WriteHop module to create .hop files with support for:
- Milling Operations: Create and customize milling operations.
- Drilling Operations: Define drilling operations with precise parameters.
- Machine Setup: Configure machine-specific settings.
- Nesting Operations: Optimize material usage through nesting.
Examples
For more detailed examples of how to use nc-hops for reading and writing .hop files, please refer to the example scripts available in the repository.
Project Status
Ongoing - Actively developed
Contributors
- Nikola Brajic - nikolabrajic@proton.me
- Igor Pekovic - igor.pekovic95@gmail.com
- Aleksa Marceta - aleksa.marceta@gmail.com
Feedback and Contribution
Questions and feedback can be directed to the project's contributors via their email addresses. Contributions are welcome; please fork the repository and submit a pull request with your improvements.
License
This project is licensed under the MIT License.
Contact
For questions, feature requests, or bug reports, please contact:
- Nikola Brajic - nikolabrajic@proton.me
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 nc_hops-0.2.6.tar.gz.
File metadata
- Download URL: nc_hops-0.2.6.tar.gz
- Upload date:
- Size: 27.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59302a6157c6ab1c49c154193825e3dde2d65ba165531ba3320631c125cdde24
|
|
| MD5 |
163e3b21ee3d4a45e2fad1913472bbfa
|
|
| BLAKE2b-256 |
682ed79bf1a8996c2da2b087a9b6c55e19c4796dcfef95428fe5af33f9090667
|
File details
Details for the file nc_hops-0.2.6-py3-none-any.whl.
File metadata
- Download URL: nc_hops-0.2.6-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fd80d7ae437fa8dc6c34a34519892dedaa9d6a8e47e5eafeb9c55bff281c379
|
|
| MD5 |
f5af17c191e0128abdf75953dba7bd87
|
|
| BLAKE2b-256 |
4e498aae10fbef3b94a840f72d13dc3c0ffe0eedb21a3b15c5bce13161883259
|