DXF Profile Search for Aluminum Extrusion: Find the Die You Already Own
By the Viametrix team · Published November 17, 2026 · 9 min read
In short
- A new customer drawing often matches a die you already have. Finding it by file name or memory is slow and misses near-duplicates.
- DXF profile search compares shape, not names. Geometry-based search still matches rotated, mirrored and rescaled drawings; pixel comparison often does not.
- Before you buy any system, test it on 50 of your own profiles and count how often the correct die appears in the first results.
The question every extruder asks every week
A customer sends a profile drawing and asks for a price. Before anyone quotes, someone has to answer a simple question: have we made this profile before, and do we already own a die for it?
In most plants the answer lives in a mix of places: a folder of DXF files named by customer code, an ERP die list, a die-shop spreadsheet and the memory of one or two experienced people. That works when the archive holds a few hundred profiles. With thousands of dies, the same shape has been drawn by different people, saved under different customer codes and stored at different scales. Searching by name stops working, and the cost of a miss is a new die for a profile you could already press.
Three ways to search a profile archive
Not all "profile search" works the same way. The method decides what the system can and cannot find.
| Method | How it matches | Where it fails |
|---|---|---|
| Name and metadata search | File name, customer code, die number, dimensions typed into ERP | The same shape saved under another customer or code is invisible. Depends on clean data entry. |
| Image (pixel) comparison | Renders the drawing as a picture and compares pixels or contours | Sensitive to rotation, mirroring, scale, line thickness, dimension lines and title blocks. |
| Geometry (vector) search | Reads the profile outline and cavities from the DXF, turns the shape into a numeric vector and finds the nearest vectors in an index | Needs a one-time indexing of the archive. Quality depends on how well the encoder understands extrusion profiles. |
For a die archive, geometry search is the one that answers the real question, because two drawings of the same profile rarely share a file name but always share a shape.
How a DXF profile search works, step by step
Using PETRA AI as the worked example, this is what happens between uploading a drawing and deciding whether you need a new die.
- Index the archive once. Upload your existing drawings, in batches as ZIP files of up to 10,000 profiles. DWG files are converted automatically, so you do not need to export them to DXF first.
- Read the engineering features. For each profile the system detects whether it is solid or hollow, the cavity count, the outer dimensions and the wall thickness, and calculates the weight per meter (kg/m) from the geometry.
- Encode the shape. The outline is converted into a vector, a list of numbers that describes the shape independently of position, rotation and scale, and stored in a vector index (FAISS) built for fast nearest-neighbour search.
- Search with any drawing. Upload the customer's DXF or DWG, or a PNG/JPG. On the shop floor, a phone photo of a profile or a printed drawing works as the query through the iOS and Android app.
- Narrow the results. Filter the ranked matches by customer, die number, rack, press, solid or hollow, and cavity count.
- Compare before you decide. Overlay the query on a candidate to see the similarity percentage and where the shapes differ. Then decide: reuse the die, modify it, or design a new one.
In production PETRA AI reports 96.2% live-match accuracy, measured on die inventories between 2,000 and 80,000 profiles, and searches stay under three seconds on archives of more than 100,000 profiles.
Duplicate profiles: the hidden cost in every archive
Run any large archive through a geometry index and you will find groups of near-identical drawings saved under different codes. Each group is a risk: the next order for that shape may trigger a new die, a new trial pressing and a new correction loop, for a profile the plant has already proven.
A duplicate cleanup step lists those groups side by side so an engineer can choose which record to keep and remove the copies. In PETRA AI the die passport history is kept when copies are merged, so you do not lose the production record of the die you keep.
What to check before you trust the results
Vendor accuracy figures are measured on someone else's archive. Yours has its own drawing habits, title blocks and naming. Check these on your own data:
- Top-N accuracy on known pairs. Take about 50 profiles whose correct die you already know. Count how often the right die is first, and how often it is in the top five.
- Hard cases on purpose. Include rotated, mirrored and rescaled versions, drawings with dimension lines and title blocks, and a few photos taken on the shop floor.
- Solid versus hollow. A system that confuses a hollow profile with a similar solid one will send you to the wrong die family.
- Speed at your size. Measure search time with your full archive indexed, not a demo set.
- Where the drawings live. Customer drawings are often confidential. Ask whether the system can run on-premise or air-gapped; PETRA AI supports both.
- Integration. Check how die numbers and customers stay in sync with your ERP: a REST API, scheduled CSV exchange or standalone use.
- Who will use it. If sales, die shop and press operators all search, per-user licences add up quickly and a mobile app matters. PETRA AI is licensed without per-user or per-location fees.
From search result to die record
Finding the die answers the quotation question. Running the die well needs its history. A digital die passport keeps, for every die, the tonnage pressed, nitriding and revision history, a service timeline logged by operator, and the remaining life as a percentage of its target life. Intake, quarantine, weld and repair, caustic cleaning and scrapping are recorded in the same place, and the data exports to Excel or PDF for meetings and audits.
That turns the search result into a decision you can defend: this die exists, it has this much life left, and it was last corrected on this date.
A one-week pilot plan
- Day 1: Export a representative part of the archive (one press or one customer group) and index it.
- Day 2: Run the 50-profile test above and record first-result and top-five hits.
- Day 3: Review the duplicate groups the system finds and estimate how many would have led to a new die.
- Days 4 and 5: Let sales and the die shop use it on real enquiries and note every case where search changed the decision.
PETRA AI offers a 14-day free trial, which is long enough for this plan with time to spare.
Test it on your own archive
Bring a sample of your own profiles to the demo and see how they match. 14-day free trial, no credit card required.
Request a demo Try it now, no sign-upFrequently asked questions
What is DXF profile search?
DXF profile search finds existing extrusion profiles and dies by comparing the shape in a DXF drawing with the shapes in your archive, instead of relying on file names, customer codes or someone's memory.
Does a rotated, mirrored or rescaled drawing still match?
With geometry-based search, yes. The profile is compared by its shape, so a drawing that is rotated, mirrored or saved at a different scale can still find the same die. Pixel-based image comparison is much more sensitive to these differences.
Can I search with a DWG file or a photo instead of a DXF?
In PETRA AI, yes. DWG files are converted automatically on upload, and PNG or JPG images, including a phone photo of a profile or drawing, can be used as the query.
How do I test a profile search system before buying it?
Take about 50 real profiles whose correct die you already know, including rotated, mirrored and redrawn versions. Search each one and count how often the correct die appears in the first results, and how long the archive took to index.
Do my DXF files have to leave our network?
Not with PETRA AI. It can run on-premise, either as a hybrid set-up where drawings stay on your servers or fully air-gapped for high-security environments.
Related pages
- PETRA AI: AI-powered profile recognition and die management
- Digital die passport: extrusion die life tracking
- PETRA AI vs Eyespert: aluminum profile recognition compared
- PETRA AI vs Sendra: profile search engines compared
- Die management software for aluminum extrusion
- Find an extrusion profile from a photo
- Extrusion profile search software: a buyer's guide
- ExtrusionPower: 3D CAD, simulation and PDM for extrusion dies
About the author: PETRA AI is developed by Viametrix, which has built software for the aluminum extrusion industry since 2010, including ExtrusionPower, ExtrusionFlow and ExtrusionManager. Accuracy and speed figures are those reported for PETRA AI in production; results on your archive will differ, which is why we recommend the test above.