← 블로그

STL을 STEP으로 변환하는 법 — Mesh-to-BRep 현실

How to convert STL to STEP — MakerSuite 3D

STL → STEP은 변환이 아니라 재구성

STL 파일은 삼각형 메쉬, STEP 파일은 경계 표현(B-rep) — 정확한 수학 곡면. STL에서 STEP으로 가려면 수천 개 평평한 삼각형을 보면서 원래의 실린더·평면·NURBS를 복원하는 작업입니다. 파일 포맷 변환이 아니라 역공학 문제. 메쉬 생성 시점에 원래 곡면 정보가 이미 버려졌기에 무손실 STL→STEP은 존재하지 않습니다. 그래도 다른 CAD 부품과 어셈블리하거나 CNC 샵으로 넘길 STEP을 얻는 실용적 워크플로우는 있습니다. 이 글은 실제로 쓸 만한 네 가지 옵션 — FreeCAD·Fusion 360 Mesh-to-BRep·Geomagic Design X·CAD 재작성 — 과 각각이 정답인 시점을 정리합니다.

STL과 STEP이 실제로 저장하는 것

STL 파일은 삼각형의 평면 리스트, 각 삼각형은 정점 3개와 노멀로 정의. ASCII STL은 텍스트, 바이너리 STL은 삼각형당 50바이트 레코드. 곡면 연속성 없음, 파라메트릭 히스토리 없음, '이건 실린더다' 같은 개념 없음 — 그냥 삼각형 자루. STEP(ISO 10303-21)은 B-rep 지오메트리 저장: 모든 면의 정확한 수학 방정식(평면·실린더·원뿔·토러스·NURBS 곡면), 각 면의 경계 곡선, 그리고 이걸 잇는 토폴로지. STEP 실린더는 한 면·한 방정식, STL 실린더는 그 면을 근사한 200개 삼각형. STL→STEP은 삼각형 클라우드에서 원래 방정식을 추론하는 일 — 단순 프리미티브는 가능, 유기적 형상은 어려움, 노이즈 섞인 스캔 데이터는 수동 클린업 없이는 불가능.

각 도구가 실제로 하는 일

  • FreeCAD무료·오픈소스. Mesh > Convert to Solid 가 STL 전체를 곡면 분해 없는 단일 STEP 면으로 만듦. 결과: 편집 안 되는 큰 바디 하나, CAM에는 쓸 만하지만 파라메트릭 편집은 안 됨. 어떤 STL이든 — 더러운 것까지 — 동작.
  • Fusion 360 Mesh-to-BRepPersonal 라이선스 무료. Mesh 워크스페이스 > Modify > Convert Mesh, Faceted(삼각형마다 면 — 쓸모없음)·Prismatic(평면·프리미티브 검출, 엔지니어링 부품에 좋음)·Organic(T-spline fit, 스컬프트에 좋음) 중 선택. Prismatic 모드는 삼각형 ~50,000개 한도.
  • Geomagic Design X유료(라이선스 ~$15K). 업계 표준 역공학 툴. 영역 검출·프리미티브 피팅·곡면 로프트 — 스캔 데이터에서 깨끗한 파라메트릭 STEP 생성. 항공·의료기기 분야가 실물 부품 디지털화에 사용.
  • OpenSCAD / Blender이 작업용으로 설계 안 됨. OpenSCAD는 STL만 출력, Blender의 CAD 애드온은 메쉬 모디파이어 래퍼라 진짜 B-rep 안 만듦. STL→STEP에는 패스.
  • MeshLab + 커스텀 워크플로우오픈소스 메쉬 리페어(스무딩·데시메이션·홀 필링) 후 FreeCAD나 Fusion으로. 노이즈 섞인 스캔 데이터에 유용하지만 mesh-to-BRep 본질 문제는 못 바꿈.
  • 온라인 컨버터(MakeXYZ·Convertio·AnyConv)전부 서버 사이드에서 FreeCAD나 OpenCASCADE 래핑. FreeCAD 로컬 실행과 결과 동일, 단지 지오메트리가 제3자에게 업로드됨. NDA 작업에는 쓰지 말 것.

다섯 단계로 접근

  1. Open pcbviewer.app — STL을 MakerSuite 3D에 먼저 드롭해서 점검. 삼각형 5K 미만에 평평한 곡면이 명확하면 prismatic 변환이 동작, 100K 초과거나 유기적 형상이면 Fusion organic 또는 변환 자체를 포기.
  2. 가장 쉬운 길부터 — FreeCAD의 Mesh > Convert to Solid. CAM/CNC 핸드오프용 닫힌 STEP만 필요하면(파라메트릭 편집 불요) 몇 초 만에 끝남. 출력은 편집 불가 단일 셰이프지만 지오메트리는 정확.
  3. 편집 가능한 CAD가 필요하면 Fusion 360에서 STL 열고 Mesh 워크스페이스, Convert Mesh 실행. 엔지니어링 부품(브래킷·인클로저)은 Prismatic, 스컬프트 형상은 Organic. 면 카운트 톨러런스 조정 — 너무 낮으면 디테일 손실, 너무 높으면 관리 불가능한 곡면 수.
  4. 결과 검증 — STEP을 다시 export 해서 원본 STL과 함께 MakerSuite 3D에 드롭. 시각 diff로 mesh-to-BRep 도구가 조용히 끼워넣은 누락 피처·잃은 홀·곡면 아티팩트를 CNC 샵 출하 전에 잡아냄.
  5. 변환된 STEP이 충분히 편집 가능하지 않으면, STL을 시각 언더레이로 깔고 CAD에서 다시 만드는 게 정답. Fusion·SolidWorks·Onshape 모두 지원 — STL 임포트 후 레퍼런스 바디로 잠그고 그 위에 스케치. 변환보다 느리지만 편집 히스토리 살아있는 진짜 파라메트릭 CAD.

변환된 STEP을 제조에 보내기 전, 원본 STL과 새 STEP을 MakerSuite 3D에 같이 드롭 — mesh-to-BRep 도구가 조용히 끼워넣은 곡면 아티팩트와 누락 피처를 시각 diff로 잡아냄.

MakerSuite 3D 무료로 써보기

왜 STL → STEP이 제조에 중요한가

대부분의 CNC 샵·판금 벤더·사출 성형 업체는 STL이 아닌 STEP/IGES 요구. STL은 슬라이서가 삼각형 메쉬를 네이티브 처리하니 3D 프린팅엔 OK지만, CNC 밀을 돌리는 CAM 오퍼레이터는 깨끗한 툴패스를 만들려고 연속 곡면이 필요. CNC 샵에 STL 보내면 보통 샵이 변환비를 추가 청구하고, 변환은 근사이고, 최종 부품은 기대와 안 맞는 핑퐁이 시작됩니다. STL→STEP을 직접 하면 — 완벽하진 않더라도 — 지오메트리 통제권을 유지하고 샵의 역공학 비용을 아낍니다. 솔직한 워크플로우: 할 수 있는 한 최선의 변환을 하고, 제조 PO 사인 전에 원본 STL과 시각 비교.

STL → STEP이 정답인 경우

  • 3D 프린트 프로토 → CNC 양산 — 브래킷이 PLA로 됐고 이제 알루미늄으로 가는데 STL밖에 없을 때
  • 오픈소스 하드웨어 통합 — Thingiverse 모델을 내 CAD 디자인과 어셈블리해야 하는데 소스 파일 없을 때
  • 레거시 아카이브 복구 — 옛 프로젝트가 소스 잃고 STL만 버전 컨트롤에 남아있을 때
  • 스캔된 부품 디지털화 — 실물 부품을 STL로 스캔, 재설계나 역공학을 위해 CAD 모델 필요
  • 툴 간 협업 — 파트너가 STL 보냈는데 우리 팀이 SolidWorks/Inventor 쓰고 B-rep 입력이 필요

브라우저에서 업로드 없이 검증

STL이나 STEP 형태의 기계 설계는 보통 독점 지오메트리를 담음 — 제품 인클로저·마운팅 브래킷·내부 메커니즘. 온라인 STL→STEP 컨버터는 파일을 서버에 올려야 해서 NDA 작업에는 즉시 탈락. MakerSuite 3D는 두 포맷 전부 JS와 OCCT WASM으로 브라우저 안에서 파싱 — 서버·업로드·캐시 사본 없음. 한 탭에 원본 STL, 다른 탭에 변환된 STEP, 시각 비교. 지오메트리는 머신 밖으로 안 나가고 변환은 본인 통제 하의 도구(FreeCAD·Fusion)에서 발생.

자주 묻는 질문

Can you really convert STL to STEP?

Not losslessly. STL stores triangulated surfaces — a mesh of flat triangles approximating the original geometry. STEP stores boundary representation (B-rep) — exact mathematical surfaces (planes, cylinders, NURBS) and their topology. Going mesh → B-rep requires reconstructing the surfaces from triangles, which is genuinely hard and always lossy. Tools like FreeCAD's 'Convert to solid' or Fusion 360's 'Mesh to BRep' work for clean primitive shapes (boxes, cylinders, simple revolutions), but freeform organic STLs (sculpts, scans, complex 3D prints) come out as one giant unedited shape with thousands of triangle facets baked in. The honest answer is: STL→STEP is a workaround, not a real conversion. If you need editable CAD geometry, recreate the part in CAD using the STL as visual reference.

When does STL to STEP actually work well?

When the STL was generated from CAD primitives in the first place. If someone exported a simple bracket, mounting plate, or enclosure as STL and you need it back in STEP for assembly with other CAD parts, mesh-to-BRep tools can usually reconstruct it cleanly. Look for these signs: low triangle count (under 5,000), flat or single-curvature surfaces, sharp edges between faces. STLs from MRI scans, photogrammetry, or sculpting tools (ZBrush, Blender) will not convert into useful STEP — the surface complexity is in millions of triangles with no underlying primitives to recover.

Is there an online STL to STEP converter that works?

Yes, several exist (MakeXYZ, Convertio, AnyConv) but they all run the same FreeCAD or OpenCASCADE algorithms server-side. The result is identical to running FreeCAD locally — and you upload your geometry to a third party. For sensitive designs, install FreeCAD (free, open-source) or use Fusion 360's free Personal license and run the conversion locally. For viewing and verifying, MakerSuite 3D opens both .stl and .step files in the browser without uploading — useful for previewing the input STL and the converted STEP side by side before committing to a manufacturing handoff.

Why is mesh-to-BRep so hard?

B-rep surfaces are continuous mathematical equations — a cylinder is one equation, a plane is one equation. A triangle mesh approximates these with thousands of tiny flat polygons. Reverse-engineering means looking at a cloud of triangles and inferring 'these 200 triangles are actually one cylinder of radius R centered at (x,y,z)'. Algorithms (RANSAC primitive detection, region growing, NURBS fitting) work but require clean input and produce 'best fit' surfaces, not the original. Fusion 360's parametric Mesh-to-BRep uses prismatic/organic mode flags to bias toward primitives or freeform — neither is perfect. Industry tools like Geomagic Design X exist specifically for this problem and cost thousands of dollars.

What's the right workflow if I need to edit a 3D print model in CAD?

Best to worst: (1) Get the original CAD source — ask the designer, check Thingiverse for source files, look for .step or .f3d files. (2) Recreate in CAD using the STL as a visual underlay — Fusion 360, SolidWorks, and Onshape all let you import an STL as a reference body and sketch over it. (3) Use Fusion 360 Mesh workspace to remesh, simplify, then convert prismatic regions to BRep. (4) Last resort: STL → STEP via FreeCAD as a single shape (one closed body, no editable features, no parametric history). Manufacturing handoff to CNC shops still works because the geometry is closed, but you can't change anything without going back to mesh editing.

관련 글

STL vs 3MF vs OBJ — Which 3D Format Should You Use?STEP File Viewer Online — Open .step and .stp FilesHow to Fix Non-Manifold STL Files

STL이나 STEP 드롭 — 시각으로 변환 검증, 업로드 없음

3D 뷰어 열기