Examples: every part is a script
Every example that ships with DX-CAD is a short Python script, a model.py, with its numbers at the top. Pick one to see its picture and read the whole script.
Open any of them in DX-CAD, change a number and run it again. 24 examples:
Show only the examples that use:
Showing all 24 examples.
Bolt mateA bolt placed in a plate's hole by two mates, as docs/kernel.md shows it.
BracketA mounting bracket with four holes: the worked example of docs/examples/bracket.md.
ChannelA lipped channel, its width, depth and lips dimensioned to the outside.
ClipA cable clip, drawn with arcs.
Corner postA door corner post bent from one 1.5 mm sheet, with flanges on its flanges' edges.
DoorA door hung on one hinge sub-assembly used twice, from door-hinge.dxcasm.
Drawn bracketAn angle bracket with its drawing, drawn_bracket.dxcdrg, on an ISO A3 sheet.
EnclosureA box and its lid, two parts from one model.
Engine inline4Inline-four DOHC petrol engine, cut away.
FlangeA pipe flange with a bolt circle.
FunnelA funnel, a thin wall turned about its axis.
GearboxA two-stage helical speed reducer, its cover cut away to show the gear train.
HandleA bent handle, a round bar swept along a path.
KnobA scalloped knob with a pocket for a captive nut.
Mated enclosureA round enclosure whose lid is placed on its base by two mates.
Mitred doorA 1000 x 800 cabinet door bent from 2 mm steel, its return lips mitred at the corners.
Race car frameA Formula Student race car: tubular spaceframe chassis and running gear.
RackA welded rack frame on castors, from plain parts.
Relieved trayA sheet metal tray with two relieved flanges and two holes in its base.
Robot armA six-axis industrial robot arm in a working pose, with a parallel gripper.
Sheet doorA cabinet door bent from 1.5 mm mild steel, with flanges and return lips.
Steel structureA two-level industrial steel platform, 3 x 2 bays.
Tight fitsA shaft in a housing with two collars and a cover, at fits of 0.05 to 0.2 mm.
TrayA sheet metal tray, a flange bent up on each edge of its base.