Here are a number of educational LEGO® sets with all the parts laid out in CAD software. This could be useful for a number of purposes, including designing things from parts in each set without physically having the set, or if you want to model something you've built from a set in CAD without having to go hunting for parts.
Orignially these sets were only available as .lxf files for use in LEGO® Digital Designer. However, since LDD is deprecated and has become increasingly difficult to run on modern systems, in July 2020 I added files for all sets in .ldr (LDraw) and .io (Studio) formats. Moving forward, the .ldr and .io versions should be considered the canonical versions for each set, and future sets will only be added with .ldr and .io files.
You are free to use these files however you like, create derivitave works, etc. I ask only that if you publish them or a derivitave work, you credit me with a link back to this page.
Note that the rechargable battery pack adds an additional unit to the height of the NXT and EV3 bricks. The models of the bricks in LDD show the bricks in their shorter configuration, using AA batteries, so you'll have to keep this in mind when modeling the NXT or EV3 bricks in LDD.
Studio file requires Philo's 'Spike Prime' parts pack. LDraw file is missing 28T gears.
Studio file requires Philo's 'Spike Prime' parts pack. LDraw file is missing 20T and 28T gears and curved racks.
The SPIKE Prime base & expansion sets, together in a single file. Studio file requires Philo's 'Spike Prime' parts pack. LDraw file is missing 20T and 28T gears and curved racks.
The EV3 Core & Expansion sets, together in a single file.
The NXT Base & Resource sets, together in a single file.
Note that the LXF versions of these sets may not include sensors or hubs.