답변 있음
getting this error with stlwrite
I think @Rami Ali Al-Khulaidi is about right in an oblique way. If you want the object geometry, you already have it. You don'...

4개월 전 | 0

답변 있음
Get vertices that create surface mesh from trisurf
It really sounds like this question isn't the question that's been asked. You don't need to get the vertices from trisurf(), be...

4개월 전 | 0

답변 있음
How can I create a 3D solid body from a surface plot (x y z data points) and export it (preferably as STL) to a CAD software?
Well, nobody caught this one. OP was likely working off of examples that used stlwrite() from FEX #20922, but since R2018b, MATL...

4개월 전 | 0

답변 있음
Triangle centroid
Another example for emphasis: unzip stepholecube.stl.zip % for the forum % so you have some triangles in 3D T = stlread('st...

4개월 전 | 0

답변 있음
How can I analyze stl files and then redraw them in matlab? I need to write some code
For context: https://www.mathworks.com/matlabcentral/answers/405855-how-do-i-redraw-a-picture-given-to-me-using-its-data-poin...

4개월 전 | 0

답변 있음
How do I redraw a picture given to me using its data points that I've found using the curve fitting app?
I don't think anyone needs this answer now, but I came here from a related question that was more interesting, and got caught by...

4개월 전 | 0

답변 있음
Changing from 2D plot to 3D plot and to STL file
Oof. I spent way too much time on trying to get the triangulation to work on this, especially considering that nobody needs it ...

4개월 전 | 0

답변 있음
how to turn .m into .stl if i have already a .m file
I'm pretty sure I see where this was going, so let's go there. There are three problems: We're creating way too much data. Yo...

4개월 전 | 0

답변 있음
How to Export MatLab (fsurf) into .stl file please? [surf2stl not working]
Let's start with a basic example: % an example hfs = fsurf(@(x,y) 5*besselj(1,hypot(x,y))); axis equal % reshape the fsurf d...

4개월 전 | 0

답변 있음
Is it possible to rotate a rectangle?
The rotate() function only applies to certain types of graphics objects, and rectangle() objects are not included. You can stil...

4개월 전 | 1

답변 있음
tiff file tags not saved
I think the main problem here is that you're not closing the file. There are also some annoyances you'll run into if you're try...

4개월 전 | 2

답변 있음
Unsharp Masking producing different results (imsharpen)
The error is largely due to order of operations and numeric class. You're working with a uint8 image. Tools like imfilter() wi...

4개월 전 | 1

| 수락됨

답변 있음
Unsimultaneously-changing color semi-transparent surfaces
You're trying to create 2002 surface objects. It's not that they're timed wrong; it's just that you've nuked yourself with grap...

4개월 전 | 0

답변 있음
MATLAB to CAD file
See also: An example of saving a gyroid as a solid volume (using both isosurface() and isocaps()) https://www.mathworks.com/ma...

4개월 전 | 0

답변 있음
How to export a 3D surface (gyroid) as an stl file
See the full example here: https://www.mathworks.com/matlabcentral/answers/1732640-how-to-export-a-3d-surface-gyroid-into-an-st...

4개월 전 | 0

답변 있음
How to export a 3D surface (gyroid) into an STL file
FEX surf2stl() accepts gridded data, as would be used with surf(), but isosurface(), isocaps() produce FV data. This can be exp...

4개월 전 | 0

답변 있음
Writing a .stl file from a plot
The given code does a ton of things in duplicate. I'm going to start from scratch. % PARAMETERS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...

4개월 전 | 0

답변 있음
how can i apply otsu threshold on "A ‟ component of filtered LAB color space?
The unspoken part of the question here is the fact that A and B are zero-centered and the data distribution is typically asymmet...

5개월 전 | 0

답변 있음
How can i convert an Indexed Image To a Binary Image ?
The attached image is a JPG; as such, it is not an indexed image. So we now have two interpretations of the question: "The ima...

5개월 전 | 0

답변 있음
HOW CAN I CONVERT HSI TO BINARY IMAGE WITH THRESHOLDING
See: https://www.mathworks.com/matlabcentral/answers/397100-hsi-thresholding-mat-lab-code

5개월 전 | 0

답변 있음
Conversion to grayscale image from binary image
If your binary image is a logical image, as returned from im2bw() or imbinarize(), then it can be converted to a numeric class u...

5개월 전 | 0

답변 있음
Programmatically create histograms like Color Thresholder
In this answer I give a couple ways to create colorcoded histograms for multichannel images the long way. In the comments, I de...

6개월 전 | 0

답변 있음
finding longest length
The written description doesn't really describe what the example describes. The example returns the last true element from only...

7개월 전 | 0

답변 있음
How to adjust the color bar in an image histogram?
If we are to answer the question directly: % you have an RGB image inpict = imread('peppers.png'); % imhist() cannot plot a...

7개월 전 | 0

답변 있음
how to represent the purple color by a string value
See also: https://www.mathworks.com/matlabcentral/fileexchange/48155-convert-between-rgb-and-color-names https://www.tutorialr...

7개월 전 | 0

답변 있음
slicing 3D stl file to 2D series of image
If the goal is to produce raster images as output, and your slices are uniformly-distributed, then I suppose that one way would ...

7개월 전 | 0

답변 있음
Create triangular mesh
In order to fill the hole, you need three vertices and you need them in the correct direction. Your edge segments aren't in a c...

7개월 전 | 0

답변 있음
How to trim the non-manifold triangle off the stl file?
I'd agree with Bruno on this. Especially if it's just a small fix on a single file, it's easier and quicker to just throw it in...

7개월 전 | 0

답변 있음
How to export 3D sphere at stl format
If you have gridded xyz data which you can feed to surf(), you can use surf2patch(...,'triangles'). % convert gridded data to t...

7개월 전 | 0

답변 있음
Constrain a Delaunay Triangulations With a Surface?
The documentation for delaunayTriangulation() indicates that constrained triangulation is only supported for 2D inputs. If the ...

7개월 전 | 0

더 보기