MaibornWolff / codecharta

CodeCharta visualizes multiple code metrics using 3D tree maps.
https://maibornwolff.github.io/codecharta/
BSD 3-Clause "New" or "Revised" License
189 stars 29 forks source link

Implement 3MF export for multi-color 3D printing of maps (supercedes #3616) #3630

Closed olexs closed 1 month ago

olexs commented 4 months ago

this PR is a copy of #3616 from a local branch instead of fork

Implement 3MF export for multi-color 3D printing of maps

Description

This PR implements a 3MF export in addition to the already existing STL export. This allows to print CodeCharta maps on multi-material printers like the BambuLabs machines or the Prusa XL in multiple colors.

Additionally, the printed map now includes a MW logo, a custom text line, an optional project logo, and a reverse side with a legend of included metrics and their values.

Definition of Done

A PR is only ready for merge once all the following acceptance criteria are fulfilled:

Screenshots

Screenshot 2024-05-14 at 17 17 58

IMG_0331 IMG_0325

olexs commented 4 months ago

wat? warum closed?

BridgeAR commented 4 months ago

My guess is it was by accident

BridgeAR commented 4 months ago

The branch has a couple of conflicts at the moment that would have to be resolved, though. The overall size is also difficult to review everything.

phanlezz commented 3 months ago

We decided to not fix the issue with the layer height in the folders, because usually the slicer can do it better.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed for 'CodeCharta Visualization'

Issues
12 New issues
0 Accepted issues

Measures
0 Security Hotspots
93.1% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed for 'CodeCharta Analysis'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud