cnceye


Namecnceye JSON
Version 0.5.1 PyPI version JSON
download
home_pagehttps://github.com/OpenCMM/cnceye
SummaryCMM python library
upload_time2024-01-08 02:37:57
maintainer
docs_urlNone
authoryuichiroaoki
requires_python>=3.11,<3.13
licenseMIT
keywords cnc cmm milling gcode
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # cnceye
![Test](https://github.com/OpenCMM/cnceye/actions/workflows/ci.yml/badge.svg)

cnceye analyzes 3D models from a stl file and find measuring lines and curves.

![a laser triagulation sensor](https://opencmm.xyz/assets/images/sensor-55b7cf98350f293eba2c2b9d593bdd4f.png)

## Installation
```bash
pip install cnceye
```

## Usage

```python
from cnceye import Shape

shape = Shape("tests/fixtures/stl/sample.stl")
lines, arcs = shape.get_lines_and_arcs()
```

## Simulation with Blender
Create test data

Prerequisites 
- Blender 3.6.1 or later

```bash
blender "blender/measure.blend" --background --python scripts/demo.py -- tests/fixtures/gcode/edge.gcode
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/OpenCMM/cnceye",
    "name": "cnceye",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<3.13",
    "maintainer_email": "",
    "keywords": "cnc,cmm,milling,gcode",
    "author": "yuichiroaoki",
    "author_email": "45054071+yuichiroaoki@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/17/79/e9fc6cffa8a14c9875e8c5d07bfe7bff6bba951865b96e143ca986774d72/cnceye-0.5.1.tar.gz",
    "platform": null,
    "description": "# cnceye\n![Test](https://github.com/OpenCMM/cnceye/actions/workflows/ci.yml/badge.svg)\n\ncnceye analyzes 3D models from a stl file and find measuring lines and curves.\n\n![a laser triagulation sensor](https://opencmm.xyz/assets/images/sensor-55b7cf98350f293eba2c2b9d593bdd4f.png)\n\n## Installation\n```bash\npip install cnceye\n```\n\n## Usage\n\n```python\nfrom cnceye import Shape\n\nshape = Shape(\"tests/fixtures/stl/sample.stl\")\nlines, arcs = shape.get_lines_and_arcs()\n```\n\n## Simulation with Blender\nCreate test data\n\nPrerequisites \n- Blender 3.6.1 or later\n\n```bash\nblender \"blender/measure.blend\" --background --python scripts/demo.py -- tests/fixtures/gcode/edge.gcode\n```",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "CMM python library",
    "version": "0.5.1",
    "project_urls": {
        "Homepage": "https://github.com/OpenCMM/cnceye",
        "Repository": "https://github.com/OpenCMM/cnceye"
    },
    "split_keywords": [
        "cnc",
        "cmm",
        "milling",
        "gcode"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "31b72c3edb550f08f6004dcca3c31bb62f33b7a7988e9cb33dcddbe0e94b2baa",
                "md5": "eddda862c685648b5b6052555abcd97d",
                "sha256": "a9d62c5c2fba0b13d05f9d02471f14bbc7ee90b67ed751c74633ea94929c4524"
            },
            "downloads": -1,
            "filename": "cnceye-0.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eddda862c685648b5b6052555abcd97d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<3.13",
            "size": 6528,
            "upload_time": "2024-01-08T02:37:55",
            "upload_time_iso_8601": "2024-01-08T02:37:55.958822Z",
            "url": "https://files.pythonhosted.org/packages/31/b7/2c3edb550f08f6004dcca3c31bb62f33b7a7988e9cb33dcddbe0e94b2baa/cnceye-0.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1779e9fc6cffa8a14c9875e8c5d07bfe7bff6bba951865b96e143ca986774d72",
                "md5": "3b9fe8243ffc6dddcd06bc621a76ae58",
                "sha256": "88b28c2e5698219e431536147e691a99658a5ed6eaafa100acf1bbc48396a265"
            },
            "downloads": -1,
            "filename": "cnceye-0.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3b9fe8243ffc6dddcd06bc621a76ae58",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<3.13",
            "size": 5826,
            "upload_time": "2024-01-08T02:37:57",
            "upload_time_iso_8601": "2024-01-08T02:37:57.687914Z",
            "url": "https://files.pythonhosted.org/packages/17/79/e9fc6cffa8a14c9875e8c5d07bfe7bff6bba951865b96e143ca986774d72/cnceye-0.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-08 02:37:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "OpenCMM",
    "github_project": "cnceye",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "cnceye"
}
        
Elapsed time: 0.16633s