STP file convetion
Show older comments
Hi,
Is there a way to import 3D CAD file such a STP file to Malab and to convert it for a binary matrix ?
Thanks,
Lior
Answers (1)
Jacob Mathew
on 20 Nov 2024
0 votes
Hey Lior,
You can import STL and STP files into MATLAB using the fegeometry method from the Partial Differential Equation Toolbox. The following documentation pages details the steps needed to achieve this:
STEP/STP File Import - https://www.mathworks.com/help/releases/r2024a/pde/ug/step-file-import.html
In both cases, the output of the function is a DiscreteGeometry object that can be manipulated as needed. The supported functions of DiscreteGeometry object can be found in the documentation link below:
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!