Skip to main content

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-hops is a Python package for creating, reading, modifying, and writing .hop files.

  • 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 .hop files.
    • Writing .hop files with support for Milling, Drilling, Machine, and Nesting operations.
  • Supported .hop Content: Supports read/write operations for most known versions of .hop files.

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

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:

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

nc_hops-0.2.5.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

nc_hops-0.2.5-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file nc_hops-0.2.5.tar.gz.

File metadata

  • Download URL: nc_hops-0.2.5.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for nc_hops-0.2.5.tar.gz
Algorithm Hash digest
SHA256 7afb07f17ce7263db2b86cb4cc3f6eaca5cc3a351e95ab57201ecc1b2078c0f8
MD5 147e45f1fa37e3b8df66b653077a42ab
BLAKE2b-256 801a352115c2dc07dfaba1c83340036e5e9a899fad18b61f878f8de6fc5e9d81

See more details on using hashes here.

File details

Details for the file nc_hops-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: nc_hops-0.2.5-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

Hashes for nc_hops-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c6809042506315a8648ebc0d7c50a30df08bc12fab70b98cc023d160b0ccd5f2
MD5 6b741c3a79fa27ecda446eb9952a881a
BLAKE2b-256 39937bda5831955847868b5883fe98b567d3967fd5e4fba2850a5dbe5c69b381

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page