archaea


Namearchaea JSON
Version 1.1.28 PyPI version JSON
download
home_pagehttps://github.com/archaeans/archaea
SummaryPlayground for geometry.
upload_time2023-10-31 21:11:27
maintainer
docs_urlNone
authorOğuzhan Koral
requires_python>=3.10,<4.0
licenseApache-2.0
keywords geometry mesh stl triangulation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Archaea

Archaea is a base geometric library that includes basic geometric objects
to create meshes and triangulated exports of meshes.

Motivation of creating this library is started with master thesis, departments of Computational
Science and Engineering and Architecture at Istanbul Technical University. 
Aim of thesis is to create geometric definitions for different environmental
solvers like EnergyPlus and OpenFOAM to run them parallely on Linux environment.

Archaea is a geometrical playground for now, most important functionality of library
is executing earcut algorithm on 3D coordinate system by plane (u, v) transformations.
Shortly library can create triangulations with holes on 3D.


## Supported Objects

- CoordinateArray: Base object for vectoral operations on Vector and Point objects.
- Vector, Vector2d, Vector3d: Vector operations like Dot and Cross Product, also
serves transformations of other geometrical objects.
- Point, Point2d, Point3d: Position object to construct other geometric objects
like LineSegment, Polyline, Mesh..
- LineSegment: Construct with start and end point.
- Polyline: List of consecutive LineSegments
- Loop: Closed polyline definition.
- Face: Face is a loop definition that might have holes with inner loops.
- Mesh: Polygon and vertex list definition for exporting.


## Supported Operations

- Move: Objects can be moved by creating copy of source object.
- Reverse: LineSegment, Polyline, Loop and Face can be reversed.
- Offset: Loops and Faces can be offseted.
- Extrude: Faces can be extruded that creates list of Faces. Holes also covered.

## Setup Local Environment

### Setup for virtual environment

```bash
git clone git@github.com:archaeans/archaea.git

mkdir venv

sudo apt install python3.10-venv

python3 -m venv $HOME/..path../archaea/venv

source ./venv/bin/activate

python3 setup.py install

```

!!! NOTE
    if `python3 setup.py install` doesn't install dependencies, try to install them separately like `pip3 install numpy-stl`

### Setup VS Code

1. Ctrl + Shift + P

2. Python: Select Interpreter

3. Enter Interpreter Path

4. Find python in virtual environment /venv/bin/python
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/archaeans/archaea",
    "name": "archaea",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "geometry,mesh,stl,triangulation",
    "author": "O\u011fuzhan Koral",
    "author_email": "oguzhankoral@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0b/3b/25edfb8bf5a8d52a3d515837d46beb8353ca87dba8b0a4260e36114ec521/archaea-1.1.28.tar.gz",
    "platform": null,
    "description": "# Archaea\n\nArchaea is a base geometric library that includes basic geometric objects\nto create meshes and triangulated exports of meshes.\n\nMotivation of creating this library is started with master thesis, departments of Computational\nScience and Engineering and Architecture at Istanbul Technical University. \nAim of thesis is to create geometric definitions for different environmental\nsolvers like EnergyPlus and OpenFOAM to run them parallely on Linux environment.\n\nArchaea is a geometrical playground for now, most important functionality of library\nis executing earcut algorithm on 3D coordinate system by plane (u, v) transformations.\nShortly library can create triangulations with holes on 3D.\n\n\n## Supported Objects\n\n- CoordinateArray: Base object for vectoral operations on Vector and Point objects.\n- Vector, Vector2d, Vector3d: Vector operations like Dot and Cross Product, also\nserves transformations of other geometrical objects.\n- Point, Point2d, Point3d: Position object to construct other geometric objects\nlike LineSegment, Polyline, Mesh..\n- LineSegment: Construct with start and end point.\n- Polyline: List of consecutive LineSegments\n- Loop: Closed polyline definition.\n- Face: Face is a loop definition that might have holes with inner loops.\n- Mesh: Polygon and vertex list definition for exporting.\n\n\n## Supported Operations\n\n- Move: Objects can be moved by creating copy of source object.\n- Reverse: LineSegment, Polyline, Loop and Face can be reversed.\n- Offset: Loops and Faces can be offseted.\n- Extrude: Faces can be extruded that creates list of Faces. Holes also covered.\n\n## Setup Local Environment\n\n### Setup for virtual environment\n\n```bash\ngit clone git@github.com:archaeans/archaea.git\n\nmkdir venv\n\nsudo apt install python3.10-venv\n\npython3 -m venv $HOME/..path../archaea/venv\n\nsource ./venv/bin/activate\n\npython3 setup.py install\n\n```\n\n!!! NOTE\n    if `python3 setup.py install` doesn't install dependencies, try to install them separately like `pip3 install numpy-stl`\n\n### Setup VS Code\n\n1. Ctrl + Shift + P\n\n2. Python: Select Interpreter\n\n3. Enter Interpreter Path\n\n4. Find python in virtual environment /venv/bin/python",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Playground for geometry.",
    "version": "1.1.28",
    "project_urls": {
        "Homepage": "https://github.com/archaeans/archaea",
        "Repository": "https://github.com/archaeans/archaea"
    },
    "split_keywords": [
        "geometry",
        "mesh",
        "stl",
        "triangulation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7a924d4c8aff1687eb64e97cd6c9e94f2d308a3ae25bbf63f0d75bc45ec1bda4",
                "md5": "b06f297dafe51abd70b93f053bb407e8",
                "sha256": "fd927244fe87dd1c0d8fc6a7dd09ae3848d3bcbce64b9e85a3254da8fa820321"
            },
            "downloads": -1,
            "filename": "archaea-1.1.28-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b06f297dafe51abd70b93f053bb407e8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 38543,
            "upload_time": "2023-10-31T21:11:25",
            "upload_time_iso_8601": "2023-10-31T21:11:25.774435Z",
            "url": "https://files.pythonhosted.org/packages/7a/92/4d4c8aff1687eb64e97cd6c9e94f2d308a3ae25bbf63f0d75bc45ec1bda4/archaea-1.1.28-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0b3b25edfb8bf5a8d52a3d515837d46beb8353ca87dba8b0a4260e36114ec521",
                "md5": "81fad316aeba4dcd7b36f709ea0d003a",
                "sha256": "d4795cc60259ac3945164002b1600ff23a8433579afb7664039e642386f6c5f3"
            },
            "downloads": -1,
            "filename": "archaea-1.1.28.tar.gz",
            "has_sig": false,
            "md5_digest": "81fad316aeba4dcd7b36f709ea0d003a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 24336,
            "upload_time": "2023-10-31T21:11:27",
            "upload_time_iso_8601": "2023-10-31T21:11:27.578381Z",
            "url": "https://files.pythonhosted.org/packages/0b/3b/25edfb8bf5a8d52a3d515837d46beb8353ca87dba8b0a4260e36114ec521/archaea-1.1.28.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-31 21:11:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "archaeans",
    "github_project": "archaea",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "circle": true,
    "lcname": "archaea"
}
        
Elapsed time: 0.13752s