Answered
How do you export a plot into a stl file?
It's not really clear what the goal is. You have a line with zero thickness in 2D, and you want it to be "3D" somehow. I'm goi...

4 months ago | 0

Answered
Cylinder with gyroid infill
If your goal is to print the part, then you need a closed surface. Simply deleting faces beyond a certain radius opens the surf...

4 months ago | 0

Answered
I am facing an issue while combining two stl.
See also: https://www.mathworks.com/matlabcentral/answers/2131056-combine-two-stl-into-one#answer_1568109 This answer uses co...

4 months ago | 0

Answered
Error while concatenating two .stl files
To combine STL files, triangulation objects, or sets of F,V data, see this example: https://www.mathworks.com/matlabcentral/ans...

4 months ago | 0

Answered
combine two stl into one
UPDATE: I moved tricat() and the other files to the FEX here. Say we have multiple files or other representations of triangula...

4 months ago | 0

Answered
Converting matlab file to stl file
For example: % you have multiple objects defined by gridded xyz data [x1,y1,z1] = peaks(20); [x2,y2,z2] = sphere(20); z2 = z...

4 months ago | 0

Answered
Want to plot a mesh structure in matlab but in live script this error comes up.
This error is happening because OP found some old or anachronistic advice on the forum, so they downloaded the STL decoder stlre...

4 months ago | 0

Answered
How to convert a figure of a minimal surface into an STL or OBJ file?
You already have triangulated data, you just need to write it. That means that surf2stl() won't work for an fimplicit() plot. ...

4 months ago | 0

Answered
Converting a 3D object (in spherical coordinates) to an stl.
Here are actual examples: https://www.mathworks.com/matlabcentral/answers/747167-export-radiation-pattern-to-stl#answer_1567934...

4 months ago | 0

Answered
STL Creation after Savitzky Filter
There's nothing wrong with the filtering. The vertex lists were backwards, and the edge lists were wrong. % Read in Map PNG p...

4 months ago | 0

Answered
How to convert a 3D model into an STL File ?
I'm not sure what the goal was here, but this is mostly wrong. % Define the dimensions of the room roomWidth = 5; roomLength ...

4 months ago | 0

Answered
How to write multiple object surfaces/solids to a single .stl file?
If you already have a set of triangulation objects, or multiple sets of triangulated F,V data, the rest is fairly simple. It's ...

4 months ago | 0

Answered
Export radiation pattern to stl
Let's go the rest of the way. % let's say we have the pattern data l = linearArray; [D A E] = pattern(l,70e6); % yeah, we'...

4 months ago | 0

Answered
stl file rendering is not working can you help me to solve it?
This problem is caused by trying to feed a triangulation object to patch(). MATLAB stlread() returns a triangulation object, no...

4 months ago | 0

Answered
How to convert 3D plot to .STL
Here. % what we're given hfs = fimplicit3(@kidney2); set(hfs, 'EdgeColor', 'none', 'MeshDensity', 125); view(-110,80) axis...

4 months ago | 0

Answered
Need help with mesh boolean in Matlab.
See also: https://www.mathworks.com/matlabcentral/answers/2169008-are-there-matlab-functions-or-scripts-to-perform-boolean htt...

4 months ago | 0

Answered
How to make an X by 3 matrix into a grid of points
https://www.mathworks.com/matlabcentral/fileexchange/27390-mesh-voxelisation https://www.mathworks.com/matlabcentral/answers/21...

4 months ago | 0

Answered
STL file import to MATLAB
You don't have PDE toolbox. If all you need is to import the STL data, you don't need those tools. stlread stlwrite

4 months ago | 0

Answered
How do I export a plot comprising of multiple functions to .stl?
An example. % some parameters npointsperturn = 100; nturns = 5; trackwidth = 1; trackthick = 0.5; inner_radius = 10; gro...

4 months ago | 0

Answered
How to import a stl file from CAD to MAT
Since R2018b, MATLAB has built-in STL tools stlread stlwrite For legacy versions needing third-party tools, I'd recommend the...

4 months ago | 0

Answered
neighbors(TR) returns NaN values
The triangles do have shared edges and vertices. You can simply look at the model and know that. Nobody mentioned the size o...

4 months ago | 1

Answered
Triangle clustering of .stl file
How about we do what was requested without throwing away the most useful part of the information? This is modified from an answ...

4 months ago | 0

Answered
How to create volume out of surfaces?
Here are two examples of using isosurface() and isocaps() to assemble a closed triangulated surface describing a solid. https:/...

4 months ago | 0

Answered
Processing a Solidworks CAD file in 3-D Volumetric Image Processing toolbox
A thumbnail of a screenshot is not "a CAD file". Given that there is no usable file, nobody knows what type of file is being ...

4 months ago | 0

Answered
Find the centers of multiple polygons
If you have an STL file, then you already have connectivity information. You just need to get rid of the longitudinal connectio...

4 months ago | 0

Answered
View a 2-d projection of a 3D object
I know what the title says, but I'm not convinced that an ephemeral view orientation was the intended goal. I'd figure you'd wa...

4 months ago | 0

Answered
Obtain 3D shape cross section
Sorting model vertices by z-position is not a practical solution. There is no reason to assume that model vertices are anywhere...

4 months ago | 0

Answered
How to project a line on a surface?
This isn't quite the same, but it's close enough to be refined if the goals required it. We are given a triangulated surface in...

4 months ago | 0

Answered
Cylindrical ring of implicit surfaces
I think part of the unevenness is because you're using the colon operator to set up your meshes. When you do that, you need to ...

5 months ago | 0

Answered
How to calculate the coordinates of the overlaped points over a polygon?
Plot the data and look at it. The data points don't appear to be anywhere near the polygons. % the data load trialdataofcoord...

5 months ago | 0

Load more