Skip to content

Commit 9507251

Browse files
committed
Add examples, reports, PPTX tool and fix viewer log
Add example .bed cases and their JSON sidecars, packing reports, pure-bed sidecar JSONs and a full-3D STL companion; include many PPTX images and a new tools/tcc_pptx/build_deck.js script (with package.json) to generate the presentation. Also add terminal/web capture scripts, a frontend launch config (.claude/launch.json) and other auxiliary assets. Fix backend/app/api/routes_viewer.py to open the desktop viewer log in text-append mode ("a") with proper encoding to avoid binary write/encoding issues.
1 parent ae5f611 commit 9507251

47 files changed

Lines changed: 2593 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.0.1",
3+
"configurations": [
4+
{
5+
"name": "frontend",
6+
"runtimeExecutable": "npm",
7+
"runtimeArgs": ["--prefix", "frontend", "run", "dev"],
8+
"port": 5173
9+
}
10+
]
11+
}

_t6.bed_pure_packing_report.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"packing_method": "spherical_packing",
3+
"particle_type": "sphere",
4+
"particle_kind": "sphere",
5+
"n_particles_requested": 100,
6+
"n_particles_placed": 100,
7+
"n_spheres_requested": 100,
8+
"n_spheres_placed": 100,
9+
"porosity_estimate": 0.9593995024003015,
10+
"validation_ok": true,
11+
"collisions_checked": 185,
12+
"wall_violations": 0,
13+
"elapsed_sec": 0.002711700042709708,
14+
"warnings": [],
15+
"metadata": {
16+
"generation": {
17+
"n_placed": 100,
18+
"n_target": 100,
19+
"attempts": 185,
20+
"elapsed_sec": 0.002012499957345426,
21+
"acceptance_rate": 0.5405405405405406,
22+
"stopped_reason": "ok",
23+
"packing_random_seed": 42,
24+
"packing_seed_auto": false
25+
},
26+
"validation": {
27+
"ok": true,
28+
"n_spheres": 100,
29+
"pair_violations": 0,
30+
"domain_violations": 0,
31+
"messages": []
32+
},
33+
"collision_radius_equiv": 0.0025,
34+
"collision_model": "circumscribed_sphere"
35+
},
36+
"generated_at": "2026-06-07T16:53:42Z"
37+
}

_t6.bed_pure_pure_bed.json

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
{
2+
"shell_components": [
3+
"annulus_shell",
4+
"bottom_cap",
5+
"top_cap",
6+
"particles_in_annulus"
7+
],
8+
"boolean_operation_status": {
9+
"outer_shell": "explicit_annulus",
10+
"inner_core": "n/a",
11+
"particle_tools": "n/a",
12+
"backend": "python_engine",
13+
"warnings": [],
14+
"r_int": 0.023,
15+
"r_ext": 0.025
16+
},
17+
"internal_cylinder_mode": "hollow_boolean_applied",
18+
"visibility": {
19+
"show_outer_cylinder": true,
20+
"show_internal_cylinder": false,
21+
"show_particles": true,
22+
"show_boolean_tools": false,
23+
"export_boolean_tools": false
24+
},
25+
"n_particles": 100,
26+
"particle_kind": "sphere",
27+
"r_ext": 0.025,
28+
"r_int": 0.023,
29+
"height": 0.1,
30+
"packing_method": "spherical_packing",
31+
"particle_type": "sphere",
32+
"n_particles_requested": 100,
33+
"n_particles_placed": 100,
34+
"n_spheres_requested": 100,
35+
"n_spheres_placed": 100,
36+
"porosity_estimate": 0.9593995024003015,
37+
"validation_ok": true,
38+
"collisions_checked": 185,
39+
"wall_violations": 0,
40+
"elapsed_sec": 0.002711700042709708,
41+
"warnings": [],
42+
"metadata": {
43+
"generation": {
44+
"n_placed": 100,
45+
"n_target": 100,
46+
"attempts": 185,
47+
"elapsed_sec": 0.002012499957345426,
48+
"acceptance_rate": 0.5405405405405406,
49+
"stopped_reason": "ok",
50+
"packing_random_seed": 42,
51+
"packing_seed_auto": false
52+
},
53+
"validation": {
54+
"ok": true,
55+
"n_spheres": 100,
56+
"pair_violations": 0,
57+
"domain_violations": 0,
58+
"messages": []
59+
},
60+
"collision_radius_equiv": 0.0025,
61+
"collision_model": "circumscribed_sphere"
62+
},
63+
"validation": {
64+
"ok": true,
65+
"n_spheres": 100,
66+
"pair_violations": 0,
67+
"domain_violations": 0,
68+
"messages": []
69+
},
70+
"generation": {
71+
"n_placed": 100,
72+
"n_target": 100,
73+
"attempts": 185,
74+
"elapsed_sec": 0.002012499957345426,
75+
"acceptance_rate": 0.5405405405405406,
76+
"stopped_reason": "ok",
77+
"packing_random_seed": 42,
78+
"packing_seed_auto": false
79+
},
80+
"generation_wall_time_sec": 0.002711700042709708,
81+
"gap_convention": "center_distance >= r1+r2+gap",
82+
"particle_centers_preview": [
83+
[
84+
0.005437645139857467,
85+
-0.018524580546315988,
86+
0.029752638653220732
87+
],
88+
[
89+
-0.010794781212195913,
90+
0.009222377352396484,
91+
0.06590295386806201
92+
],
93+
[
94+
0.0017527177435254504,
95+
-0.010902815740412828,
96+
0.05803391154883178
97+
],
98+
[
99+
0.007727436404540846,
100+
-0.006230229855798316,
101+
0.01899315498306034
102+
],
103+
[
104+
0.017831309816064466,
105+
-0.0063728127406075565,
106+
0.013347125904213313
107+
],
108+
[
109+
0.01197800265770083,
110+
0.0089595396810589,
111+
0.05326052823092306
112+
],
113+
[
114+
0.018451514795195457,
115+
-0.004737159288874214,
116+
0.05468365681459043
117+
],
118+
[
119+
0.012846781905866796,
120+
0.004622270342205595,
121+
0.08255362102796995
122+
],
123+
[
124+
0.0030167336650137183,
125+
0.007978301612382017,
126+
0.009124194529009599
127+
],
128+
[
129+
-0.010611967249589672,
130+
-0.00821386941951782,
131+
0.012181277923126475
132+
],
133+
[
134+
-0.010421155431919822,
135+
-0.015560944253020565,
136+
0.03001762427990829
137+
],
138+
[
139+
0.005291693326311606,
140+
-0.0052715450201667145,
141+
0.03831628704051943
142+
]
143+
],
144+
"geometry_mode": "full_3d",
145+
"generation_backend": "python_engine",
146+
"representation_dimension": "3d",
147+
"bed_particle_layout": "boolean_holes",
148+
"modeling_profile": "python",
149+
"particles_seed": 42,
150+
"packing_report_path": "C:\\Users\\joxto\\Downloads\\BEDFLOW-ATLAS-TCC-2\\_t6.bed_pure_packing_report.json",
151+
"content_hash": "ddeed0d26b56099261ef1f2982cd128c7540c84a264899229d8d39f23d779c3d",
152+
"export_formats_files": [
153+
"_t6.bed_pure.obj"
154+
]
155+
}

_t8.bed_pure_full3d.stl

272 KB
Binary file not shown.

_t8.bed_pure_full3d_pure_bed.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"shell_components": [
3+
"annulus_shell",
4+
"bottom_cap",
5+
"top_cap",
6+
"particles_in_annulus"
7+
],
8+
"boolean_operation_status": {
9+
"outer_shell": "explicit_annulus",
10+
"inner_core": "n/a",
11+
"particle_tools": "n/a",
12+
"backend": "python_engine",
13+
"warnings": [],
14+
"r_int": 0.023,
15+
"r_ext": 0.025
16+
},
17+
"internal_cylinder_mode": "hollow_boolean_applied",
18+
"visibility": {
19+
"show_outer_cylinder": true,
20+
"show_internal_cylinder": false,
21+
"show_particles": true,
22+
"show_boolean_tools": false,
23+
"export_boolean_tools": false
24+
},
25+
"n_particles": 100,
26+
"particle_kind": "sphere",
27+
"r_ext": 0.025,
28+
"r_int": 0.023,
29+
"height": 0.1,
30+
"geometry_mode": "full_3d",
31+
"generation_backend": "python_engine",
32+
"role": "full_3d_companion",
33+
"companion_of": "_t8.bed_pure.stl",
34+
"note": "modelo 3d completo preservado para validacao do corte 2d",
35+
"porosity_packing_3d": 0.9593995024003015
36+
}

_t8.bed_pure_packing_report.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"packing_method": "spherical_packing",
3+
"particle_type": "sphere",
4+
"particle_kind": "sphere",
5+
"n_particles_requested": 100,
6+
"n_particles_placed": 100,
7+
"n_spheres_requested": 100,
8+
"n_spheres_placed": 100,
9+
"porosity_estimate": 0.9593995024003015,
10+
"validation_ok": true,
11+
"collisions_checked": 185,
12+
"wall_violations": 0,
13+
"elapsed_sec": 0.0033587999641895294,
14+
"warnings": [],
15+
"metadata": {
16+
"generation": {
17+
"n_placed": 100,
18+
"n_target": 100,
19+
"attempts": 185,
20+
"elapsed_sec": 0.0021271000150591135,
21+
"acceptance_rate": 0.5405405405405406,
22+
"stopped_reason": "ok",
23+
"packing_random_seed": 42,
24+
"packing_seed_auto": false
25+
},
26+
"validation": {
27+
"ok": true,
28+
"n_spheres": 100,
29+
"pair_violations": 0,
30+
"domain_violations": 0,
31+
"messages": []
32+
},
33+
"collision_radius_equiv": 0.0025,
34+
"collision_model": "circumscribed_sphere"
35+
},
36+
"generated_at": "2026-06-07T16:53:46Z"
37+
}

0 commit comments

Comments
 (0)