Why sand3d

Fewer tokens for the same object

The token figure, part by part. Every program is counted the same way: o200k_base tokens, code only (docstrings and comments are not counted). A ratio is the other program's tokens over sand3d's.

compared withwho wrote itnmedian ratio
Blender Pythonwritten by an LLM30 CAD parts4.0×9 of 30 build the right part
CadQuerythe dataset's own programs (Zero-To-CAD)17 CAD parts2.3×synthetic programs, generated for the dataset
FeatureScript (Onshape)the dataset's own programs (CADFS)13 CAD parts6.0×real designs from public Onshape documents
Articraft's Python SDKthe dataset's own programs12 articulated objects2.0×5 of 12 also use CadQuery; they also declare masses and inertias

Who wrote what:

Not compared: objects that come as meshes (Objaverse-type assets): no program exists to set beside sand3d's; the articulated objects in Blender Python: none was written; the CADFS parts in CadQuery: their source is FeatureScript.

30 CAD parts

partsourcesand3dBlender Pythonright partratiosource programratio
a block with a side window open at its bottom, two rib slots under its +Y edge and a hole drilled on that edgeZero-To-CAD-1m d9657ce8-4340-baf8-564c-24ef95b451b9330862yes2.6×CadQuery 5021.5×
a quarter-torus pipe elbow, its inlet chamfered, a hole drilled into the inlet, every edge softenedZero-To-CAD-1m b8c707fe-e962-4eb1-8bc9-3465761f23b42211084no4.9×CadQuery 5572.5×
a ring notched round its outside, the notches only through its lower half, their four vertical edges chamferedZero-To-CAD-1m 0d84288b-5014-5b32-4355-9452883f472d339996no2.9×CadQuery 4151.2×
an L bracket: a bar and a flange, and on top a rib following their L, grown 2 mm all roundZero-To-CAD-1m 524d6a9e-b1a8-7a81-3809-d7eea0424235181525no2.9×CadQuery 4122.3×
a block drawn in inches' worth of millimetres, then scaled by 2.54CADFS 00400706110336yes3.1×FeatureScript 6826.2×
a large turned body: one outline revolved about a line of its ownCADFS 004210689271817no2.0×FeatureScript 45314.9×
a round flange with four holes on a square, its top edge roundedZero-To-CAD-1m b88686f2-ac53-4a3f-cb64-13d4b758199d1411068no7.6×CadQuery 8145.8×
a small hexagon with a wing on each side, one the mirror image of the other, their vertical edges roundedZero-To-CAD-1m 825dca76-e226-7c8f-a08f-59371e559adf2171355no6.2×CadQuery 2831.3×
a long rod, a rounded-triangle collar at its end, three pins standing on the collar, their tips cut to pointsCADFS 008781173851630yes4.2×FeatureScript 26336.8×
a thin tube along Y, its outer rims rounded, a pin hole through its wall near one end, that hole's outer mouth chamferedZero-To-CAD-1m b7779e11-5886-fad1-7792-b970ba0f615e2331193no5.1×CadQuery 4792.1×
a square frame with a rounded window, two holes on its middle line, four drilled holes at its corners and a blind hole driven into its -Y side along its top edgeCADFS 003051032281048yes4.6×FeatureScript 294412.9×
a closed round box, hollow inside, a slot through its +X side, a boss floating in the hollow and a forest of thin rods standing through it, top to bottomZero-To-CAD-1m 960d943d-5d36-c68d-54e6-e4271e4d24ec319892no2.8×CadQuery 5371.7×
a bored disc, every edge chamferedZero-To-CAD-1m 2bc02539-1e01-57fc-1095-3a4475a6b63e941421no15.1×CadQuery 3393.6×
an elliptical plate, its top edge rounded right through its thickness, the word "Rato" standing on itCADFS 00466650290808no2.8×FeatureScript 8442.9×
a bored disc, its top edge cut back by a long, shallow chamfer, both edges of the chamfer roundedCADFS 00211684117623no5.3×FeatureScript 11579.9×
a fork-like bracket: a T-shaped band with two legs, turned 40° about a far axis, and above it a notched plate, 25.4 thickCADFS 004565593381003no3.0×FeatureScript 19675.8×
half a turned ring, a small rib under it, an insert pin sticking out of its endZero-To-CAD-1m 6cc4cc5c-a504-8b54-5276-08afe080f807241981no4.1×CadQuery 3571.5×
a small drafted block, its bottom edges chamferedZero-To-CAD-1m 9728290b-d7bb-40ed-164a-ec6cf0f5447d158665yes4.2×CadQuery 5293.3×
a block with two holes off-centre, its vertical corners rounded and its top edges chamfered, holes includedZero-To-CAD-1m de5f2cdc-c1cf-076a-d8ea-e337668883631511454yes9.6×CadQuery 4102.7×
a hub eaten from below by a wide cone, the cone's edges rounded; eight holes round its top, a slot in its rim, six ribs half sunk in its sideZero-To-CAD-1m 2e1049b3-4bf1-6706-a401-6b8a76ffc082317944no3.0×CadQuery 4361.4×
a block with a flange on each endZero-To-CAD-1m 66f91767-51e3-c565-9b80-c45836127ee7115890yes7.7×CadQuery 3743.3×
a large panel, mirror-symmetric about Y = 0, its two top corners cut, two tall slots near each sideCADFS 00298573237498no2.1×FeatureScript 13405.7×
a tube with a long rounded slot right through it, across its axisCADFS 00115460254655no2.6×FeatureScript 9903.9×
a thin disc with twelve small notches round its rimCADFS 00374959151742no4.9×FeatureScript 10837.2×
a tall cover lofted through six rectangles that narrow and turn as they rise, rib grooves cut into its foot, its top and bottom edges roundedZero-To-CAD-1m 5ad9d45b-ea4f-8079-1186-76e3b8d6a1b12591129no4.4×CadQuery 6392.5×
a wall flange: a coned cup for a hub, a flange round it, a hole through the cup's point, its top edges chamfered and a ring of small knurls standing on its rimZero-To-CAD-1m 8719a024-46f7-2edf-2d5b-96f11059d3db2331146no4.9×CadQuery 9063.9×
an L bracket filled out by a gusset into a pentagon, its corners rounded, one countersunk hole near its inside cornerZero-To-CAD-1m 116f16d9-515f-52a8-74cb-ee98471dea71284975no3.4×CadQuery 5531.9×
a turned part: a flanged base and a tall thin sleeve rising from itCADFS 00577926154616yes4.0×FeatureScript 9276.0×
a tube standing at one end of a plate whose other end is square, a rib along the plate's middle, cut back on a slantCADFS 006384373571093yes3.1×FeatureScript 17184.8×
a square nut: a bored square block, the corners of both faces turned off by a 30° cone, a V-notch across its topCADFS 00266126315742no2.4×FeatureScript 27628.8×

12 articulated objects

objectsourcesand3dArticraft programratiouses CadQuery
a front-loading washing machine: a door on a hinge, an endless drum, a detergent drawer, an endless dialArticraft-10K rec_a-front-loading-washing-machine-with-a-white-rec_20260513_002941_547341_050bf63f74215382.1×yes
a double-leaf garden gate: two leaves on hinges, a mirror pair, and a drop bolt sliding down the right leaf into a socket in the foundationArticraft-10K rec_garden_gate_30e6e784533b4583ac23a37b85f64c86123228502.3×no
a compact refrigerator: two doors on one hinge line, opening by negative angles, and a thermostat dial turning in a control housing fixed under the dividerArticraft-10K rec_refrigerator_with_hinged_doors_eafdd7d9813b42fa80e8e2e8ff778665154132642.1×no
a compact keyboard: forty keys on plungers, a trackpoint on two crossed pivots, a media wheel on a fixed shaftArticraft-10K rec_keyboard_33e6828d32c148999830f99c31995d49162832582.0×no
a skateboard: two trucks steering on 45° kingpins, four endless wheels on the trucksArticraft-10K rec_skateboard_b74cde82df474176b7005c584ba8eb1370515052.1×yes
a floor task lamp: a head that swivels on the column, an arm that lifts on the head's yoke, a shade that tilts at the arm's tip — a revolute chain three deepArticraft-10K rec_articulated_task_lamp_e3b37e132fda4a8b848be4c5ba370d7e131921911.7×no
an XYZ Cartesian stage: an X carriage on the base's rails, a Y stage on the carriage, a column welded to the Y stage, and a table sliding up the columnArticraft-10K rec_xyz_cartesian_stage_9569f7654fbc435db20ac8bc588765a1127121131.7×no
a device on a tripod head: a pan, a tilt, a clamp that slides and its screw knob, two lock knobs; the legs and the device are fixedArticraft-10K rec_tripodmounted_device_a0b63454b90945138129d93d176264fc301641921.4×yes
compact theatre binoculars: two housings on a central hinge, a focus wheel that turns a full turn either way, two eyecups that twistArticraft-10K rec_binoculars_fc9fc306c6f8437683635fccb0369257146729172.0×no
a compact pickup tailgate: a gate on a lower hinge, two latch knobs and a work-stop bar that folds up from the gate's top edgeArticraft-10K rec_pickup_tailgate_be20bae3a83e40c386c21adab290f72d180836902.0×no
a rugged screw-cap bottle: a cap that turns and lifts on the neckArticraft-10K rec_screwcap_bottle_aa1625790e9e4236941bc4c2650955de131325201.9×yes
a bevel-to-spur transfer: an endless vertical input shaft drives, through an 18/18 bevel pair, a horizontal transfer shaft, which drives a parallel output shaft through an 18/24 spur pairArticraft-10K rec_gear_assemblies_65e1d6ce16ad4dd58dffa5c555c5680b177526751.5×yes

the source of this page: docs/readme/tokens.md

sand3d 1.6.2 · Apache-2.0 · source Sandflow