Answered
Error using fegeometry (*.stl file read)
unzip test1.zip % reoriented so all normals are facing up gm = fegeometry('testflipup.stl') % a minimal example of two tria...

12 months ago | 1

| accepted

Answered
Rendering a 3D shape by stacking 2D layers
See also this later question on the same topic from the same user: https://www.mathworks.com/matlabcentral/answers/1565511-how-...

12 months ago | 0

Answered
Is it possible to 3D print a 3D function plotted in Matlab?
Neither stlwrite() nor FEX #20922 will accept tetrahedral meshes, and that's fine because you don't need a tetrahedral mesh for ...

12 months ago | 1

Answered
How can I combine multiple surf plots into 1 stl file?
You don't need surf2stl(). You already have surf2patch(), so just use it to get F,V data from your gridded data. Once you have...

1 year ago | 0

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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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. ...

1 year 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...

1 year 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...

1 year 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 ...

1 year 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 ...

1 year 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'...

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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

1 year 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...

1 year 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...

1 year 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...

1 year 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...

1 year 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:/...

1 year 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 ...

1 year 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...

1 year 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...

1 year ago | 0

Load more