Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
9
9
png
imagewidth (px)
556
4.83k
svg
stringlengths
9k
367k
python
stringlengths
492
7.53k
cadp-0000
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-378.71 -191.04 1240.61 877.2" width="1240.61" height="877.2"> <style id="drawing-style"> .paper{fill:#fff;stroke:none} .visible{fill:none;stroke:#000;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round} .hidden{fill:non...
import math import cadquery as cq plate_w = 115 plate_h = 45 thickness = 3 bl_fillet_r = 5 br_fillet_r = 5 tr_fillet_r = 5 tl_fillet_r = 5 # hole centers measured from the plate's lower-left corner hole1_x = 23 hole1_y = 11 hole1_d = 8 result = (cq.Workplane("XY") .moveTo(bl_fillet_r, 0) .lineTo(plate_w - br...
cadp-0001
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="-348.47 -177.55 1038.99 734.64" width="1038.99" height="734.64"> <style id="drawing-style"> .paper{fill:#fff;stroke:none} .visible{fill:none;stroke:#000;stroke-width:1.73;stroke-linecap:round;stroke-linejoin:round} .hidden{fill:...
import math import cadquery as cq plate_w = 160 plate_h = 120 thickness = 2 # hole centers measured from the plate's lower-left corner hole1_x = 61 hole1_y = 68 hole1_d = 12 # slots through the plate: center, length end to end, width (round ends) slot1_x = 20 slot1_y = 48 slot1_len = 41 slot1_w = 16 slot2_x = 129.5 ...
cadp-0002
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-5(...TRUNCATED)
"import math\nimport cadquery as cq\n\nplate_w = 45\nplate_h = 45\nthickness = 4\nbl_fillet_r = 2\nb(...TRUNCATED)
cadp-0003
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-2(...TRUNCATED)
"import math\nimport cadquery as cq\n\nplate_w = 60\nplate_h = 30\nthickness = 10\n\n# hole centers (...TRUNCATED)
cadp-0004
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-4(...TRUNCATED)
"import math\nimport cadquery as cq\n\nplate_w = 180\nplate_h = 65\nthickness = 8\n\n# hole centers (...TRUNCATED)
cadp-0005
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-4(...TRUNCATED)
"import math\nimport cadquery as cq\n\nplate_w = 90\nplate_h = 65\nthickness = 3\n\n# hole centers m(...TRUNCATED)
cadp-0006
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-4(...TRUNCATED)
"import math\nimport cadquery as cq\n\nplate_w = 65\nplate_h = 60\nthickness = 6\ntl_fillet_r = 6\n\(...TRUNCATED)
cadp-0007
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-3(...TRUNCATED)
"import math\nimport cadquery as cq\n\nplate_w = 90\nplate_h = 60\nthickness = 2\n\n# hole centers m(...TRUNCATED)
cadp-0008
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-2(...TRUNCATED)
"import math\nimport cadquery as cq\n\nplate_w = 135\nplate_h = 60\nthickness = 6\ntl_fillet_r = 4\n(...TRUNCATED)
cadp-0009
"<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"-5(...TRUNCATED)
"import math\nimport cadquery as cq\n\nplate_w = 140\nplate_h = 135\nthickness = 10\ntr_fillet_r = 4(...TRUNCATED)
End of preview. Expand in Data Studio

CAD Drawings (preview)

Preview. 100 rows to show the format. A larger release with more part types, difficulty tiers and restyled ("dirty") versions will follow. Columns and contents may change.

Procedurally generated mechanical parts, each with a dimensioned multi-view engineering drawing and a CadQuery script that builds the part. Parts so far: plates with holes, slots and chamfered / rounded corners, with lugs, uprights, gussets and bosses.

Columns

column content
id row id
png the drawing, rendered
svg the same drawing as SVG
python CadQuery script; running it leaves the solid in result

The parts in this preview

parts

One part, different dimensioning

The same part can be dimensioned in several correct ways (baseline, chain, from a hole's edge, mixed). Read from the drawing, the script's numbers come out differently each time, while the solid is the same.

same part, four dimensioning schemes

One drawing, restyled

Drawings can be restyled after the fact: colors, line weights, fonts, paper grime and small rotations (at most ±2°).

restyles

Notes

  • Rows are provided as-is.
  • License: to be decided before the full release.
Downloads last month
71