laser_cut_matlab_sl​icer

版本 1.7 (7.6 MB) 作者: Thomas Guillod
Laser Cut Slicer in MATLAB / Porsche 917K
143.0 次下载
更新时间 2021/11/4

Laser Cut Slicer in MATLAB / Porsche 917K

license - BSD language - MATLAB category - hobby status - unmaintained

This MATLAB code helps you to realize a 3d object with stacked laser cut plates:

  • Extract the intersection of a 3d STL object and a cut plane, visualize, and export the results as PDF.
  • Create 3d meshed parts from 2d parts, assemble the plates into a 3d construction, and visualize.

The example provided with the code is a Porsche 917K racecar.

If you are just interested by building the Porsche 917K, you just need porsche_917K/porsche_917K.pdf. A 3D preview (STL format) is available in porsche_917K/porsche_917K.stl.

Workflow

First take the STL file, define cut planes, and visualize the contours (with the provided MATLAB tool).

Then export the contour as PDF (with the provided MATLAB tool).

With a vector graphic tool, edit, simplify, and improve the contour. Export the results as bitmap raster, which each layer represents its own file. Bitmap format is used for compatibly, simplicity, and robustness.

Transform the bitmap raster into a full 3d construction (with the provided MATLAB tool).

With a vector graphic tool, edit the final version for laser cutting.

With some patience (and some glue), assemble the model!

Porsche 917K

The example model is a Porsche 917K, one of the most iconic racecar ever produced. As a typical racecar from the end of 60s, many versions were produced. The version used for the sliced model is the car used by Team Salzburg in Le Mans 1970 (winner, car 23).

The sliced model is at the 1:24 scale. The model contains 2x18=36 parts and the plate thickness is 4mm. Of course, the model car be scaled to be smaller. A larger model will probably look too coarse.

Source Code Documentation

For the technical details about the workflow and the MATLAB code, please read matlab_slicer/README.txt.

But I don't have MATLAB

I have used MATLAB since it has many functions for meshing and image handling. Moreover, this code is a quick and dirty personal project. However, tell me if you are interested by a Python implementation. Then, I might make a version using numpy/matplotlib, opencv/shapely, and triangle/openmesh.

Author

Thomas Guillod - GitHub Profile

Licenses

  • This MATLAB source code is licensed under the BSD License, see LICENSE.md.
  • The Porsche 917K model is licensed under the Creative Commons — CC BY 4.0.

引用格式

Thomas Guillod (2024). laser_cut_matlab_slicer (https://github.com/otvam/laser_cut_matlab_slicer), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Condensed Matter & Materials Physics 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.7

connect readme

1.6

typos

1.5

Change txt

1.4

Change txt

1.3

Change text

1.2

Change txt

1.0.1

Add image

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库