Reporting & DocumentationEnglish

Create a Report from Mesh

Create a Report from Mesh lets you pick a published Mesh and turn all of its measurements into a ready-to-share report (Excel .xlsx or PowerPoint .pptx).

Updated 2026-07-29User manual

Create a Report from Mesh - User Manual

Dragonfly Prototype Apps · Create a Report from Mesh...

Version 1.0 · 2026-07-29


English Manual

Contents

1. Introduction

2. How the two measurement families differ (read this first)

3. What the report contains

4. How to use it

5. How it works (technical path)

6. Share on the web (publish + link + QR code)

7. Share Report tab - a temporary link that dies with the window

8. Requirements

1. Introduction

Create a Report from Mesh lets you pick a published Mesh and turn all of its measurements into a ready-to-share report (Excel .xlsx or PowerPoint .pptx).

Key point: mesh measurements come in two families and this report keeps them strictly apart, because a single number means something entirely different in each — pooling them would be plain wrong. See the next section.

There is also a new option: tick "Add animated GIF for each measurement" and the plugin captures the 3D rendering from 8 different angles (count adjustable) around the mesh and combines the frames into one looping animated GIF placed in the report.

This feature is provided by a third party (Prototype Labs / Prototype Apps), not officially developed or supported by Dragonfly. Use at your own risk.

2. How the two measurement families differ (read this first)

Vertex-based

Label-based

One value represents

one mesh vertex

one label (one segmented sub-object)

Nature of the data

a continuous field sampled over the surface

one number per object, across a population

Sample count N

= vertex count (often hundreds of thousands)

= label count (a few to a few thousand)

Typical examples

local thickness, mean curvature, distance to something

volume, surface area or equivalent diameter per particle

What the statistics mean

the distribution of values over the surface

the distribution across that population of objects

Where it lands in the report

sheets/slides prefixed Vertex-

sheets/slides prefixed Label-, plus a per-label value listing

For example: a vertex-based mean thickness of 12 µm says "averaged over the surface, the material is 12 µm thick"; a label-based mean volume of 6 mm³ says "these particles average 6 mm³ each". The two cannot be compared or combined, so the overview places them in two separate blocks (xlsx) / on two separate slides (pptx) and every N is labelled as either a vertex count or a label count.

If the Mesh also carries face-based scalar slots, the report states how many but does not analyse them (face data is rarely used directly for measurement reporting in Dragonfly).

3. What the report contains

Part

Content

Overview

The mesh's vertex and label counts, then two separate blocks (vertex-based / label-based), each a table with one row per measurement: mean, median, min, max, std, unit and sample count N — plus a short note stating how the families differ. A family with no data is explicitly reported as "(none on this mesh)".

One page per measurement

A worksheet in xlsx, a slide in pptx; every sheet name / slide title is prefixed Vertex- or Label-

1. Histogram

The distribution of that measurement (axis carries the unit, the title states which family it belongs to)

2. 3D screenshot

A 3D rendering showing only this Mesh, coloured by that measurement

3. Animated GIF (optional)

8 rotated views of the same measurement combined into a looping GIF. pptx embeds the GIF itself (PowerPoint animates it in slideshow mode); xlsx shows its first frame and states the GIF filename (both the GIF and the stills stay in the output folder).

4. Per-label values (label-based only)

The complete list of label names and their values

4. How to use it

1. Make sure the target Mesh already carries measurements (compute them first with e.g. Compute Vertex Measurements / Compute Overall Measurements; the list tells you when a mesh has none).

2. Open Prototype Apps ▸ Create a Report from Mesh… from the menu.

3. Pick a published Mesh from the drop-down (the brackets show its vertex count, label count and how many vertex-based / label-based measurements it has); press "↻ Refresh" if you just created it.

4. Choose the output format (Excel or PowerPoint) and whether to include 3D screenshots.

5. For the rotating animation, tick "Add animated GIF for each measurement (3D rotation)" and adjust the number of angles (default 8) and the per-frame delay (default 250 ms) if you want.

6. Set the output folder and press "Generate report". The output folder opens automatically when it finishes.

More angles and more measurements mean more capture time, since every angle is a separate render. 8 angles is a good clarity/time compromise; for a quick result leave the GIF unticked and keep just the single 3D screenshot.

5. How it works (technical path)

Reading measurements: the vertex scalar slots and the label scalar slots are walked separately (get<Vertex|Label>ScalarValuesSlotCount / …ScalarValues / …ScalarValueDescription / …ScalarValueDimensionUnit), and the label name list is read too, so every label-based value can be attributed to a named label. On 2027.1 the first label slot is the label-ID column, not a measurement (Dragonfly's own panels skip it), so it is not reported.

Statistics and histograms: numpy computes mean/median/min/max/std ignoring NaN; matplotlib's object-oriented Agg interface renders the histogram PNGs (never pyplot, to avoid fighting over global state inside the Dragonfly process).

3D screenshots: the current 3D view (or, from a 2D view, the first 3D view of its layout) is maximised for the capture - reversibly, the layout itself is never replaced. Volumes, ROIs, Multi-ROIs, meshes, graphs, rulers, boxes and planes are temporarily hidden so only this Mesh shows (annotations such as labels, arrows and points are left as they are). The mesh is coloured by each measurement in turn, and the colouring is read back: a measurement this Dragonfly build cannot colour by gets no screenshot rather than a picture of another measurement. ReportHelper.captureSnapshot takes the picture. Every object's 2D and 3D visibility, every view's camera and slab thickness, the mesh's colouring and the maximised view are recorded first and put back afterwards - also when a capture fails half way. When the layout has no 3D view the report asks before it starts, and then contains no screenshots; the statistics and histograms are still produced.

Animated GIF: starting from the 3D view's current camera, N equally spaced camera poses are generated around the vertical axis with Camera.getRotatedAroundAxis, one frame is captured per pose, and Pillow writes the sequence as a loop=0 GIF (frames are scaled down past a width cap so the pptx stays reasonably small).

Writing the files: xlsx via openpyxl (overview table plus one worksheet per measurement with the images embedded); pptx via python-pptx (title slide, one overview slide per family, one slide per measurement, with the GIF embedded as a real .gif so the animation survives).

Threading: reading objects and capturing 3D views must happen on the UI thread (a Dragonfly requirement); the statistics, histograms, GIF assembly and file writing then run on a worker thread, so the UI never freezes.

After a report is generated, the Share the report on the web group can turn the same report into one self-contained HTML file (every image and rotation GIF embedded) and upload it to free static hosting. The panel then shows the URL, copies it to the clipboard on one click, and shows a QR code so a phone can open it.

Three visibility levels - understand the difference first

Level

Mechanism

Who can see it

Public

a readable, fixed path; indexing allowed

anyone; the link may show up in search results

Unlisted (default)

a 22-character unguessable path + noindex,nofollow

only people with the link. This is not authentication - once forwarded, the link cannot be recalled

Password protected

the report body is AES-256-GCM encrypted and decrypted in the browser via WebCrypto

anyone who has the link AND the password. The host, and anyone who finds the URL, holds ciphertext only

Free hosting generally does NOT offer real authentication (GitHub Pages for a private repository needs Pro/Team; password protection on Netlify/Vercel is a paid feature). Password mode is therefore the only way to get real confidentiality on a free tier. The password is NEVER stored anywhere - send it through a different channel than the link.

How to use it

1. Generate the report as usual first (the share group stays disabled until a report exists).

2. Pick the host: GitHub Pages / Netlify / Gitee Pages.

3. Fill in that host's account fields (repository, token, ...). They are remembered for next time.

4. Choose the visibility; for password mode, type the password to use this time.

5. Press "Publish to the web". A confirmation dialog lists the filename, size, host, path and visibility - check it before confirming.

6. Copy the URL, or let the other person scan the QR code. The QR image is also saved next to the report (report_qr.png) so you can drop it into a slide.

7. Press "Take it down" when you no longer want it shared; the published file is deleted from the host.

Token safety (important)

The token is stored in PLAIN TEXT in the settings file under %LOCALAPPDATA%\DragonflyPrototypeLabs\settings\. So use a fine-grained PAT scoped to ONE dedicated repository with Contents and Pages write access; do not use a classic repo token, which can rewrite every repository the account owns. Also remember that uploading a report publishes the image data inside it to a third-party server.

Per-host notes: GitHub Pages on a free account needs a PUBLIC repository and takes 10-60 s to build after each publish, so a brief 404 right after publishing is normal. Netlify is live in seconds and its random subdomain is already hard to guess. Gitee Pages is fast inside China but does NOT rebuild automatically on the free tier - after uploading you must click 更新 once on the repository's Pages page, and Gitee requires real-name verification before Pages works at all.

Every publish is recorded in %LOCALAPPDATA%\DragonflyPrototypeLabs\published_reports.json (time, host, URL, visibility, size) so you can see what of yours is online.

The second tab, Share Report, is the opposite of the section above: no account, no upload, and no lasting trace. It opens a Cloudflare quick tunnel - one OUTBOUND connection from this machine, so no firewall rule and no inbound access are needed - and Cloudflare hands back a random public address such as https://green-pond-fox-tree.trycloudflare.com. The report is served from THIS computer while the window stays open. Close the window and the address stops working permanently: Cloudflare never reissues it.

Which of the two sharing routes to use

Share the report on the web (first tab)

Share Report (this tab)

Lifetime

until you take it down

only while this window is open

Needs an account

yes (GitHub / Netlify / Gitee)

no

Report is uploaded

yes, to a third-party server

no - served from this machine

Confidentiality

unlisted path, or a real password (AES-256-GCM)

none: anyone with the link can read it

Reliability

a normal hosting service

a Cloudflare TEST facility: rate-limited, no availability promise

Use it for

delivering results to a customer

letting somebody outside look at this for the next ten minutes

There is deliberately NO password on this route. While sharing, anyone who has the link can read the report, and a link can be forwarded or logged. The protection is that the window closes. Because of that, this tab must not be used as a delivery channel for customer results - use the first tab for that.

How to use it

1. Generate the report on the first tab (the Start button stays disabled until a report exists, and is disabled again while a new report is being generated).

2. Switch to Share Report and press "Start sharing".

3. The first time only, it offers to download Cloudflare's cloudflared.exe (about 52 MB) and says where from. It is saved once per user under %LOCALAPPDATA%\DragonflyPrototypeLabs\cloudflared and reused afterwards.

4. A confirmation dialog states the file, its size, that there is no password, and what ends the share. Read it: the report contains your image data.

5. Wait. The status goes "Address issued - waiting for it to start answering. Do not send it yet." Nothing is offered for copying during this stage on purpose.

6. Once the status turns green, use "Copy link", or let the other person scan the QR code (also saved next to the report as share_qr.png).

7. "Preview locally" opens the same page from this machine in your own browser - it is byte for byte what the recipient sees, served by the same server.

8. "Opened N times; last at ..." counts real reads of the page, so you can tell whether the other person actually looked.

9. Press "Stop sharing" when done - or simply close the window, or quit Dragonfly.

The three outcomes, and why there are three

Status

What it means

What to do

Live (green)

the public address was fetched from this machine and served our own page, so it is definitely routable

send the link

Could not confirm (amber)

the tunnel is open, but this machine could not reach the address within 2 minutes - usually its DNS name has not started resolving here yet, or Cloudflare rate-limited a repeated quick tunnel

the link is still offered: the recipient's DNS is not this one, so send it and ask, or stop and try again

Sharing failed (red)

cloudflared never reported an address at all - normally no outbound internet access, or a proxy blocking it

check outbound access from this machine; the log has cloudflared's own output

MEASURED on 2026-08-07 from this network, and the reason the amber state exists: of three consecutive quick tunnels, ONE became reachable (after 45 seconds) and two never resolved at all. The address is issued about 40 seconds before it starts working, so a tab that handed it over immediately would have you send a link that answers 404 - which is why this one waits, and says which of the three cases it is in rather than claiming success or failure it cannot prove.

What is exposed, and what is not

Only the one report page is served, from memory - never a directory, and never a file path a request could influence. noindex is sent both as a header and as a meta tag, and robots.txt disallows everything, so a crawler that stumbles on the address does not carry the report into a search index that would outlive the share. Anything that could write (POST, PUT, DELETE) is refused. The served page carries a bilingual banner telling the reader the link is temporary.

If Dragonfly is killed without closing the share, the tunnel process can outlive it and keep the address registered. Every tunnel is therefore recorded, and the tab sweeps leftovers from a previous session when it opens - so "closing the window kills the link" also holds after a crash.

8. Requirements

No venv, GPU or admin rights — pure in-process. xlsx, histograms and GIFs use Dragonfly's own openpyxl, matplotlib and Pillow respectively; choosing pptx downloads python-pptx once on first use (offline afterwards). 3D screenshots and GIFs need a real 3D view; with no usable view the captures are skipped and the statistics and histograms are still produced.

You’ve reached the end of this manual.Explore the library →

PROTOTYPE APPS

Manual assistant

Find an app, understand a parameter, or follow a workflow. Answers include links to the manuals.

Questions and answers are saved long-term to your account. You and site administrators can view them; they may be reviewed to improve the product. Do not submit passwords or confidential data.

All models share a daily allowance. Larger models use more. Chat pauses at the daily protection limit; manual search remains available.

Search the manuals

Cloudflare AI receives your question, recent conversation and relevant public manual excerpts. Records are stored privately in Cloudflare R2 without automatic expiry. Check the cited manual before acting on an answer.