sample int64 1 500 | stl_file stringlengths 18 20 | front_png stringlengths 18 20 | hole_fill float64 0 1 | holes_per_row float64 3 5 | inlet_ib_angle float64 40 60 | inlet_ib_tension float64 5 7 | inner_radius float64 100 130 | neck_ratio float64 0.05 0.5 | number_rows float64 101 199 | outer_radius float64 150 180 | hole_diameter float64 2 3.5 | hole_pitch float64 2.15 5.18 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | dataset/1_main.stl | dataset/1_main.png | 0.58 | 4 | 58.74 | 6.61 | 102.81 | 0.1 | 158 | 172.64 | 2.87 | 3.157 |
2 | dataset/2_main.stl | dataset/2_main.png | 0.49 | 3 | 40.35 | 6.63 | 110.94 | 0.21 | 104 | 163.19 | 2.735 | 3.30935 |
3 | dataset/3_main.stl | dataset/3_main.png | 0.79 | 3 | 52.36 | 5.66 | 108.53 | 0.11 | 132 | 165.95 | 3.185 | 3.53535 |
4 | dataset/4_main.stl | dataset/4_main.png | 0.07 | 4 | 52.57 | 6.09 | 125.77 | 0.18 | 106 | 162.77 | 2.105 | 2.4839 |
5 | dataset/5_main.stl | dataset/5_main.png | 0.01 | 3 | 57.76 | 5.77 | 108.27 | 0.41 | 121 | 177.48 | 2.015 | 2.84115 |
6 | dataset/6_main.stl | dataset/6_main.png | 0.64 | 4 | 43.33 | 6.65 | 124.48 | 0.18 | 156 | 168.27 | 2.96 | 3.4928 |
7 | dataset/7_main.stl | dataset/7_main.png | 0.75 | 3 | 52.42 | 6.96 | 104.79 | 0.2 | 169 | 175.94 | 3.079968 | 3.695962 |
8 | dataset/8_main.stl | dataset/8_main.png | 0.4 | 3 | 53.15 | 6.17 | 126.61 | 0.29 | 108 | 169.93 | 2.6 | 3.354 |
9 | dataset/9_main.stl | dataset/9_main.png | 0.97 | 4 | 54.65 | 5.8 | 124.89 | 0.16 | 126 | 159.3 | 3.455 | 4.0078 |
10 | dataset/10_main.stl | dataset/10_main.png | 0.46 | 4 | 58.16 | 6.77 | 124.26 | 0.16 | 122 | 176.17 | 2.69 | 3.1204 |
11 | dataset/11_main.stl | dataset/11_main.png | 0.12 | 3 | 40.5 | 6.49 | 128.25 | 0.43 | 113 | 155.15 | 2.18 | 3.1174 |
12 | dataset/12_main.stl | dataset/12_main.png | 0.53 | 3 | 53.49 | 5.13 | 127.72 | 0.15 | 158 | 170.94 | 2.795 | 3.21425 |
13 | dataset/13_main.stl | dataset/13_main.png | 0.59 | 4 | 43.72 | 6.37 | 109.67 | 0.36 | 161 | 175.15 | 2.885 | 3.9236 |
14 | dataset/14_main.stl | dataset/14_main.png | 0.05 | 4 | 45.38 | 6.84 | 127.91 | 0.44 | 103 | 168.42 | 2.075 | 2.988 |
15 | dataset/15_main.stl | dataset/15_main.png | 0.48 | 5 | 58.58 | 6.18 | 111.87 | 0.4 | 198 | 161.75 | 2.49697 | 3.495758 |
16 | dataset/16_main.stl | dataset/16_main.png | 0.57 | 5 | 50.49 | 5.91 | 111.29 | 0.06 | 138 | 158.72 | 2.855 | 3.0263 |
17 | dataset/17_main.stl | dataset/17_main.png | 0.81 | 3 | 52.7 | 6.87 | 116.79 | 0.08 | 145 | 174.65 | 3.215 | 3.4722 |
18 | dataset/18_main.stl | dataset/18_main.png | 0.46 | 5 | 48.44 | 6.85 | 116.23 | 0.15 | 156 | 166.02 | 2.69 | 3.0935 |
19 | dataset/19_main.stl | dataset/19_main.png | 0.51 | 4 | 54.69 | 6.46 | 117.29 | 0.15 | 114 | 162.61 | 2.765 | 3.17975 |
20 | dataset/20_main.stl | dataset/20_main.png | 0.56 | 5 | 45.81 | 5.6 | 105.7 | 0.43 | 186 | 160.29 | 2.549444 | 3.645706 |
21 | dataset/21_main.stl | dataset/21_main.png | 0.18 | 3 | 41.44 | 5.18 | 126.65 | 0.38 | 123 | 155.07 | 2.27 | 3.1326 |
22 | dataset/22_main.stl | dataset/22_main.png | 0.62 | 5 | 49.93 | 5 | 126.62 | 0.5 | 118 | 153.1 | 2.534381 | 3.801571 |
23 | dataset/23_main.stl | dataset/23_main.png | 0.56 | 3 | 44.32 | 6.51 | 125.95 | 0.36 | 102 | 153.65 | 2.84 | 3.8624 |
24 | dataset/24_main.stl | dataset/24_main.png | 0.53 | 3 | 53.02 | 6.7 | 126.05 | 0.32 | 103 | 177.76 | 2.795 | 3.6894 |
25 | dataset/25_main.stl | dataset/25_main.png | 0.69 | 3 | 50.52 | 5.08 | 112.16 | 0.39 | 159 | 166.77 | 3.035 | 4.21865 |
26 | dataset/26_main.stl | dataset/26_main.png | 0.62 | 3 | 56.68 | 6.47 | 104.07 | 0.35 | 115 | 152.07 | 2.93 | 3.9555 |
27 | dataset/27_main.stl | dataset/27_main.png | 0.31 | 3 | 47.7 | 6.58 | 100.48 | 0.37 | 132 | 174.91 | 2.465 | 3.37705 |
28 | dataset/28_main.stl | dataset/28_main.png | 0.51 | 3 | 55.5 | 5.49 | 126.55 | 0.05 | 170 | 161.08 | 2.765 | 2.90325 |
29 | dataset/29_main.stl | dataset/29_main.png | 0.16 | 4 | 40.78 | 6.26 | 122.59 | 0.08 | 134 | 152.65 | 2.24 | 2.4192 |
30 | dataset/30_main.stl | dataset/30_main.png | 0.32 | 5 | 50.28 | 5.36 | 129.79 | 0.08 | 147 | 164.33 | 2.48 | 2.6784 |
31 | dataset/31_main.stl | dataset/31_main.png | 0.23 | 3 | 52 | 6.58 | 107.48 | 0.47 | 107 | 170.89 | 2.345 | 3.44715 |
32 | dataset/32_main.stl | dataset/32_main.png | 0.2 | 3 | 50.03 | 6.1 | 128.84 | 0.17 | 142 | 154.92 | 2.3 | 2.691 |
33 | dataset/33_main.stl | dataset/33_main.png | 0.82 | 4 | 50.98 | 5.74 | 123.83 | 0.11 | 118 | 162.84 | 3.23 | 3.5853 |
34 | dataset/34_main.stl | dataset/34_main.png | 0.58 | 3 | 41.68 | 5.27 | 109.17 | 0.36 | 106 | 171.56 | 2.87 | 3.9032 |
35 | dataset/35_main.stl | dataset/35_main.png | 0.05 | 3 | 48.48 | 6.27 | 111.51 | 0.14 | 189 | 155.68 | 2.062852 | 2.351652 |
36 | dataset/36_main.stl | dataset/36_main.png | 0.25 | 4 | 51.82 | 5.34 | 128.77 | 0.06 | 103 | 152.87 | 2.375 | 2.5175 |
37 | dataset/37_main.stl | dataset/37_main.png | 0.37 | 5 | 58.05 | 5.22 | 102.12 | 0.18 | 146 | 153.65 | 2.555 | 3.0149 |
38 | dataset/38_main.stl | dataset/38_main.png | 0.09 | 3 | 52.3 | 5.16 | 113.54 | 0.18 | 107 | 162.99 | 2.135 | 2.5193 |
39 | dataset/39_main.stl | dataset/39_main.png | 0.3 | 3 | 45.56 | 6.01 | 123 | 0.15 | 165 | 162.45 | 2.45 | 2.8175 |
40 | dataset/40_main.stl | dataset/40_main.png | 0.79 | 4 | 55.13 | 5.42 | 107.16 | 0.4 | 126 | 162.9 | 3.185 | 4.459 |
41 | dataset/41_main.stl | dataset/41_main.png | 0.29 | 4 | 58.81 | 5.12 | 113.64 | 0.06 | 148 | 155.97 | 2.435 | 2.5811 |
42 | dataset/42_main.stl | dataset/42_main.png | 0.2 | 4 | 59.42 | 5.8 | 116.18 | 0.22 | 172 | 157.67 | 2.3 | 2.806 |
43 | dataset/43_main.stl | dataset/43_main.png | 0.32 | 3 | 50.58 | 5.32 | 126.17 | 0.32 | 158 | 172.17 | 2.48 | 3.2736 |
44 | dataset/44_main.stl | dataset/44_main.png | 0.18 | 3 | 57.45 | 6.74 | 102.77 | 0.13 | 108 | 177.73 | 2.27 | 2.5651 |
45 | dataset/45_main.stl | dataset/45_main.png | 0.43 | 3 | 45.6 | 5.94 | 123.15 | 0.29 | 115 | 157.16 | 2.645 | 3.41205 |
46 | dataset/46_main.stl | dataset/46_main.png | 0.47 | 5 | 43.37 | 6.4 | 125.02 | 0.29 | 101 | 155.58 | 2.588517 | 3.339187 |
47 | dataset/47_main.stl | dataset/47_main.png | 0.9 | 3 | 49.43 | 5.2 | 128.26 | 0.14 | 130 | 150.33 | 3.35 | 3.819 |
48 | dataset/48_main.stl | dataset/48_main.png | 0.95 | 3 | 57.85 | 5.12 | 113.7 | 0.18 | 113 | 179.48 | 3.425 | 4.0415 |
49 | dataset/49_main.stl | dataset/49_main.png | 0.08 | 5 | 40.23 | 5.92 | 119.84 | 0.42 | 118 | 176.42 | 2.07992 | 2.953487 |
50 | dataset/50_main.stl | dataset/50_main.png | 0.78 | 5 | 59.19 | 5.51 | 113.29 | 0.16 | 111 | 156.05 | 3.17 | 3.6772 |
51 | dataset/51_main.stl | dataset/51_main.png | 0.49 | 4 | 43.02 | 6.66 | 129.97 | 0.18 | 177 | 158 | 2.735 | 3.2273 |
52 | dataset/52_main.stl | dataset/52_main.png | 0.37 | 4 | 48.33 | 5 | 110.55 | 0.21 | 107 | 162.29 | 2.555 | 3.09155 |
53 | dataset/53_main.stl | dataset/53_main.png | 0.45 | 5 | 42.08 | 6.31 | 121.55 | 0.43 | 101 | 170.11 | 2.441518 | 3.491371 |
54 | dataset/54_main.stl | dataset/54_main.png | 0.95 | 4 | 50.26 | 5.96 | 126.87 | 0.14 | 118 | 160.68 | 3.425 | 3.9045 |
55 | dataset/55_main.stl | dataset/55_main.png | 0.41 | 5 | 48.46 | 5.26 | 117.72 | 0.36 | 112 | 163.18 | 2.455414 | 3.339363 |
56 | dataset/56_main.stl | dataset/56_main.png | 0.85 | 3 | 49.71 | 5.73 | 102.44 | 0.14 | 111 | 156.78 | 3.275 | 3.7335 |
57 | dataset/57_main.stl | dataset/57_main.png | 0.6 | 3 | 56.89 | 5.81 | 112.07 | 0.17 | 169 | 158.86 | 2.9 | 3.393 |
58 | dataset/58_main.stl | dataset/58_main.png | 0.16 | 4 | 51.38 | 5.58 | 112.84 | 0.14 | 189 | 176.95 | 2.208201 | 2.517349 |
59 | dataset/59_main.stl | dataset/59_main.png | 0.18 | 3 | 42.91 | 5.74 | 113.48 | 0.24 | 101 | 153.23 | 2.27 | 2.8148 |
60 | dataset/60_main.stl | dataset/60_main.png | 0.82 | 3 | 44.6 | 6.22 | 109.18 | 0.28 | 110 | 158.07 | 3.23 | 4.1344 |
61 | dataset/61_main.stl | dataset/61_main.png | 0.43 | 3 | 44.17 | 5.35 | 124.23 | 0.37 | 112 | 167.37 | 2.645 | 3.62365 |
62 | dataset/62_main.stl | dataset/62_main.png | 0.44 | 4 | 42.59 | 6.07 | 123.02 | 0.22 | 149 | 163.55 | 2.66 | 3.2452 |
63 | dataset/63_main.stl | dataset/63_main.png | 0.77 | 5 | 58.15 | 6.58 | 100.76 | 0.39 | 138 | 168.93 | 2.811474 | 3.907948 |
64 | dataset/64_main.stl | dataset/64_main.png | 0.3 | 5 | 54.53 | 5.72 | 116.13 | 0.16 | 137 | 162.04 | 2.45 | 2.842 |
65 | dataset/65_main.stl | dataset/65_main.png | 0.68 | 5 | 51.01 | 6.16 | 120.19 | 0.12 | 152 | 170.17 | 3.02 | 3.3824 |
66 | dataset/66_main.stl | dataset/66_main.png | 0.52 | 4 | 56.53 | 6 | 107.97 | 0.09 | 148 | 173.05 | 2.78 | 3.0302 |
67 | dataset/67_main.stl | dataset/67_main.png | 0.01 | 3 | 57.96 | 6.9 | 111.26 | 0.29 | 144 | 160.87 | 2.015 | 2.59935 |
68 | dataset/68_main.stl | dataset/68_main.png | 0.95 | 4 | 42.78 | 5.56 | 103.48 | 0.33 | 142 | 176.32 | 3.425 | 4.55525 |
69 | dataset/69_main.stl | dataset/69_main.png | 0.17 | 3 | 53.97 | 5.29 | 125.46 | 0.25 | 109 | 161.34 | 2.255 | 2.81875 |
70 | dataset/70_main.stl | dataset/70_main.png | 0.84 | 5 | 52.5 | 5.8 | 122.16 | 0.35 | 132 | 167.99 | 2.949375 | 3.981656 |
71 | dataset/71_main.stl | dataset/71_main.png | 0.88 | 3 | 48.74 | 6.83 | 101.46 | 0.11 | 146 | 168.25 | 3.32 | 3.6852 |
72 | dataset/72_main.stl | dataset/72_main.png | 0.05 | 3 | 56.69 | 6.76 | 124.72 | 0.16 | 102 | 168.22 | 2.075 | 2.407 |
73 | dataset/73_main.stl | dataset/73_main.png | 0.35 | 3 | 42.6 | 6.41 | 126.61 | 0.47 | 133 | 160.96 | 2.525 | 3.71175 |
74 | dataset/74_main.stl | dataset/74_main.png | 0.86 | 3 | 45.76 | 5.71 | 101.74 | 0.09 | 125 | 152.69 | 3.29 | 3.5861 |
75 | dataset/75_main.stl | dataset/75_main.png | 0.95 | 4 | 51.73 | 6.66 | 128.92 | 0.32 | 186 | 163.87 | 3.425 | 4.521 |
76 | dataset/76_main.stl | dataset/76_main.png | 0.85 | 4 | 53.66 | 5.95 | 123 | 0.39 | 122 | 158.23 | 3.275 | 4.55225 |
77 | dataset/77_main.stl | dataset/77_main.png | 0.23 | 3 | 44.43 | 6.61 | 113.06 | 0.26 | 134 | 150.48 | 2.345 | 2.9547 |
78 | dataset/78_main.stl | dataset/78_main.png | 0.66 | 3 | 47.56 | 5.71 | 102.8 | 0.09 | 118 | 152.62 | 2.99 | 3.2591 |
79 | dataset/79_main.stl | dataset/79_main.png | 0.1 | 3 | 54.31 | 5.22 | 114.3 | 0.05 | 158 | 156.84 | 2.15 | 2.2575 |
80 | dataset/80_main.stl | dataset/80_main.png | 0.78 | 4 | 43.89 | 6.65 | 122.21 | 0.14 | 177 | 152.88 | 3.17 | 3.6138 |
81 | dataset/81_main.stl | dataset/81_main.png | 0.06 | 5 | 43.25 | 6.15 | 122.37 | 0.45 | 180 | 172.03 | 2.056765 | 2.982309 |
82 | dataset/82_main.stl | dataset/82_main.png | 0.12 | 4 | 41.93 | 5.02 | 112.4 | 0.19 | 113 | 170.98 | 2.18 | 2.5942 |
83 | dataset/83_main.stl | dataset/83_main.png | 0.02 | 3 | 40.56 | 5.98 | 108.45 | 0.09 | 133 | 178.62 | 2.03 | 2.2127 |
84 | dataset/84_main.stl | dataset/84_main.png | 0.5 | 3 | 49.1 | 6.76 | 119.93 | 0.38 | 115 | 153.54 | 2.75 | 3.795 |
85 | dataset/85_main.stl | dataset/85_main.png | 0.24 | 5 | 49.79 | 6.47 | 105.61 | 0.1 | 109 | 161.37 | 2.36 | 2.596 |
86 | dataset/86_main.stl | dataset/86_main.png | 0.59 | 3 | 51.05 | 5.77 | 126.65 | 0.45 | 118 | 178.65 | 2.885 | 4.18325 |
87 | dataset/87_main.stl | dataset/87_main.png | 0.08 | 4 | 57.01 | 6.51 | 117.03 | 0.06 | 155 | 175.73 | 2.12 | 2.2472 |
88 | dataset/88_main.stl | dataset/88_main.png | 0.31 | 5 | 45.03 | 6.32 | 117.8 | 0.06 | 117 | 151.08 | 2.465 | 2.6129 |
89 | dataset/89_main.stl | dataset/89_main.png | 0.09 | 4 | 43.76 | 5.29 | 104.23 | 0.1 | 183 | 156.19 | 2.101429 | 2.311572 |
90 | dataset/90_main.stl | dataset/90_main.png | 0.01 | 4 | 42.37 | 5.35 | 123.23 | 0.12 | 105 | 157.48 | 2.015 | 2.2568 |
91 | dataset/91_main.stl | dataset/91_main.png | 0.78 | 3 | 57.34 | 5.39 | 111.83 | 0.15 | 112 | 160.52 | 3.17 | 3.6455 |
92 | dataset/92_main.stl | dataset/92_main.png | 0.14 | 5 | 43.06 | 6.88 | 113.43 | 0.18 | 197 | 150.54 | 2.16377 | 2.553248 |
93 | dataset/93_main.stl | dataset/93_main.png | 0.82 | 3 | 54.43 | 6.11 | 101.43 | 0.5 | 116 | 170.43 | 3.23 | 4.845 |
94 | dataset/94_main.stl | dataset/94_main.png | 0.06 | 3 | 50.44 | 5.91 | 105.12 | 0.49 | 124 | 167.64 | 2.09 | 3.1141 |
95 | dataset/95_main.stl | dataset/95_main.png | 0.06 | 3 | 42.61 | 5.95 | 127.06 | 0.42 | 155 | 174.34 | 2.09 | 2.9678 |
96 | dataset/96_main.stl | dataset/96_main.png | 0.89 | 4 | 40.78 | 5.74 | 118.66 | 0.22 | 151 | 159.02 | 3.335 | 4.0687 |
97 | dataset/97_main.stl | dataset/97_main.png | 0.78 | 5 | 42.24 | 6.94 | 124.15 | 0.15 | 132 | 173.87 | 3.17 | 3.6455 |
98 | dataset/98_main.stl | dataset/98_main.png | 0.27 | 3 | 50.88 | 6.83 | 112.06 | 0.21 | 172 | 166.6 | 2.405 | 2.91005 |
99 | dataset/99_main.stl | dataset/99_main.png | 0.96 | 4 | 49.63 | 6.28 | 104.38 | 0.45 | 179 | 150.53 | 3.162624 | 4.585805 |
100 | dataset/100_main.stl | dataset/100_main.png | 0.4 | 4 | 48.66 | 6.58 | 118.95 | 0.21 | 174 | 175.1 | 2.6 | 3.146 |
Kioko Parametric Brake Discs
Summary
This dataset holds 500 watertight brake-disc geometries in the style of Formula 1 discs: a thick ring drilled through with hundreds of radial cooling holes, up to 1,000 per disc, laid out for maximum cooling. Air enters at the disc's bore and is pumped out through the holes to the rim. Every disc was generated from the same parametric model, written in Kioko's CAD language, with a different set of design parameters.
- 500 samples, each a closed triangulated surface (
.stl, 9 million triangles on average, 4.4M to 18M) plus a render (.png). - 303 to 995 cooling holes per disc (median 485): 101 to 199 rows around the disc, each a stack of 3, 4 or 5 holes through the thickness, 2.0 to 3.5 mm in diameter.
- 8 design parameters per sample: hole rows and holes per row, inner and outer radius, hole size and spacing, and the shape of the air inlet at the bore. Two derived sizes, hole diameter and pitch, are recorded alongside them.
- Every sample is buildable: hole size and spacing are sampled as fractions of the room the holes have, so no two holes touch and none runs off the face it is drilled through.
- Full traceability:
dataset/metadata.csv(anddataset/index.json) records, for every file, the exact parameter values that produced it. Any sample can be regenerated from its row. - Validated geometry: every published sample compiled without error and passed a watertightness check: no open edges, no edge shared by more than two triangles, and the two triangles on every edge wound consistently. Samples that failed were dropped rather than repaired.
- A kernel at the junction of explicit and implicit geometry: smooth G1 spline surfaces driven by a control mesh, editable like B-Rep and watertight by construction (Chapter 1).
- The source is ~130 lines of code in 9 small files, described in Chapter 2.
Chapter 1: Kioko's mission and a kernel built for large, robust datasets
The mission
Kioko is building a CAD engine in which geometry is code. A part is described by a short, readable program: points, curves, surfaces and the operations that combine them. A compiler and geometry kernel turn that program into exact geometry and meshes.
Machine learning for engineering needs data that today's 3D datasets rarely provide: shapes that are valid (closed, manufacturable surfaces, not scans with holes), labelled with their design intent (which parameters made this shape) and available in quantity. Kioko's aim is to make that kind of data cheap to produce, for any family of parts an engineer can describe.
A brake disc is a demanding test of that aim. Its cooling performance lives in hundreds of small holes, each one a cut through two curved faces, and a single gap anywhere in the part makes the geometry useless for thermal or flow simulation.
Between explicit and implicit: control and robustness in one surface
Geometry kernels usually belong to one of two families, and each pays for its strength with the other's:
| Representation | Strength | Weakness |
|---|---|---|
| Explicit B-Rep (NURBS surface patches stitched along shared edges) | Full control: every curve, tangent and edge is a parameter you can grab | Nothing in the representation guarantees the stitching is clean: trims and seams leave gaps and slivers |
Implicit (geometry as a function, f(x, y, z) = 0, e.g. a signed distance field) |
Robust by construction: the result is always a valid, watertight solid | The input parameters are gone, so there is almost no designer-facing control |
Kioko does not pick a side, and it does not run the two side by side either. It builds at the junction between them (The quest for the right geometry kernel): a smooth spline surface driven by a control mesh, the approach of engineering-grade subdivision surfaces.
- Control comes from the model. The engineer writes the shape the way a CAD designer would: the disc's cross-section as lines and a Hermite curve, the faces as surfaces of revolution, each hole as an extruded circle, then trims, joins and a circular pattern. Those parameters stay in the code, so every sample remains exactly the shape its inputs describe.
- Robustness comes from the representation. The compiler meshes every surface into quads that conform to the shared boundary curves, so neighbouring surfaces meet on the same nodes, and fits a single G1 (tangent-plane continuous) spline surface over that control mesh. Unlike a patchwork of rectangular NURBS stitched at its edges, a surface built over one control mesh has no interior seams to come apart: a whole disc, with all its holes, is one watertight surface.
This is what makes large, unattended sweeps possible. Over hundreds of parameter combinations the holes meet the bore and the rim at angles and spacings nobody drew by hand. The model keeps each sample under the engineer's control; the control-mesh surface keeps it closed, so a sample either compiles to valid geometry or fails loudly, never silently wrong.
From one model to a large, robust dataset
Large 3D datasets are usually either collected (scans, scraped CAD files: real variety, but inconsistent quality, no parameters and hard to scale) or produced by generative models (unlimited volume, but no guarantee the output is valid or closed). Kioko takes a third route:
- An engineer writes the design once. The parametric model holds the engineering knowledge: how the disc's section is drawn, how the holes are sized to the room they have and tilted when rows crowd each other, how they are cut through the rim and the bore and how one sector is patterned round the disc. Every sample inherits this structure, so every sample is a plausible brake disc.
- The machine explores the design space. A
.datafile turns chosen inputs into ranges (Generator(low, high)), and the sweep samples them at random, compiling many variants in parallel. - The kernel enforces validity. Each sample goes through the full CAD pipeline (curve and surface construction, trimming, joining, circular patterning, conforming quad meshing) and is checked for watertightness and consistent orientation before it is written. Anything invalid is rejected; the geometry is never patched.
The result is a dataset where variety comes from sampling, control from the parametric model, robustness from the control-mesh surface, and meaning from the engineer's design. Scaling up is a matter of asking for more samples, and building a new dataset is a matter of writing a new model.
Chapter 2: The Kioko code behind the dataset
The whole disc family is defined by 9 .cad files totalling ~130 lines of code (about 190 with
blank lines and comments), plus a 14-line main.data that declares which parameters vary and
over what range, all in code/. No mesh, script or external geometry is involved.
disc/
βββ README.md
βββ dataset/ the generated dataset (see Dataset structure)
βββ code/
βββ main.cad 5 lines project root: units, modules
βββ main.data 14 lines the 8 parameter ranges for the sweep
βββ caketin/
βββ mod.cad (empty)
βββ disc/
βββ mod.cad 6 lines
βββ inputs.cad 53 lines default values of every input, and the hole sizing rules
βββ profile.cad 14 lines the disc's cross-section: rim, faces, shoulder, inlet curve
βββ faces.cad 12 lines seven surfaces of revolution, one sector wide
βββ holes.cad 81 lines up to five rows of radial hole tubes, tilted when they crowd
βββ trims.cad 8 lines cut the holes through the rim and the bore
βββ final.cad 7 lines join one sector, pattern it round the disc
Why so little code
Each line declares one geometric object in terms of others, and the compiler tracks the dependencies between them. Change one input and everything downstream follows. A few representative lines:
The air inlet at the bore is one Hermite curve between the shoulder and the bell, its tangents set by two angles and its fullness by a tension:
s_tan = Line<Angle>(-inlet_ib_angle, 0, 1)[shoulder.end, shoulder, reference.plane.x]
inlet = Spline<Hermite>(inlet_ib_tension, 1, 5, -1)[shoulder.end, s_tan, bell_ib.end, b_tan]
A face of the disc is that curve revolved through one sector:
#disc_inlet = Surface<Revolve>(-half_row_angle, half_row_angle)[inlet, reference.line.y]
A cooling hole is a circle extruded along a radial axis, from inside the bore to beyond the rim:
h0_axis = Line<Angle>(-hole_angle, inner_radius-5, outer_radius+5)[h0_point, h0_vertical, reference.plane.y]
h0_profile = Circle<Radius>(hole_radius, 0, 360)[h0_axis.start, h0_pl]
#h0_surface = Surface<Extrude>(0, outer_radius-inner_radius+10)[h0_profile, h0_axis]
The whole disc is the holes cut through the rim and the bore, one sector joined, and that sector patterned round the axis:
#top_trim = Operation<Trim>(start)[disc_top, h_group]
#inlet_trim = Operation<Trim>(start)[disc_inlet, h_group]
#hole_trim = Operation<Trim>(end)[hole_trim_top, disc_inlet]
#sector = Operation<Join>[disc_ib, disc_ob, disc_shoulder, disc_bell, disc_bell_ib, inlet_trim, top_trim, hole_trim]
disc = Operation<Circular>(number_rows, 0, 360)[sector, reference.line.y]
Making it a dataset takes one line per parameter in code/main.data:
number_rows = Generator(100, 200).with_stride(1)
holes_per_row = Generator(2, 5).with_stride(1)
hole_fill = Generator(0, 1)
The hard parts (surface intersection, trimming, watertight joining, conforming quad meshing) live in Kioko's kernel, not in the model. The model stays short, readable and easy to review, so an engineer can audit or modify a whole dataset's design logic in minutes.
Sizing the holes so every sample can be built
Sampling hole diameter and spacing directly, about 15% of the parts had holes that overlapped at
the bore or ran off the inlet face. inputs.cad sizes the holes as fractions of the room they have
instead:
hole_fill(0 to 1) places the diameter between 2.0 mm and the largest hole that fits: at most 3.5 mm, the stack of holes within the inlet face, and one hole plus 0.2 mm clearance either side across the sector at the narrowest point of the bore.neck_ratiois the material left between neighbouring holes in a row, as a fraction of the diameter:hole_pitch = hole_diameter * (1 + neck_ratio), so holes never touch.holes.cadtilts alternate rows apart when the pitch alone would bring holes of neighbouring rows closer than 1.25 diameters, and limits the tilt so a hole keeps its clearance from the sector side.
Regenerating the dataset
A whole disc compiles in minutes and tens of GB, one sector in about a minute and under one, so the
sweep runs in two stages (scripts/disc_sweep.py). Stage A compiles each sample's single sector and
keeps it only if its mesh is sealed and free of adjacent extraordinary-vertex pairs; stage B
compiles the kept samples as whole discs and keeps the watertight ones:
python3 scripts/disc_sweep.py --project service-cad/compiler/compiler-core/examples/disc \
--out service-cad/compiler/compiler-core/examples/disc/dataset --work target/disc_sweep \
--chunks 10 --chunk-size 500 --seed 20261020 --a-jobs 12 --b-jobs 5 --stop-after 500
Chunk k is drawn under seed 20261020 + k. In this release stage A screened 5,000 sectors and
kept 1,000; stage B compiled 507 of them as discs, wrote the first 500 and dropped 7 that leaked.
Every surface patch is meshed at 3 x 3 quads before triangulation (--detail 3, the default).
Dataset structure
The repository is the Kioko project itself: the .cad source in code/, and the generated
samples in dataset/.
code/ the Kioko source: main.cad, main.data, caketin/ (Chapter 2)
dataset/<n>_main.stl watertight triangle mesh of sample n (binary STL, millimetres)
dataset/<n>_main.png render from above
dataset/metadata.csv one row per sample: file paths, the 8 parameter values and 2 derived sizes
dataset/index.json sampling metadata and per-sample parameters, plus the dropped samples
dataset/disc_grid_spin.gif 400 samples, evenly spaced through the 500, turning like coins in a
20 x 20 grid at one scale
dataset/disc_single_spin.gif sample 201 (995 holes) turning slowly, close up on the holes
metadata.csv columns: sample (n), stl_file, front_png (paths relative to the repository
root), the parameters named as in main.data (hole_fill, holes_per_row, inlet_ib_angle,
inlet_ib_tension, inner_radius, neck_ratio, number_rows, outer_radius), then the derived
hole_diameter and hole_pitch. It is the table shown by the dataset viewer and loads directly:
from datasets import load_dataset
ds = load_dataset("kiokoio/kioko-discs", split="train")
The number of cooling holes in a disc is number_rows * holes_per_row.
index.json fields:
data_file,seeds,screened,sample_num: how the sweep was run (one seed per chunk of 500, the sectors screened, the discs compiled).segments: one entry per sample, withfile_name, theparameters(variable and value) that produced it, thederivedhole diameter and pitch, and thesourcechunk sample.failed: the 7 discs that compiled but leaked, with the error the watertightness check gave.
Every disc is 32 mm thick. Lengths are millimetres and angles degrees; hole_fill and neck_ratio
are ratios, inlet_ib_tension is the Hermite curve's tension.
License
Released under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
- Academic and non-commercial research use is free: you may use, share and adapt the dataset and its source, provided you credit Kioko.
- Attribution: cite the dataset as "Kioko Parametric Brake Discs, Kioko (kioko.io)", link to this repository, and indicate if you made changes.
- Commercial use requires our permission. This includes use by or for a company, in a commercial product or service, or to train models that are used commercially. Contact contact@kioko.io for a commercial license.
Contact
For more information about Kioko, custom datasets or the CAD engine, contact contact@kioko.io.
- Downloads last month
- -

