Dangerously Average Approaches

One Scan, Three SolidWorks Parts, and an Egg That Wouldn’t Pick a Side

I had an egg-shaped white ring that I needed to turn into usable geometry for a work project. So I scanned it on a Xerox at 400 dpi and emailed myself the PDF. The machine had sent an email. There was a document. This had all the outward appearances of progress. Naturally I assumed I could just open illustrator and POOF, the power of Adobe would just do what I wanted. Sadly I don’t speak native Illustrator, and well everying seemed cumbersone, or every shortcut needed me to hold down like 3-1/2 keys.

So I went to what makes sense, I just posted the image to Nova (We are in an Open AI Relationship) and I asked her to just do it. This was perfect because Dean was asking about the difference between and Egg and a Pebble. So as she worked, I chatted Dean. As expected she returned an SVG, and opening that was considerably easier than personally becoming an expert in tracing an egg.

I did eventually have to open illustrator, and that was just to Save the SVG as a DXF, or well export the SVG as a DXF. From there I was off to SolidWorks.

The Vector that Nova gave me was not exactly symetrical, so in Solidworks I used the same outline, and used it mirror over the left side of the egg, the right side of the egg, and then a blended shape of both the left and right sides. All said and done I had three eggs from the same outline.

So yes, this one actually involves SolidWorks and life. Admittedly, the life portion happened at work. It still counts. They have a considerable amount of my life over there.

A PDF Is a Container. Sometimes It Contains Homework.

A scan is made of pixels: little squares recording what the scanner saw. Vector artwork describes paths and curves instead. Those curves give another program something it can edit and work with, rather than just a picture to admire.

A PDF can have pixels or vectors. In this case despite how Dean feels, emailing an engineer a scan does not automatically make it a production print.

The ring had a rounded top, a flatter bottom, and a band that was not perfectly uniform. A regular ellipse with a thick outline would have been easy to draw, but it would have replaced the actual shape with something more mathematically cooperative.

Scanned white egg-shaped ring on a dark background, showing a rounded top, flatter bottom, and uneven band width.
The original scan. Egg-shaped, slightly uneven, and about to become three SolidWorks parts.

Nova Did the Tracing. I Opened the File.

The useful part of Nova’s SVG was that it described both boundaries: the outside of the ring and the inside of the opening. That matters because the band does not have exactly the same width all the way around. Capturing only one edge would leave me to invent the other.

SVG stands for Scalable Vector Graphics. In this case, it was a convenient way to hand me editable curves. The ring was represented as a compound path, which is artwork with a genuine opening through the middle. The hole belongs to the shape; it is not just a patch of background-colored paint covering the center.

I did not trace it again in Illustrator. Nova had already done that part. My contribution was recognizing that an existing file was a perfectly respectable alternative to additional mouse work. One small tip if you try something similar: white artwork on a white artboard can look remarkably like an empty document. Switch to Outline view or temporarily change the fill color before concluding that the file contains nothing. Excellent camouflage is not the same as missing geometry.

Save As? No, Export. Because Adobe.

I opened the SVG in Illustrator and exported a DXF. I would normally say I saved it as a DXF, but that would be incorrect. Exported. Because Adobe.

DXF is a drawing exchange format that CAD programs can use to pass geometry around. Illustrator was the translator in the middle: Nova supplied the SVG, Illustrator exported the DXF, and SolidWorks could open that DXF as the starting point for a part.

For the Illustrator portion, use File → Export → Export As and select the AutoCAD Interchange File/DXF format. Pay attention to the units and scale in the export options. Adobe documents the available DXF export settings here.

In SolidWorks, I opened the DXF as a part and used the imported geometry as my base. If you are following this route with a flat outline, the DXF/DWG Import Wizard lets you import it into a new part as a 2D sketch. That gets the curves into the environment where you can work on the part. You can also lock this sketch so that is not editible. I like to just a new sketch on the same plane, and convert entities, This way I can always get back to ground zero.

The file conversion gets you through the door. It does not automatically decide which dimensions matter, where the center belongs, or whether the shape ought to be symmetrical. Those are still engineering decisions. Apparently, I had retained some responsibilities.

The Egg Had Two Sides to the Story

Once I had the geometry in SolidWorks, it was not perfectly symmetrical. The left side and right side did not match exactly.

That does not, by itself, tell me whether the difference came from the original object, the scan, or the tracing. What it does tell me is that the imported outline is a starting point. A trace follows the shape it sees. It does not necessarily know which irregularities I want to keep.

So I made three parts. One used the left side mirrored across to make the other half. One used the right side mirrored across. For the third, I mirrored both sides and blended the shapes together.

One egg. Three interpretations. I had apparently started a very small design committee.

How Mirroring Actually Solves the Problem

Think of a centerline as the fold in a piece of paper. If you draw half a shape on one side and reflect it across that fold, the other half matches. In CAD, mirroring does that reflection without asking you to trace the second side by eye.

For a sketch-based version of this approach, establish the intended centerline, keep the half you want to use, and mirror its geometry across that line. SolidWorks’ Mirror Entities tool handles that operation. For a ring, remember that both the outside boundary and the inside boundary need attention. You just have to make sure that you have horizontal (or vertical) Tangent line to get the spline to flatten out.

The left-derived part answers one question: what would the whole shape look like if the left half supplied the geometry? The right-derived part answers the same question using the other half. Both can be symmetrical and still produce different shapes. Symmetry does not tell you which one is right for the job.

That is why the third version was useful. I used both sides as the basis and blended the shapes together. Here, “blended” describes what I did with the geometry; it is not a claim that SolidWorks has a special Fix My Egg button. I would have found that button much earlier.

The practical point is to compare the alternatives instead of assuming the first mirrored half must be the correct one. Preserve the imported outline as a reference, look at where the versions differ, and decide which contour suits the purpose. If you are smoothing between curves, also check that their joins are continuous and that you have not introduced a kink or a gap.

I am keeping this example to the outline and the method. The particular work application is not needed to explain why making three versions helped.

Four Hundred DPI Is Still Not a Dimension

There is one useful check that belongs in this workflow regardless of which side wins. The scan started at 400 dpi, but the image supplied in the chat was a WebP copy. The original scan setting alone does not establish the physical size of the SVG, the exported DXF, or the imported part.

To get around this I first crated my sketches, THEN scaled down the part. You can go the other way I guess, but I wanted to keep the original imported sketch pure, and not mess with it.

For a similar project, check a known measurement after import. Overall width is a convenient starting point; overall height gives you a second check on the proportions. Keep the units consistent through the export and import. A clean curve at the wrong size is still the wrong size. It has simply become easier to dimension.

Also inspect the imported curves for gaps, duplicate entities, and overlaps before building further features from them. SolidWorks provides Repair Sketch for import cleanup when needed. These are checks worth doing, not a claim that every DXF arrives broken or that they were all problems in this particular file.

The Computer Traced It. I Still Had to Decide.

The route ended up being straightforward: scan the ring, have Nova produce the SVG, open it in Illustrator, export the DXF, and bring that into a SolidWorks part. Then use the imported shape to develop the three versions.

What made the process useful was letting each tool do a manageable piece of the job. Nova got me past the tracing. Illustrator handled the format conversion. SolidWorks gave me a place to work through the geometry and compare what happened when I trusted one side, the other side, or a combination of both.

There is still judgment involved. A file opening successfully is a useful milestone, but the shape you want to make may need more thought than the shape you scanned. Dean in Sales can have the PDF. I will keep the three part files until we have settled which egg we actually want.

Until next time, check your geometry, give both sides a fair hearing, and keep your approaches Dangerously Average.

Leave a comment