WebxCT / WebCT

Interactive Web UI for X-ray CT with Real-time Results
https://webct.io
8 stars 0 forks source link

feat: :sparkles: Material Library (#1) #26

Closed WYVERN2742 closed 2 years ago

WYVERN2742 commented 2 years ago

Finish implementing a simple material library for selecting and managing model material properties. (See #1)

Current bugs:

WYVERN2742 commented 2 years ago

Added mixture support, not that happy with the UI but it's usable: image

Adding a new element to the mixture autofills the percentage box of the new element, making it easy to create mixtures. firefox_9eJXsqpVzy

On the technical side; the values sent back to the server are currently as strings rather than numbers due to issues with JS floating point arithmetic.

WYVERN2742 commented 2 years ago

Unfortunately due to the refactor, this is taking longer than expected

WYVERN2742 commented 2 years ago

Now able to delete materials, categories are automatically cleaned up when all child materials are deleted. Files server-side are also replicated correctly.