compas-dev / compas

Core packages of the COMPAS framework.
https://compas.dev/compas/
MIT License
314 stars 108 forks source link

Result of meshes_join does not maintain face (vertex/edge) attributes #353

Open worbit opened 5 years ago

worbit commented 5 years ago

Feature Request

As a designer, I want different faces in a compas mesh to have different attributes (e.g. based on function or material or...) so that e.g. further subdivision can be dependant on this attribute.

Details

Is your feature request related to a problem? Please describe. The current implementation of meshes_join (here) completely disregards any attributes.

Describe the solution you'd like Where the faces get added to the new mesh, not only take into account vertex keys but also eventual existing attributes.

Describe alternatives you've considered Alternative (if it is just for e.g. rendering), individual meshes can be exported and assembled again in the rendering software.

jf--- commented 7 months ago

@tomvanmele this is not a bad idea, but its old. The idea of interpolating scalar values on topological changes makes a lot of sense though.

tomvanmele commented 7 months ago

we have tried, but failed to find a consistent and meaningful mechanism for this. keeping it open as a reminder, because we may have an epiphany about this at some point...