Skip to content

Are DWG drawings enough to train a CAD model?

OUR VIEW

Start with the task a CAD model must perform. Geometry and semantic clues in DWG files can support drawing-understanding tasks, while parametric modeling requires separately verified operation sequences, parameters and an execution environment.

On this page

A designer can open a floor plan and quickly point to a door. A model needs a more explicit task: will it receive an image or parseable geometry? Is locating the door leaf sufficient, or must it identify the opening in the wall? Without those decisions, a folder of working DWG files may remain just a file collection. Architectural material can support a focused experiment without promising a model that automates every design activity.

The same CAD label can refer to different learning objects

MaterialInformation it mainly preservesWhat it does not establish by itself
Spatial images and 2D drawingsAppearance, lines, text and potentially layer or block relationshipsA complete 3D solid or the process that created it
B-rep solidsGeometric boundaries described by faces, edges and their connectivityA unique original modeling sequence
Parametric operation sequencesOperations such as sketching and extrusion, their parameters and dependenciesThat every step executes correctly in the target software

DeepCAD learns operation sequences and distinguishes them from the final B-rep: different sequences can produce the same solid.[1] Fusion 360 Gallery combines geometry, construction programs and an execution environment; its reconstruction task accepts different programs that reproduce the same target geometry.[2] Reconstructing a usable model and recovering the designer’s original history are therefore different goals.

Both studies concern part-like 3D modeling with restricted operations. They do not establish effectiveness on architectural drawings. A DWG is not necessarily just an image either: it may retain parseable geometry, layers, blocks and text whose usefulness depends on the file. Our existing architectural listing concerns project images and DWG files. 3D conversion is an on-demand processing service, with no claim that parametric histories are already available.

Choose a task with a checkable answer: locate the opening

The following is a proposed teaching example, not a measured result on the existing samples. Begin with floor plans containing single-leaf hinged doors whose symbols have been reviewed by a person. For a fixed drawing region, predict the two endpoints of each doorway opening in its planar coordinate system. Opening direction, material and fire rating are separate tasks, not attributes to infer casually from a swing arc.

This definition gives annotators and evaluators the same object. The leaf outline, swing arc and opening in the wall are related but are not identical labels. A double-leaf door should not automatically count as two openings. Sliding doors outside the initial scope, unclear symbols and occluded instances should be marked as out of scope or awaiting review instead of forced into confident labels.

Spatial photographs may help a person understand the project. Sharing a folder does not establish that a photograph depicts the same room, plan or revision. Research on image–drawing pairing would require an additional check of viewpoint, region and version.

Every sample should lead back to one drawing revision

Define a sample by project, floor or drawing number, revision and region, rather than by an arbitrary crop. A crop can be the model input, but its location in the source must remain traceable. Bind the following four components together. This is a proposed contract for the task, not an industry-wide standard.

ComponentWhat to retain
Source materialDWG checksum, drawing number, revision and external references used; record missing dependencies
Model inputModel-space region or layout viewport, rendering software version, resolution and visible layers
TransformMapping from drawing coordinates to image pixels, including cropping, rotation, mirroring and scaling
Human labelsOpening endpoints, applicability status, review record and label version

For an image model, the rendered input and endpoint labels must derive from the same source revision. For a geometry-parsing model, declare which entity attributes are available. Block and layer names can be useful clues without being semantic ground truth. Exploded blocks, informal naming and hidden layers warrant particular review.

900 and 0.9 can describe the same physical length

Autodesk distinguishes model space from paper space, where layout viewports display scaled views of the model.[3] Coordinate values do not themselves specify millimeters or meters, and entered coordinates may reference a movable UCS rather than the fixed WCS.[4] Plot scale, the current coordinate display and the physical units of training labels are different things.

Consider a constructed example. Two endpoints 900 drawing units apart represent 900 millimeters only after the millimeter convention is confirmed. In another project, 0.9 units may represent the same length if units mean meters. This is not a door-size standard. Cross-check unit records, known dimensions and actual geometry. Where they disagree, retain an issue record instead of rescaling automatically because an object looks like a door.

For this task, coordinates can be standardized to millimeters in a specified plane while retaining original coordinates and transformation parameters. Map predicted endpoints back onto the source drawing to reveal flipped axes, crop offsets or scaling errors. Changing image resolution alone should not move the same doorway in physical space. Check this round trip before labeling at scale.

Resolve annotation disagreements, then separate test projects

Have annotators independently label a small set covering different drawing conventions. Turn disagreements into explicit rules: where an opening ends, how to handle angled doors and whether a decision is possible when wall lines are missing. Retain disputes and the fraction of undecidable instances. Filling every label is less useful than knowing where the evidence is insufficient; an annotation guess becomes a training target.

Split training, tuning and final evaluation by project and by copying or revision relationships. Different revisions, adjacent crops and repeated floor-plan layouts should not cross the split merely because their filenames differ. If the intended use is another design company, include that kind of unseen source in evaluation. With only one project, describe the work as a within-project experiment.

Evaluate localization, not whether the files open

Treat each opening as an unoriented segment. For each of the two endpoint correspondences, take the larger endpoint distance as its error, then keep the smaller of those errors; reversing endpoint order must not count as a mistake. Use the predefined tolerance to match openings one to one, reporting misses, false detections and endpoint error separately. Ignore human-undecidable regions under rules fixed in advance; do not label them as no-door negatives. Within the confirmed label scope, model abstentions count as uncovered, and the corresponding unlocalized openings remain misses. Report coverage as well. Choose the tolerance for the intended use and drawing precision, not from an unrelated paper’s metric.

If deployment permits reading DWG files, compare layer/block rules and learned methods on the same test set. If deployment accepts images alone, do not quietly supply CAD attributes available only on the labeling side. Inspect errors by rotation, occlusion and drawing convention, and record human review time. A task already handled adequately by rules may not need a more complex model.

A reproducible improvement on independent projects supports expanding data for that task. If failures mainly come from mismatched revisions, units or labels, fix those first. If the goal changes to 3D generation, reassess solids, operation sequences and execution requirements. Those checks determine what the drawings can actually teach.

References

  1. DeepCAD · arXiv v2, 2021-08-16, §3.1 and §5
  2. Fusion 360 Gallery · arXiv v2, 2021-05-17, §3, §5 and §7.1
  3. Autodesk · About Model Space and Paper Space
  4. Autodesk AutoCAD 2026 · About Coordinate Entry

Read next

All articles

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…