Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesh representation #6

Closed
ly29 opened this issue Jan 27, 2017 · 1 comment
Closed

Mesh representation #6

ly29 opened this issue Jan 27, 2017 · 1 comment

Comments

@ly29
Copy link
Contributor

ly29 commented Jan 27, 2017

To have two types SMesh and BMesh which are considered compatible and converted as needed by the system.
SMesh is an Sverchok representation of a mesh using flat numpy storage.

The two types would have the same socket representation but the mesh data would be converted as needed. Perhaps also allow overload for certain functions and have two functions to avoid conversion.

To the user and the nodes this would basically be invisible, the intelligence would be in the base system

A partial sample implementation of a mesh using np storage
https://github.com/nortikin/sverchok/blob/polygon_flat/utils/polygon.py

@ly29 ly29 mentioned this issue Jan 27, 2017
Closed
@ly29
Copy link
Contributor Author

ly29 commented Feb 1, 2017

So SvPolygon for flat storage of polygons. Backwards compatible to Sverchoks old format but new numpy storage which is similar to blenders loops.

@ly29 ly29 closed this as completed Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant