Metadata-Version: 2.1
Name: tk3d
Version: 0.0.1a0
Summary: 3D Modeling Toolkit
Home-page: https://github.com/dhchenx/tk3d
Author: Donghua Chen
Author-email: douglaschan@126.com
License: MIT
Project-URL: Bug Reports, https://github.com/dhchenx/tk3d/issues
Project-URL: Source, https://github.com/dhchenx/tk3d
Keywords: 3d modeling
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.6, <4
Description-Content-Type: text/markdown
Provides-Extra: dev
Provides-Extra: test
License-File: LICENSE

## 3D Modeling Toolkit
A toolkit integrating multiple 3D modeling libraries to support rapid use of 3d models

### Examples
#### Part 1: The use of `pywavefront`

First, determine an object file path: 
```python
    from tk3d.api.pywavfront import *
    object_filename="data/objects/Bulldozer.obj"
```
Example 1: get object keys from an object file
```python
    list_object_keys=get_object_keys(object_filename)
    print("List of object keys: ",list_object_keys)
```

Example 2:  show 3d object in window
```python
    show_object(object_filename,object_key="Object.1",xyz=(0,1,-2))
```

Example 3: show object in pyglet.window
```python
 show_object_window(obj_filename=object_filename,
                       list_obj_key=["Object.1","Object.2"],
                       list_position=[(0, 0, -1.5),(0, 0, -1.5)],
                       scale=0.01,
                       bgcolor=(0.5,0.5,0.5)
                       )
```

Example 4: show 3d object in rotation view
```python
    show_object_window_gl(obj_filename=object_filename)
```

### License

The `tk3d` toolkit is provided by [Donghua Chen](https://github.com/dhchenx) with MIT License.



