Skip to content

Drawing to SolidWorks

In development
See Drawing to 3D CAD

Upload the part drawing as PDF, DXF or image and get a macro that builds it in SolidWorks with its feature tree, or the STEP to open it directly. For turned parts and 2.5D milled parts.

The AI apps are in development, with launch expected in January 2027. Meanwhile, you can use the shop apps for free.

Interactive example

This is what a drawing looks like as a 3D part

Rotate the part, check the dimensions, section it to see inside and measure between two points. With your own drawing you can also edit the dimensions and download STEP, STL, DXF or GLB.

Create free account
6022Groove 3 × Ø4016Ø30Ø44Ø56Ø18 × 35Ø12Ø6 through2×45°A/F 262 flatsUnspecified chamfers 1×45°
Sample drawing: steel bushing with a stepped bore, groove, cross hole and two wrench flats.
Your browser cannot display 3D graphics. You can still download the part as STEP or STL.
Weight in steel: 0,58 kg

Guide

How to turn a 2D drawing into a SolidWorks part with its feature tree

Upload the part drawing as PDF, DXF or image. GetGCode reads it, builds the 3D part and gives you a macro that creates it in SolidWorks step by step: sketches, revolve or extrude, cuts and holes, each feature named in the tree. If you'd rather not run macros, download the STEP and open it directly.

1

Upload the drawing and check the part

DXF is read exactly, without AI. With a PDF, a photo or a scan, the AI reads diameters, lengths, pockets, holes and threads, and flags doubtful dimensions instead of making them up. Before downloading you adjust any dimension, see the weight for the material and check every dimension against the drawing.

2

Download the macro and run it in SolidWorks

Under «Download» choose «SolidWorks with history». In SolidWorks: Tools → Macro → Run, set the file type to «SW VBA Macros (*.swb)» and open the file. The macro creates a new part and, when it finishes, a message tells you what it built and whether anything failed. Reference planes are found by their order, not their name, so the language of your SolidWorks doesn't matter.

3

What you get in the tree and what is left to do by hand

A turned part arrives as a sketch and revolve, with bores, grooves and holes as revolved or extruded cuts; a plate arrives as an extruded boss with its pockets and holes. Threads come as the tap drill and the final message lists them so you can add them with the Hole Wizard; bolt-circle holes come as separate cuts, and plate fillets or chamfers are listed to be done by hand. The macro is experimental: if something doesn't work in your version, the STEP of the same part always works.

Frequently asked questions

Frequently asked questions about turning a drawing into a SolidWorks part

Can I open a PDF in SolidWorks as a 3D part?

Not directly: SolidWorks opens a PDF or DXF as a 2D drawing, and the solid has to be sketched and modelled by hand. This tool does that work: it interprets the drawing, lets you correct the dimensions and generates the part, either as a macro with its feature tree or as a STEP.

What's the difference between opening the STEP and running the macro?

The STEP arrives as an imported solid with no history: you change it with direct editing. The macro builds the part with its feature tree, each feature named, so you can edit a cut, change its depth or suppress it as if you had modelled it yourself.

Are the sketches dimensioned?

In SolidWorks the sketches are created with the exact geometry but without dimensions for now: to change a size you edit the sketch or the feature. If you need fully dimensioned sketches, the Fusion 360 and FreeCAD exports already include them.

What about threads?

They come as the tap drill, as in the STEP. The final message lists each thread (for example, M8) so you can add it with the Hole Wizard in the same place.

What parts can it build?

Turned parts (shafts, bushings and stepped parts with chamfers, radii, grooves, bores and radial holes) and 2.5D milled plates with outline, pockets, holes and threads, including on the side faces.

Is it free?

Reading the drawing with AI is part of the Pro tier, because it has a real cost. If the part is simple, you can design it from scratch in Text to CAD, free with an account, and download it for SolidWorks just the same.

Keep going

Related apps

Drag and drop to place the chat in the nearest corner. You can also use the arrow keys when this control is selected.