Datasets:
image image | id string | status string | failure string | family string | spec string | material string | process string | E_MPa float64 | poisson float64 | density_g_cm3 float64 | yield_MPa float64 | load_N list | load_basis string | fixed_points_mm list | load_points_mm list | voxel_mm float64 | grid_xyz list | origin_mm list | keep_target float64 | keep_reached float64 | keep_floor float64 | detail string | solves int64 | seconds float64 | stop string | stiffness_per_mass_gain float64 | mass_g_before float64 | mass_g_after float64 | safety_factor_before float64 | safety_factor_after float64 | member_stress_MPa_before float64 | member_stress_MPa_after float64 | corner_peak_MPa_after float64 | max_disp_mm_before float64 | max_disp_mm_after float64 | deflection_limit_mm float64 | passes_strength bool | passes_deflection bool | passes bool | pieces int64 | largest_piece_share float64 | thinnest_member_mm float64 | member_mm_median float64 | print_direction string | print_overhang_unsupported float64 | overhang_by_direction string | reproducible bool | f64_rel_diff float64 | compliance_before float64 | compliance_after float64 | carve_load_N list | carve_E_MPa float64 | arrays string | params string | history string | scriptcad_doc string | python string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
00000 | ok | null | chair | A aluminium AlSi10Mg lounge chair (3D printed (metal powder bed)), within a 516 x 854 x 779 mm design space, held at 4 support faces, carrying 2.10 kN at 26 degrees from vertical on 2 load faces. Keep 30% of the material, smallest member medium; it should hold with a safety factor of at least 1.5 and deflect at most 1/... | aluminium AlSi10Mg | 3D printed (metal powder bed) | 70,000 | 0.33 | 2.67 | 230 | [
0,
919.5,
-1888
] | seated person, 2.1 kN total (furniture static seat and back loads) | [
[
65.45,
305.75,
-12
],
[
429.24999999999994,
305.75,
-12
],
[
65.45,
708.35,
-12
],
[
429.24999999999994,
708.35,
-12
]
] | [
[
247.35,
233.9,
306.25
],
[
247.35,
590.5,
518.75
]
] | 9.38 | [
55,
91,
83
] | [
-9.38,
-9.38,
-21.380000000000003
] | 0.3 | 0.3 | 0.0807 | medium | 49 | 47.5 | target reached | 2.2536 | 440,881.51 | 131,072.28 | 5,501.469 | 2,838.186 | 0.04 | 0.08 | 0.19 | 0.00091 | 0.00158 | 1.7072 | true | true | true | 1 | 1 | 37.52 | 37.52 | +y | 0.2292 | {"+z": 0.2989, "-z": 0.2651, "+y": 0.2292, "-y": 0.2628, "+x": 0.5978, "-x": 0.5906} | true | 0 | 0.200594 | 0.299394 | [
0,
487,
-1000
] | 70,000 | arrays/00000.npz | {"feet": 4, "rounded": true, "W": 494.7, "D": 831.2, "H": 744.2, "lip": 320.3, "seatFront": 356.8, "seatRear": 255.7, "seatDepth": 397.8, "gapY": 431.7, "gapZ": 293.3, "backTopY": 749.3, "P": 37.7, "tp": 12.0, "footY": 286.9, "footX": 46.6, "rearFootY": 689.5} | [{"fraction": 1, "compliance": 0.2005935125742318, "dmax": 0.0004840703955728616}, {"fraction": 0.9699985025818387, "compliance": 0.20062036677758466, "dmax": 0.00048411459414456396}, {"fraction": 0.9409002864416031, "compliance": 0.2006718384448602, "dmax": 0.0004738046409257238}, {"fraction": 0.9123623945165513, "com... | {"name": "Carve dataset: chair", "variables": [{"name": "W", "value": 494.7}, {"name": "D", "value": 831.2}, {"name": "H", "value": 744.2}, {"name": "lip", "value": 320.3}, {"name": "seatFront", "value": 356.8}, {"name": "seatRear", "value": 255.7}, {"name": "seatDepth", "value": 397.8}, {"name": "gapY", "value": 431.7... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Variables: W = 494.7, D = 831.2, H = 744.2, lip = 320.3, seatFront = 356.8, seat... | |
00001 | ok | null | beam | A steel S355 beam (machined or welded), within a 318 x 25 x 57 mm design space, held at 2 support faces, carrying 6.82 kN at 7 degrees from vertical on 1 load face. Keep 30% of the material, smallest member fine; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span. | steel S355 | machined or welded | 210,000 | 0.3 | 7.85 | 355 | [
-815.9,
0,
-6771
] | scaled so the design space has a safety factor of 3 to 15 | [
[
9.14734038724675,
10.549516373711603,
-4
],
[
306.25329032664,
10.549516373711603,
-4
]
] | [
[
182.90922451984108,
10.549516373711603,
50.892061919373674
]
] | 1.17 | [
272,
21,
49
] | [
-1.17,
-1.17,
-5.17
] | 0.3 | 0.3 | 0.0121 | fine | 49 | 33.9 | target reached | 1.7545 | 2,487.14 | 748.61 | 10.382 | 5.634 | 34.19 | 63.01 | 91.88 | 0.04533 | 0.08654 | 0.6365 | true | true | true | 1 | 1 | 2.34 | 4.68 | +x | 0.1294 | {"+z": 0.6157, "-z": 0.6053, "+y": 0.8432, "-y": 0.8556, "+x": 0.1294, "-x": 0.1352} | true | 0.000001 | 26.092917 | 49.408893 | [
-241,
0,
-2000
] | 210,000 | arrays/00001.npz | {"kind": "two feet", "L": 315.4, "W": 21.1, "H": 46.9, "pad_x": 169.4, "pad_len": 27.0, "foot": 18.3} | [{"fraction": 1, "compliance": 26.09291674286313, "dmax": 0.013388224535770621}, {"fraction": 0.9699976270985348, "compliance": 26.131262984207154, "dmax": 0.013408806075370067}, {"fraction": 0.9408999228807023, "compliance": 26.324059657800237, "dmax": 0.013515144253549919}, {"fraction": 0.9126722825334678, "complianc... | {"name": "Carve dataset: beam", "variables": [], "features": [{"id": "env", "type": "box", "name": "Beam", "params": {"x": 0, "y": 0, "z": 0, "l": 315.40063071388676, "w": 21.099032747423205, "h": 46.892061919373674}}, {"id": "s0", "type": "box", "name": "Foot 1", "params": {"x": 0.0, "y": 0, "z": -4.0, "l": 18.2946807... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Beam
beam = sm.create_box((0.0, 0.0, 0.0), 315.400630714, 21.099032747, 46.89206... | |
00002 | ok | null | bracket | A stainless 316L wall bracket (3D printed (metal powder bed)), within a 120 x 131 x 171 mm design space, held at 4 support faces, carrying 57.38 kN at 10 degrees from vertical on 1 load face. Keep 40% of the material, smallest member coarse; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 ... | stainless 316L | 3D printed (metal powder bed) | 193,000 | 0.3 | 8 | 450 | [
9709.1,
-3443.4,
-56448.5
] | scaled so the design space has a safety factor of 3 to 15 | [
[
23.270625204835557,
121.15029402735152,
34.37268838395123
],
[
90.04433712280066,
121.15029402735152,
34.37268838395123
],
[
23.270625204835557,
121.15029402735152,
130.29303600559555
],
[
90.04433712280066,
121.15029402735152,
130.29303600559555
]
] | [
[
24.81752956641192,
-4,
40.5092599491457
]
] | 2.22 | [
54,
59,
77
] | [
-2.22,
-6.220000000000001,
-2.22
] | 0.4 | 0.4 | 0.0068 | coarse | 39 | 20.9 | target reached | 2.0487 | 17,535.89 | 7,139.28 | 10.301 | 7.454 | 43.69 | 60.37 | 100.49 | 0.06385 | 0.07608 | 0.3419 | true | true | true | 1 | 1 | 18.31 | 31.08 | +y | 0.2498 | {"+z": 0.4223, "-z": 0.2989, "+y": 0.2498, "-y": 0.4786, "+x": 0.6914, "-x": 0.4315} | true | 0.000002 | 0.950478 | 1.139576 | [
172,
-61,
-1000
] | 210,000 | arrays/00002.npz | {"Wx": 113.3, "Dy": 117.2, "Hz": 164.7, "bolts": 4, "pad_on_top": false, "pad": [29.60219578848807, 14.707623224055123]} | [{"fraction": 1, "compliance": 0.9504782125311897, "dmax": 0.0010395777416288376}, {"fraction": 0.9700016888224082, "compliance": 0.9505149276925671, "dmax": 0.0010396184793802358}, {"fraction": 0.9409008661246351, "compliance": 0.9507004725524568, "dmax": 0.0010398064482927748}, {"fraction": 0.9126734058722767, "compl... | {"name": "Carve dataset: bracket", "variables": [], "features": [{"id": "env", "type": "box", "name": "Bracket", "params": {"x": 0, "y": 0, "z": 0, "l": 113.31496232763622, "w": 117.15029402735152, "h": 164.66572438954677}}, {"id": "b0", "type": "box", "name": "Bolt pad 1", "params": {"x": 13.597795479316346, "y": 117.... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Bracket
bracket = sm.create_box((0.0, 0.0, 0.0), 113.314962328, 117.150294027, 1... | |
00003 | ok | null | chair | A aluminium 6061-T6 lounge chair (machined or cast), within a 439 x 748 x 783 mm design space, held at 4 support faces, carrying 2.10 kN at 26 degrees from vertical on 2 load faces. Keep 30% of the material, smallest member fine; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span. | aluminium 6061-T6 | machined or cast | 69,000 | 0.33 | 2.7 | 276 | [
0,
916.4,
-1889.5
] | seated person, 2.1 kN total (furniture static seat and back loads) | [
[
118.7,
240.4,
-12
],
[
302.59999999999997,
240.4,
-12
],
[
118.7,
549,
-12
],
[
302.59999999999997,
549,
-12
]
] | [
[
210.65,
238,
340.7
],
[
210.65,
545.25,
537.55
]
] | 8.6 | [
51,
87,
91
] | [
-8.6,
-8.6,
-20.6
] | 0.3 | 0.3 | 0.0791 | fine | 48 | 44.9 | target reached | 2.3294 | 343,166.96 | 102,961.58 | 4,450.834 | 2,092.055 | 0.06 | 0.13 | 0.34 | 0.00231 | 0.0036 | 1.5652 | true | true | true | 1 | 1 | 17.2 | 34.4 | +z | 0.2286 | {"+z": 0.2286, "-z": 0.2287, "+y": 0.3084, "-y": 0.3347, "+x": 0.5736, "-x": 0.562} | true | 0.000012 | 0.433966 | 0.620921 | [
0,
485,
-1000
] | 70,000 | arrays/00003.npz | {"feet": 4, "rounded": true, "W": 421.3, "D": 727.0, "H": 748.9, "lip": 366.1, "seatFront": 413.7, "seatRear": 267.7, "seatDepth": 406.0, "gapY": 435.9, "gapZ": 326.2, "backTopY": 654.6, "P": 30.6, "tp": 12.0, "footY": 225.1, "footX": 103.4, "rearFootY": 533.7} | [{"fraction": 1, "compliance": 0.4339658723305423, "dmax": 0.0012048501142931103}, {"fraction": 0.969997780115627, "compliance": 0.43400206681115056, "dmax": 0.0011762821520715366}, {"fraction": 0.940897991487226, "compliance": 0.43403238025574387, "dmax": 0.0011758855965800544}, {"fraction": 0.9126716791012364, "compl... | {"name": "Carve dataset: chair", "variables": [{"name": "W", "value": 421.3}, {"name": "D", "value": 727.0}, {"name": "H", "value": 748.9}, {"name": "lip", "value": 366.1}, {"name": "seatFront", "value": 413.7}, {"name": "seatRear", "value": 267.7}, {"name": "seatDepth", "value": 406.0}, {"name": "gapY", "value": 435.9... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Variables: W = 421.3, D = 727, H = 748.9, lip = 366.1, seatFront = 413.7, seatRe... | |
00004 | ok | null | beam | A steel S355 beam (machined or welded), within a 153 x 32 x 53 mm design space, held at 3 support faces, carrying 41.58 kN straight down on 1 load face. Keep 15% of the material, smallest member coarse; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span. | steel S355 | machined or welded | 210,000 | 0.3 | 7.85 | 355 | [
748.3,
0,
-41572.3
] | scaled so the design space has a safety factor of 3 to 15 | [
[
6.283927821683425,
14.5552959244671,
-4
],
[
143.95379441830963,
14.5552959244671,
-4
],
[
75.11886111999652,
14.5552959244671,
-4
]
] | [
[
50.47308875340808,
14.5552959244671,
46.46296287687322
]
] | 0.991 | [
154,
32,
53
] | [
-0.991,
-0.991,
-4.991
] | 0.15 | 0.15 | 0.0292 | coarse | 72 | 42.2 | target reached | 2.5253 | 1,528.39 | 230.23 | 6.452 | 2.721 | 55.03 | 130.47 | 275.86 | 0.01261 | 0.03852 | 0.3052 | true | true | true | 2 | 0.97472 | 1.98 | 1.98 | +x | 0.5268 | {"+z": 0.5331, "-z": 0.5914, "+y": 0.8256, "-y": 0.6192, "+x": 0.5268, "-x": 0.5644} | true | 0 | 1.086809 | 2.857053 | [
36,
0,
-2000
] | 210,000 | arrays/00004.npz | {"kind": "three feet", "L": 150.2, "W": 29.1, "H": 42.5, "pad_x": 30.8, "pad_len": 39.4, "foot": 12.6} | [{"fraction": 1, "compliance": 1.0868094398062722, "dmax": 0.0006067534147856289}, {"fraction": 0.9700013613644761, "compliance": 1.0868624596588097, "dmax": 0.000606789071468033}, {"fraction": 0.9409021956864194, "compliance": 1.0870071352327966, "dmax": 0.0006068888545789682}, {"fraction": 0.9126733308699119, "compli... | {"name": "Carve dataset: beam", "variables": [], "features": [{"id": "env", "type": "box", "name": "Beam", "params": {"x": 0, "y": 0, "z": 0, "l": 150.23772223999305, "w": 29.1105918489342, "h": 42.46296287687322}}, {"id": "s0", "type": "box", "name": "Foot 1", "params": {"x": 0.0, "y": 0, "z": -4.0, "l": 12.5678556433... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Beam
beam = sm.create_box((0.0, 0.0, 0.0), 150.23772224, 29.110591849, 42.462962... | |
00005 | ok | null | bracket | A stainless 316L wall bracket (3D printed (metal powder bed)), within a 76 x 218 x 110 mm design space, held at 2 support faces, carrying 7.17 kN at 12 degrees from vertical on 1 load face. Keep 25% of the material, smallest member medium; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of... | stainless 316L | 3D printed (metal powder bed) | 193,000 | 0.3 | 8 | 450 | [
1245.4,
-923.5,
-6996.4
] | scaled so the design space has a safety factor of 3 to 15 | [
[
17.23805031100454,
212.8899267821766,
81.72846030839251
],
[
54.272633918500574,
212.8899267821766,
81.72846030839251
]
] | [
[
48.438087131858396,
18.082599920371877,
104.21976397148786
]
] | 1.96 | [
39,
111,
56
] | [
-1.96,
-1.96,
-1.96
] | 0.25 | 0.25 | 0.0048 | medium | 53 | 32.5 | target reached | 3.6896 | 12,011.74 | 2,958.48 | 7.054 | 3.198 | 63.8 | 140.7 | 247.56 | 0.73427 | 0.76318 | 0.4351 | true | false | false | 1 | 1 | 3.92 | 8.77 | +y | 0.1063 | {"+z": 0.3082, "-z": 0.6314, "+y": 0.1063, "-y": 0.4223, "+x": 0.6425, "-x": 0.687} | true | 0.000005 | 83.756899 | 92.167306 | [
178,
-132,
-1000
] | 210,000 | arrays/00005.npz | {"Wx": 71.5, "Dy": 208.9, "Hz": 100.2, "bolts": 2, "pad_on_top": true, "pad": [13.018258837201817, 36.16519984074375]} | [{"fraction": 1, "compliance": 83.7568987722295, "dmax": 0.09645498519453963}, {"fraction": 0.9700023254011317, "compliance": 83.75773730813337, "dmax": 0.09372342567154049}, {"fraction": 0.9409008991551042, "compliance": 83.76155949576545, "dmax": 0.09304670090162133}, {"fraction": 0.9126714983334625, "compliance": 83... | {"name": "Carve dataset: bracket", "variables": [], "features": [{"id": "env", "type": "box", "name": "Bracket", "params": {"x": 0, "y": 0, "z": 0, "l": 71.51068422950512, "w": 208.8899267821766, "h": 100.21976397148786}}, {"id": "b0", "type": "box", "name": "Bolt pad 1", "params": {"x": 8.581282107540614, "y": 208.889... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Bracket
bracket = sm.create_box((0.0, 0.0, 0.0), 71.51068423, 208.889926782, 100... | |
00006 | ok | null | chair | A aluminium 6061-T6 lounge chair (machined or cast), within a 480 x 851 x 742 mm design space, held at 3 support faces, carrying 2.10 kN straight down on 2 load faces. Keep 25% of the material, smallest member coarse; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span. | aluminium 6061-T6 | machined or cast | 69,000 | 0.33 | 2.7 | 276 | [
0,
146.6,
-2094.9
] | seated person, 2.1 kN total (furniture static seat and back loads) | [
[
50.2,
175.7,
-12
],
[
403.90000000000003,
175.7,
-12
],
[
227.05,
742.9000000000001,
-12
]
] | [
[
227.05,
242.65,
325.25
],
[
227.05,
605.1,
515.1
]
] | 9.05 | [
53,
94,
82
] | [
-9.05,
-9.05,
-21.05
] | 0.25 | 0.25 | 0.0761 | coarse | 54 | 44.5 | target reached | 2.2761 | 399,714.94 | 99,309.56 | 6,118.421 | 2,664.891 | 0.05 | 0.1 | 0.29 | 0.00049 | 0.00092 | 1.7014 | true | true | true | 1 | 1 | 18.1 | 36.2 | +y | 0.2439 | {"+z": 0.3383, "-z": 0.2967, "+y": 0.2439, "-y": 0.2694, "+x": 0.5248, "-x": 0.5072} | true | 0.000001 | 0.159514 | 0.282077 | [
0,
70,
-1000
] | 70,000 | arrays/00006.npz | {"feet": 3, "rounded": true, "W": 454.1, "D": 830.3, "H": 709.6, "lip": 323.8, "seatFront": 373.7, "seatRear": 276.8, "seatDepth": 415.3, "gapY": 439.3, "gapZ": 320.6, "backTopY": 770.9, "P": 38.4, "tp": 12.0, "footY": 156.5, "footX": 31.0, "rearFootY": 723.7} | [{"fraction": 1, "compliance": 0.15951447592115656, "dmax": 0.00023040154207175142}, {"fraction": 0.9699995662587892, "compliance": 0.1595757973468016, "dmax": 0.00023041067081627182}, {"fraction": 0.9409003503665113, "compliance": 0.1596948882642625, "dmax": 0.00023112669387584096}, {"fraction": 0.9126734362424517, "c... | {"name": "Carve dataset: chair", "variables": [{"name": "W", "value": 454.1}, {"name": "D", "value": 830.3}, {"name": "H", "value": 709.6}, {"name": "lip", "value": 323.8}, {"name": "seatFront", "value": 373.7}, {"name": "seatRear", "value": 276.8}, {"name": "seatDepth", "value": 415.3}, {"name": "gapY", "value": 439.3... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Variables: W = 454.1, D = 830.3, H = 709.6, lip = 323.8, seatFront = 373.7, seat... | |
00007 | ok | null | beam | A stainless 316L beam (3D printed (metal powder bed)), within a 175 x 81 x 101 mm design space, held at 3 support faces, carrying 470.56 kN at 5 degrees from vertical on 1 load face. Keep 15% of the material, smallest member fine; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span... | stainless 316L | 3D printed (metal powder bed) | 193,000 | 0.3 | 8 | 450 | [
-42412.1,
0,
-468642.2
] | scaled so the design space has a safety factor of 3 to 15 | [
[
5.179571468965891,
38.559312081228015,
-4
],
[
164.05116164547326,
38.559312081228015,
-4
],
[
84.61536655721957,
38.559312081228015,
-4
]
] | [
[
81.10237461467959,
38.559312081228015,
91.86356616267915
]
] | 1.8 | [
97,
45,
56
] | [
-1.8,
-1.8,
-5.8
] | 0.15 | 0.15 | 0.0242 | fine | 72 | 44.4 | target reached | 2.2805 | 9,359.4 | 1,373.24 | 3.004 | 1.142 | 149.81 | 394.12 | 500.87 | 0.06308 | 0.21291 | 0.3492 | false | true | false | 2 | 0.98305 | 3.6 | 7.2 | +z | 0.3798 | {"+z": 0.3798, "-z": 0.5349, "+y": 0.5012, "-y": 0.5028, "+x": 0.6453, "-x": 0.6424} | true | 0.000001 | 0.429348 | 1.283188 | [
-181,
0,
-2000
] | 210,000 | arrays/00007.npz | {"kind": "three feet", "L": 169.2, "W": 77.1, "H": 87.9, "pad_x": 57.9, "pad_len": 46.5, "foot": 10.4} | [{"fraction": 1, "compliance": 0.42934780189028404, "dmax": 0.00024742455436495265}, {"fraction": 0.9699990145841545, "compliance": 0.42939286944555743, "dmax": 0.00024746679273403115}, {"fraction": 0.9407518722901064, "compliance": 0.42942440107264224, "dmax": 0.0002474963838765857}, {"fraction": 0.9125295624753647, "... | {"name": "Carve dataset: beam", "variables": [], "features": [{"id": "env", "type": "box", "name": "Beam", "params": {"x": 0, "y": 0, "z": 0, "l": 169.23073311443915, "w": 77.11862416245603, "h": 87.86356616267915}}, {"id": "s0", "type": "box", "name": "Foot 1", "params": {"x": 0.0, "y": 0, "z": -4.0, "l": 10.359142937... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Beam
beam = sm.create_box((0.0, 0.0, 0.0), 169.230733114, 77.118624162, 87.86356... | |
00008 | ok | null | bracket | A stainless 316L wall bracket (3D printed (metal powder bed)), within a 89 x 199 x 98 mm design space, held at 2 support faces, carrying 16.48 kN at 10 degrees from vertical on 1 load face. Keep 40% of the material, smallest member coarse; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of... | stainless 316L | 3D printed (metal powder bed) | 193,000 | 0.3 | 8 | 450 | [
-2013.4,
-1948.4,
-16236.8
] | scaled so the design space has a safety factor of 3 to 15 | [
[
22.40022506220749,
194.08811963660466,
63.304366875663526
],
[
61.01515980543913,
194.08811963660466,
63.304366875663526
]
] | [
[
26.92809193632103,
5.534611108493707,
94.44059608999385
]
] | 1.93 | [
46,
103,
51
] | [
-1.93,
-1.93,
-1.93
] | 0.4 | 0.4 | 0.0062 | coarse | 38 | 21.4 | target reached | 2.218 | 11,518.61 | 4,642.01 | 4.106 | 2.904 | 109.59 | 154.95 | 241.2 | 0.49637 | 0.54668 | 0.3976 | true | false | false | 1 | 1 | 3.86 | 11.58 | +y | 0.1387 | {"+z": 0.4145, "-z": 0.6727, "+y": 0.1387, "-y": 0.4367, "+x": 0.7119, "-x": 0.5341} | true | 0.000176 | 26.840867 | 30.028834 | [
-124,
-120,
-1000
] | 210,000 | arrays/00008.npz | {"Wx": 83.4, "Dy": 190.1, "Hz": 90.4, "bolts": 2, "pad_on_top": true, "pad": [19.32014203612428, 11.069222216987415]} | [{"fraction": 1, "compliance": 26.840866761083415, "dmax": 0.028078519471610944}, {"fraction": 0.9699999513460126, "compliance": 26.849495245037758, "dmax": 0.027638330830339772}, {"fraction": 0.9394598434314684, "compliance": 26.927514049579727, "dmax": 0.02813239849101842}, {"fraction": 0.9112745885089012, "complianc... | {"name": "Carve dataset: bracket", "variables": [], "features": [{"id": "env", "type": "box", "name": "Bracket", "params": {"x": 0, "y": 0, "z": 0, "l": 83.41538486764662, "w": 190.08811963660466, "h": 90.44059608999385}}, {"id": "b0", "type": "box", "name": "Bolt pad 1", "params": {"x": 10.009846184117594, "y": 190.08... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Bracket
bracket = sm.create_box((0.0, 0.0, 0.0), 83.415384868, 190.088119637, 90... | |
00009 | ok | null | chair | A aluminium AlSi10Mg lounge chair (3D printed (metal powder bed)), within a 414 x 768 x 692 mm design space, held at 4 support faces, carrying 2.10 kN at 21 degrees from vertical on 2 load faces. Keep 20% of the material, smallest member fine; it should hold with a safety factor of at least 1.5 and deflect at most 1/50... | aluminium AlSi10Mg | 3D printed (metal powder bed) | 70,000 | 0.33 | 2.67 | 230 | [
0,
747.7,
-1962.4
] | seated person, 2.1 kN total (furniture static seat and back loads) | [
[
113.5,
119.9,
-12
],
[
278.9,
119.9,
-12
],
[
113.5,
538,
-12
],
[
278.9,
538,
-12
]
] | [
[
196.2,
237.5,
339.04999999999995
],
[
196.2,
570.65,
485.05
]
] | 8.44 | [
49,
91,
82
] | [
-8.44,
-8.44,
-20.439999999999998
] | 0.2 | 0.2 | 0.072 | fine | 62 | 51.3 | target reached | 2.1689 | 321,550.55 | 63,494.13 | 3,764.267 | 1,315.691 | 0.06 | 0.17 | 0.33 | 0.00128 | 0.00388 | 1.5361 | true | true | true | 1 | 1 | 16.88 | 33.76 | +y | 0.2446 | {"+z": 0.2994, "-z": 0.3201, "+y": 0.2446, "-y": 0.2753, "+x": 0.6704, "-x": 0.6469} | true | 0.000016 | 0.265691 | 0.620362 | [
0,
381,
-1000
] | 70,000 | arrays/00009.npz | {"feet": 4, "rounded": false, "W": 392.4, "D": 748.1, "H": 660.0, "lip": 328.1, "seatFront": 379.4, "seatRear": 298.7, "seatDepth": 405.0, "gapY": 432.4, "gapZ": 310.1, "backTopY": 708.9, "P": 39.2, "tp": 12.0, "footY": 100.3, "footX": 93.9, "rearFootY": 518.4} | [{"fraction": 1, "compliance": 0.265690716183511, "dmax": 0.0006541543364410124}, {"fraction": 0.9699978780045526, "compliance": 0.265715180568184, "dmax": 0.0006432735767661795}, {"fraction": 0.9408976040742313, "compliance": 0.265799745428656, "dmax": 0.0006429163364421734}, {"fraction": 0.912670241907481, "complianc... | {"name": "Carve dataset: chair", "variables": [{"name": "W", "value": 392.4}, {"name": "D", "value": 748.1}, {"name": "H", "value": 660.0}, {"name": "lip", "value": 328.1}, {"name": "seatFront", "value": 379.4}, {"name": "seatRear", "value": 298.7}, {"name": "seatDepth", "value": 405.0}, {"name": "gapY", "value": 432.4... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Variables: W = 392.4, D = 748.1, H = 660, lip = 328.1, seatFront = 379.4, seatRe... | |
00010 | ok | null | beam | A steel S355 beam (machined or welded), within a 184 x 61 x 121 mm design space, held at 1 support face, carrying 118.86 kN straight down on 1 load face. Keep 25% of the material, smallest member medium; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span. | steel S355 | machined or welded | 210,000 | 0.3 | 7.85 | 355 | [
2317.3,
0,
-118836
] | scaled so the design space has a safety factor of 3 to 15 | [
[
-4,
28.753200593289527,
56.29545299010574
]
] | [
[
137.9456381598176,
28.753200593289527,
116.59090598021147
]
] | 1.8 | [
102,
34,
67
] | [
-5.8,
-1.8,
-1.8
] | 0.25 | 0.25 | 0.0312 | medium | 55 | 27.4 | target reached | 1.2288 | 9,207.11 | 2,270.55 | 3.063 | 1.251 | 115.9 | 283.82 | 400.27 | 0.15842 | 0.53932 | 0.3672 | false | false | false | 1 | 1 | 3.6 | 3.6 | +z | 0.4361 | {"+z": 0.4361, "-z": 0.6264, "+y": 0.7414, "-y": 0.7418, "+x": 0.6194, "-x": 0.5444} | true | 0.000015 | 4.117749 | 13.588245 | [
39,
0,
-2000
] | 210,000 | arrays/00010.npz | {"kind": "cantilever", "L": 175.6, "W": 57.5, "H": 112.6, "pad_x": 117.0, "pad_len": 41.9, "foot": 19.8} | [{"fraction": 1, "compliance": 4.117748626677808, "dmax": 0.0026660838501655054}, {"fraction": 0.9700003938248267, "compliance": 4.118279393184563, "dmax": 0.0026414742240310147}, {"fraction": 0.9409016619407687, "compliance": 4.1229172581841125, "dmax": 0.002598406991174381}, {"fraction": 0.9126742674858223, "complian... | {"name": "Carve dataset: beam", "variables": [], "features": [{"id": "env", "type": "box", "name": "Beam", "params": {"x": 0, "y": 0, "z": 0, "l": 175.6479163996245, "w": 57.506401186579055, "h": 112.59090598021147}}, {"id": "s1", "type": "box", "name": "Wall", "params": {"x": -4.0, "y": 0, "z": 0, "l": 4.0, "w": 57.50... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Beam
beam = sm.create_box((0.0, 0.0, 0.0), 175.6479164, 57.506401187, 112.590905... | |
00011 | ok | null | bracket | A steel S355 wall bracket (machined or welded), within a 104 x 163 x 94 mm design space, held at 4 support faces, carrying 30.40 kN at 11 degrees from vertical on 1 load face. Keep 40% of the material, smallest member medium; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span. | steel S355 | machined or welded | 210,000 | 0.3 | 7.85 | 355 | [
-5610,
-1581.5,
-29840.5
] | scaled so the design space has a safety factor of 3 to 15 | [
[
17.667724706934816,
154.13176568150328,
19.159030216781264
],
[
82.1097529421263,
154.13176568150328,
19.159030216781264
],
[
17.667724706934816,
154.13176568150328,
70.60498863477729
],
[
82.1097529421263,
154.13176568150328,
70.60498863477729
]
] | [
[
87.46063491245687,
-4,
35.52670892706543
]
] | 1.89 | [
55,
86,
50
] | [
-1.89,
-5.89,
-1.89
] | 0.4 | 0.4 | 0.0045 | medium | 39 | 21 | target reached | 1.9931 | 10,591.17 | 4,234.79 | 5.121 | 3.391 | 69.33 | 104.69 | 239.41 | 0.14422 | 0.17997 | 0.3251 | true | true | true | 1 | 1 | 7.56 | 11.34 | +y | 0.1213 | {"+z": 0.5975, "-z": 0.5442, "+y": 0.1213, "-y": 0.319, "+x": 0.5182, "-x": 0.6844} | true | 0.000005 | 4.734633 | 5.940992 | [
-188,
-53,
-1000
] | 210,000 | arrays/00011.npz | {"Wx": 99.8, "Dy": 150.1, "Hz": 89.8, "bolts": 4, "pad_on_top": false, "pad": [21.89451074524213, 24.684587027588023]} | [{"fraction": 1, "compliance": 4.734632635648949, "dmax": 0.004833101334090006}, {"fraction": 0.9700009792401096, "compliance": 4.735679292287407, "dmax": 0.004833858109636042}, {"fraction": 0.9409028593811203, "compliance": 4.738612627703452, "dmax": 0.004835838455962978}, {"fraction": 0.9126762632197415, "compliance"... | {"name": "Carve dataset: bracket", "variables": [], "features": [{"id": "env", "type": "box", "name": "Bracket", "params": {"x": 0, "y": 0, "z": 0, "l": 99.77747764906113, "w": 150.13176568150328, "h": 89.76401885155856}}, {"id": "b0", "type": "box", "name": "Bolt pad 1", "params": {"x": 11.973297317887335, "y": 150.13... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Bracket
bracket = sm.create_box((0.0, 0.0, 0.0), 99.777477649, 150.131765682, 89... | |
00012 | ok | null | chair | A aluminium 6061-T6 lounge chair (machined or cast), within a 472 x 905 x 736 mm design space, held at 4 support faces, carrying 2.10 kN at 19 degrees from vertical on 2 load faces. Keep 20% of the material, smallest member medium; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its spa... | aluminium 6061-T6 | machined or cast | 69,000 | 0.33 | 2.7 | 276 | [
0,
686.7,
-1984.6
] | seated person, 2.1 kN total (furniture static seat and back loads) | [
[
78.6,
231.20000000000002,
-12
],
[
368.8,
231.20000000000002,
-12
],
[
78.6,
823,
-12
],
[
368.8,
823,
-12
]
] | [
[
223.7,
278.05,
360.79999999999995
],
[
223.7,
658.3,
529.05
]
] | 9.43 | [
50,
96,
78
] | [
-9.43,
-9.43,
-21.43
] | 0.2 | 0.2 | 0.0721 | medium | 63 | 61 | target reached | 2.3358 | 452,420.36 | 89,148.5 | 7,516.779 | 2,994.339 | 0.04 | 0.09 | 0.18 | 0.00042 | 0.00138 | 1.8106 | true | true | true | 1 | 1 | 26.67 | 37.72 | +y | 0.219 | {"+z": 0.3401, "-z": 0.3302, "+y": 0.219, "-y": 0.2998, "+x": 0.5683, "-x": 0.5632} | true | 0.000008 | 0.143447 | 0.311664 | [
0,
346,
-1000
] | 70,000 | arrays/00012.npz | {"feet": 4, "rounded": true, "W": 447.4, "D": 884.2, "H": 697.7, "lip": 386.0, "seatFront": 420.7, "seatRear": 300.9, "seatDepth": 486.1, "gapY": 504.4, "gapZ": 360.4, "backTopY": 812.2, "P": 36.8, "tp": 12.0, "footY": 212.8, "footX": 60.2, "rearFootY": 804.6} | [{"fraction": 1, "compliance": 0.1434465964280807, "dmax": 0.00021041936196051277}, {"fraction": 0.9700005802595695, "compliance": 0.1434674171591501, "dmax": 0.00020790769240841764}, {"fraction": 0.9409005628517824, "compliance": 0.1434867894027921, "dmax": 0.0002074828988269369}, {"fraction": 0.9126757702945785, "com... | {"name": "Carve dataset: chair", "variables": [{"name": "W", "value": 447.4}, {"name": "D", "value": 884.2}, {"name": "H", "value": 697.7}, {"name": "lip", "value": 386.0}, {"name": "seatFront", "value": 420.7}, {"name": "seatRear", "value": 300.9}, {"name": "seatDepth", "value": 486.1}, {"name": "gapY", "value": 504.4... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Variables: W = 447.4, D = 884.2, H = 697.7, lip = 386, seatFront = 420.7, seatRe... | |
00013 | ok | null | beam | A steel S355 beam (machined or welded), within a 373 x 29 x 99 mm design space, held at 1 support face, carrying 5.07 kN straight down on 1 load face. Keep 20% of the material, smallest member medium; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span. | steel S355 | machined or welded | 210,000 | 0.3 | 7.85 | 355 | [
106.4,
0,
-5064.3
] | scaled so the design space has a safety factor of 3 to 15 | [
[
-4,
12.764281505098964,
45.26968160835462
]
] | [
[
294.2907216544668,
12.764281505098964,
94.53936321670923
]
] | 1.62 | [
230,
18,
61
] | [
-5.62,
-1.62,
-1.62
] | 0.2 | 0.2 | 0.0138 | medium | 62 | 42.5 | target reached | 1.912 | 6,714.33 | 1,344.29 | 9.894 | 4.861 | 35.88 | 73.03 | 109.09 | 0.19508 | 0.43042 | 0.7452 | true | true | true | 1 | 1 | 3.24 | 6.48 | -x | 0.3524 | {"+z": 0.6252, "-z": 0.6832, "+y": 0.6973, "-y": 0.6532, "+x": 0.4298, "-x": 0.3524} | true | 0.000001 | 114.74394 | 299.742107 | [
42,
0,
-2000
] | 210,000 | arrays/00013.npz | {"kind": "cantilever", "L": 364.5, "W": 25.5, "H": 90.5, "pad_x": 277.4, "pad_len": 33.8, "foot": 13.4} | [{"fraction": 1, "compliance": 114.74393966110556, "dmax": 0.0770396510907697}, {"fraction": 0.9699992207589807, "compliance": 114.74516267382754, "dmax": 0.07652498011971373}, {"fraction": 0.934348944128419, "compliance": 114.74530133371871, "dmax": 0.0735567751701091}, {"fraction": 0.9063206187173692, "compliance": 1... | {"name": "Carve dataset: beam", "variables": [], "features": [{"id": "env", "type": "box", "name": "Beam", "params": {"x": 0, "y": 0, "z": 0, "l": 364.5130871326707, "w": 25.528563010197928, "h": 90.53936321670923}}, {"id": "s1", "type": "box", "name": "Wall", "params": {"x": -4.0, "y": 0, "z": 0, "l": 4.0, "w": 25.528... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Beam
beam = sm.create_box((0.0, 0.0, 0.0), 364.513087133, 25.52856301, 90.539363... | |
00014 | ok | null | bracket | A steel S355 wall bracket (machined or welded), within a 127 x 163 x 197 mm design space, held at 2 support faces, carrying 20.48 kN at 6 degrees from vertical on 1 load face. Keep 25% of the material, smallest member medium; it should hold with a safety factor of at least 1.5 and deflect at most 1/500 of its span. | steel S355 | machined or welded | 210,000 | 0.3 | 7.85 | 355 | [
2097.7,
-285.1,
-20366.3
] | scaled so the design space has a safety factor of 3 to 15 | [
[
32.565272330335944,
157.71236884806632,
60.894723077391056
],
[
88.40808789685605,
157.71236884806632,
60.894723077391056
]
] | [
[
67.12044565740155,
16.691422233801255,
189.7150729779056
]
] | 2.59 | [
49,
63,
76
] | [
-2.59,
-2.59,
-2.59
] | 0.25 | 0.25 | 0.0076 | medium | 54 | 32.3 | target reached | 3.2249 | 27,236.77 | 6,851.9 | 10.357 | 7.014 | 34.28 | 50.62 | 66.83 | 0.13339 | 0.17041 | 0.3937 | true | true | true | 1 | 1 | 10.36 | 14.65 | -z | 0.2403 | {"+z": 0.3541, "-z": 0.2403, "+y": 0.2698, "-y": 0.4556, "+x": 0.5349, "-x": 0.5251} | true | 0.000007 | 4.568509 | 5.631229 | [
103,
-14,
-1000
] | 210,000 | arrays/00014.npz | {"Wx": 121.0, "Dy": 153.7, "Hz": 185.7, "bolts": 2, "pad_on_top": true, "pad": [42.374788138308816, 33.38284446760251]} | [{"fraction": 1, "compliance": 4.5685094702099995, "dmax": 0.006549337898473425}, {"fraction": 0.9700022068018537, "compliance": 4.568866335884433, "dmax": 0.006549914324138655}, {"fraction": 0.9408184782875217, "compliance": 4.569222225154711, "dmax": 0.006551394340290255}, {"fraction": 0.9075987543829537, "compliance... | {"name": "Carve dataset: bracket", "variables": [], "features": [{"id": "env", "type": "box", "name": "Bracket", "params": {"x": 0, "y": 0, "z": 0, "l": 120.97336022719199, "w": 153.71236884806632, "h": 185.7150729779056}}, {"id": "b0", "type": "box", "name": "Bolt pad 1", "params": {"x": 14.516803227263038, "y": 153.7... | # Generated by ScriptCAD from the feature history.
# `sm` is usd_brep (NVIDIA USD BRep / SMLib). show(), edges_at(), faces_at(),
# polyline(), to_plane(), linear_pattern() and polar_pattern() are ScriptCAD helpers.
import usd_brep as sm
# Bracket
bracket = sm.create_box((0.0, 0.0, 0.0), 120.973360227, 153.712368848, 1... |
ScriptCAD Carve: 3D topology optimisation, with engineering outcomes
851 parts carved to their stiffest shape for their weight by ScriptCAD's Carve tool, each with its own dimensions, supports, load, material budget and smallest member size:
| Family | Samples | |
|---|---|---|
random |
211 | a base block with up to three blocks and cylinders on it, on feet or a wall, one or two load pads, load at a random angle |
flange |
100 | a plate with 2-6 bolt holes (held in the holes) and a loaded boss |
lbracket |
99 | an L held at the back of its upright, loaded at the end of its arm |
chair |
148 | the lounge-chair block: side profile, 3 or 4 feet, seat and back loaded, optionally rounded |
beam |
149 | a bar on two or three feet, or held at one end, with a load pad on top |
bracket |
144 | a block bolted to a wall by two or four pads, with a load pad on top or in front |
Every design comes from a full optimisation in 3D, with every step solved by finite elements; nothing is predicted. Each part is then labelled the way an engineer would judge it:
- Would it hold? A real alloy and process, a load that gives the uncarved design space a realistic margin, and the carved part's stress, safety factor and deflection under it. 562 of 851 (66%) pass both a safety factor of 1.5 and a deflection of at most 1/500 of the span; the rest are labelled as failing, which is as useful to learn from.
- Can it be made? The number of pieces, the thinnest member, and for 3D printing the unsupported overhang for each of the six build directions.
- Is the result right? Each part is rebuilt from its own CAD document, and its carved design re-solved independently in float64.
- What is the recipe? The parametric ScriptCAD document, the same model as Python code (the kernel's own), and a plain-language spec: spec → CAD code → design space → carved design, in one row.
The carved designs are on median 2.45× (up to 10.05×) as stiff per gram as their design
space. 49 drawn parts failed to set up (their load face was not found); they are kept, marked
status: failed, with the reason, and have no design.
Open any part in ScriptCAD (save scriptcad_doc as part.scad.json, File → Open project) or in the
online demo, change it, and carve it again.
What is in a row
The viewer shows a preview of each design: the view along its thinnest side, the other side view, and the top view (lighter is nearer; the design space is a faint shadow).
| Column | |
|---|---|
status, failure |
ok, or failed with the reason |
family, params |
the part family and its parameters (JSON) |
spec |
the requirement in plain language |
material, process, E_MPa, poisson, density_g_cm3, yield_MPa |
a real alloy and how it would be made |
load_N, fixed_points_mm, load_points_mm |
the total force (spread over the load faces) and a point on each support and load face |
load_basis |
where the load comes from: a seated person for chairs, otherwise scaled to the design space's margin |
keep_target, keep_reached, keep_floor |
the material share asked for, reached, and the share that supports and loads keep on their own |
detail |
smallest member: fine, medium, coarse (about 2.5, 4 and 6 voxels at Normal resolution) |
mass_g_before, mass_g_after |
mass of the design space and of the carved part |
safety_factor_before, safety_factor_after |
yield over member stress, uncarved and carved |
member_stress_MPa_before, member_stress_MPa_after |
99th percentile of von Mises away from the supports and load faces |
corner_peak_MPa_after |
the single highest stress away from them (at voxel-sharp corners; a real part has fillets there) |
max_disp_mm_before, max_disp_mm_after, deflection_limit_mm |
largest displacement, and span / 500 |
passes_strength, passes_deflection, passes |
safety factor ≥ 1.5; deflection within the limit; both |
stiffness_per_mass_gain |
(compliance × mass) of the design space over that of the carved part |
pieces, largest_piece_share |
connected pieces of the design, and the largest one's share |
thinnest_member_mm, member_mm_median |
member thickness (5th percentile and median along the medial voxels) |
print_direction, print_overhang_unsupported, overhang_by_direction |
for 3D printing: the build direction with the least unsupported overhang (45° rule), that share, and all six (JSON) |
reproducible, f64_rel_diff |
rebuilt from its document to the same grid; float64 re-solve vs the optimiser's float32 compliance |
compliance_before, compliance_after, carve_load_N, carve_E_MPa |
the carve as it ran (its own load and stiffness) |
voxel_mm, grid_xyz, origin_mm |
the voxel grid |
solves, seconds, stop, history |
how the optimisation went (history: share, compliance and deflection per step, JSON) |
scriptcad_doc, python |
the part as a ScriptCAD document and as Python for its kernel |
arrays |
the path of the voxel arrays |
arrays/<id>.npz holds the voxel arrays, indexed [z, y, x]:
fill(uint8, 0–255): how full each voxel of the design space is (surface voxels are partly full)design(bool): the carved designheld_nodes(bool, one larger in each direction): the nodes the solver holds. These are the supports, and also every node that touches no voxel of the design space. The supports are the held nodes that touch at least one voxel withfill > 0- node
(I, J, K)has indexn = I + (nx + 1) * (J + (ny + 1) * K), soheld_nodes[K, J, I]; degree of freedom3 * n + axis, axis 0, 1, 2 = x, y, z force_dofs,force_values: the loaded degrees of freedom and their forces; they sum tocarve_load_N
from huggingface_hub import hf_hub_download
from datasets import load_dataset
import numpy as np
ds = load_dataset("mcsnekkeh/scriptcad-carve", split="train").filter(lambda r: r["status"] == "ok")
row = ds[0]
print(row["spec"])
z = np.load(hf_hub_download("mcsnekkeh/scriptcad-carve", row["arrays"], repo_type="dataset"))
design, space = z["design"], z["fill"] > 0 # [z, y, x]
print(row["family"], design.shape, row["safety_factor_after"], row["passes"])
How it was made
bench/dataset/ in the ScriptCAD repository (generate.py, then label.py, then pack.py):
- Draw the part. A family generator draws the dimensions, supports, load direction and carve settings
from a seeded random generator (sample
iuses seed1000 + i). - Build and voxelise. The CAD kernel (NVIDIA's open-source SMLib, USD BRep) builds the part, and ScriptCAD voxelises it at Normal resolution (about 200,000 voxels), with partly full voxels at the surface.
- Carve. The app's own optimiser (hard-kill BESO, smoothed over the smallest member size) removes the material that stores the least strain energy, 3% per step, until the share asked for is left and the stiffness has settled. Material at supports and loads always stays, and parts that lose their support are removed. Every step is a linear-elastic finite element solve (8-node hexahedra with incompatible modes) on the GPU (CUDA multigrid, float32).
- Label.
- The part is rebuilt from its document, and the design space and the carved design are solved in float64.
- A material is drawn with the Poisson's ratio the part was carved with. In linear elasticity the optimal layout depends only on the load's direction and on Poisson's ratio, not on the material's stiffness or the load's size, so the design is the right one for it.
- Chairs carry a seated person: 2.1 kN in total (about 1.6 kN on the seat and 0.5 kN on the back, as in furniture static strength tests). The safety factor follows from it, and shows how far a chair could be carved further.
- Other parts have no known load, so theirs is scaled to give the design space a safety factor drawn from 3 to 15 (log-uniform): the designer gave the space margin, and Carve spends it.
Limits
- One load case per part; linear elasticity; strength judged by yield on member stress (no fatigue, buckling or contact).
- Designs are voxel grids. Supports and loads act on whole faces, held rigidly. The seat and back of the chairs, being loaded faces, stay as plates.
- Hard-kill BESO gives designs within 1–2% of the stiffness of a SIMP reference on the MBB beam when members span at least about 3 voxels (benchmark).
- Design spaces are generated, not taken from real products; half of the newer samples are random shapes to cover more ground. Real-part design spaces, keep-out and keep-solid regions, and several load cases per part are planned.
Licence and citation
CC BY 4.0. Please cite ScriptCAD: https://github.com/rubenhekkens/scriptcad.
- Downloads last month
- 136