DGM - MATLAB Central
photo

DGM


Last seen: Today Active since 2015

Followers: 12   Following: 0

Hi, I'm nobody. I don't belong here, but I have nothing better to do. Matlab used to be part of my work. Now it's part of my hobbies. That's pretty sad, really.

Statistics

All
MATLAB AnswersFile ExchangeCodyFrom 07/15 to 04/25Use left and right arrows to move selectionFrom 07/15Use left and right arrows to move left selectionTo 04/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

37 Questions
2,870 Answers

File Exchange

10 Files

Cody

0 Problems
1 Solution

RANK
30
of 297,999

REPUTATION
6,708

CONTRIBUTIONS
37 Questions
2,870 Answers

ANSWER ACCEPTANCE
62.16%

VOTES RECEIVED
839

RANK
925 of 20,519

REPUTATION
2,034

AVERAGE RATING
5.00

CONTRIBUTIONS
10 Files

DOWNLOADS
189

ALL TIME DOWNLOADS
13095

RANK
97,888
of 160,124

CONTRIBUTIONS
0 Problems
1 Solution

SCORE
20

NUMBER OF BADGES
1

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • 36 Month Streak
  • Thankful Level 5
  • Solver
  • Personal Best Downloads Level 4
  • GitHub Submissions Level 3
  • Editor's pick for Answers
  • Most Accepted 2022
  • Ace
  • Most Accepted 2021
  • 5-Star Galaxy Level 4
  • Revival Level 3
  • Knowledgeable Level 5

View badges

Feeds

Answered
Generating voxels for stl files
See also: https://www.mathworks.com/matlabcentral/answers/217754-stl-to-matlab-coordinates-conversion

2 hours ago | 0

Answered
Cross sections of 3D surface (stl)
See also: https://www.mathworks.com/matlabcentral/answers/2175386-surface-area-at-given-hight-of-an-stl-file

4 hours ago | 0

Answered
Extract information from .stl file
For example: unzip sphere_20.stl.zip % a sphere with a radius of 15 T = stlread('sphere_20.stl'); % get the bounding box...

4 hours ago | 0

Answered
3d Model view
Since this was already in Meshlab, Filters Menu -> Normals Curvatures and Orientation ->Reorient all faces coherently. If you h...

5 hours ago | 0

Answered
why my 3D image is not extruded in 3D software?
The object height is clearly unit-scale. It's never changed. c = im2double(bw); % it's unit-scale. d = imgaussfilt3(c,4); %...

10 hours ago | 0

Answered
how to use stlwrite function options
This obviously refers to FEX #20922. Assuming that the data is gridded, such as could be given to surf(), then: [x y z] = sphe...

10 hours ago | 0

Answered
What we need to be doing is ignore subtraction of slopes of A.stl, which are too steep...
If I'm gonna guess, I might as well invest in it. unzip saddles.zip % these two files have directly correlated vertex lists ...

13 hours ago | 0

Answered
Determine the maximum height and maximum width of the cross-sectional section from the stl file
Obtain the sectional geometry: https://www.mathworks.com/matlabcentral/answers/2175386-surface-area-at-given-hight-of-an-stl-fi...

14 hours ago | 0

Answered
converting a .stl file of 3D polyhedron into a .mat file
If the goal is to convert the object into a volumetric image, then: https://www.mathworks.com/matlabcentral/answers/217754-stl-...

24 hours ago | 0

Answered
How to read 3D mesh STL file
If your goal is to create a DiscreteGeometry object (for the PDE toolbox), then importGeometry() is what you'd use, but otherwis...

1 day ago | 0

Answered
Efficient algorithm for plotting edges detect in a triangular mesh
If you are reading your data from an STL and can represent it as a triangulation object, then this can be simplified tremendousl...

1 day ago | 0

Answered
How to get the angles across a 3D surface?
I think this is what was meant. unzip pringle_top.stl.zip % for the forum % an STL file T = stlread('pringle_top.stl'); ...

1 day ago | 0

Answered
How to obtain normals from faces?
The easy way would be to use the triangulation class, or since we're pre-R2013a, use TriRep(). The following example was tested...

1 day ago | 0

Answered
CAD model cutting slices
Depending on what is meant by "cut a model" means: Find the 2D sectional geometry at a given altitude: https://www.mathworks.c...

1 day ago | 0

Answered
How does stlread work?
It looks like you edited the variable names in the function, and then you called the function with no arguments. Don't mess wit...

1 day ago | 0

Answered
stlread returns different numbers of vertices/points
As far as I know (and I might be wrong), there weren't STL reader/writer tools in the base toolbox until R2018b. At least that'...

1 day ago | 0

Answered
Over 1000 faces when importing stl file to matlab
I thought about this one, and maybe there's an answer. Maybe we're not talking about "faces" as in getting individual triangles...

1 day ago | 0

Answered
How can I produce a stl file from a 2d image?
This turned out to be more difficult than I expected. There's probably a better way, but eh. With the exception of the 'merge'...

1 day ago | 0

Answered
Convert multiple 3D shapes into stl file (CAD).
The given code has two obvious problems. For one, the xyz data is being discarded for every loop iteration, so only the last se...

2 days ago | 0

Answered
Generating STL from vertices and thickness?
If you have the boundary vertices of one of the profiled sides, the rest is relatively simple. For such a simple part, it's eas...

3 days ago | 0

Answered
Using matlab to generate complex graphics stl file
For a simple "sandwich" model composed of two roughly flat and parallell profiled sides connected by a ribbon around their bound...

3 days ago | 0

| accepted

Answered
How can I turn a grayscale image into a .stl 3d file?
Step 0: start with a clean image at a decent resolution. We don't have that. We have a tiny ruined JPG screenshot. % a tiny...

3 days ago | 0

Answered
Calculate volume of STL model by height
An example for a closed surface: https://www.mathworks.com/matlabcentral/answers/2104931-how-to-find-area-and-volume-from-a-stl...

4 days ago | 0

Answered
Scale of .stl file in Matlab
There is no scale information. https://www.mathworks.com/matlabcentral/answers/474678-dimension-of-imported-stl-file

4 days ago | 0

Answered
reshape error in an .stl writer?
There are many files called "stlread()", but FEX #6678 stlread() does not return face/vertex data. It combines the FV data and ...

4 days ago | 0

Answered
dimension of imported STL file
STL files contain no scale information. It's just a dimensionless shape. It's up to you to interpret what its units are suppo...

4 days ago | 0

Answered
How to make a STL file from a mesh
Well. I thought for sure I'd used those before and it would be super easy to throw together a demo. I was wrong. As far as I ...

4 days ago | 0

Answered
STL to solid 3d matrix
The linked tools do maintain the geometry. It's just up to you to keep track of the sampling grid coordinates and plot it appro...

4 days ago | 0

Answered
STL to 3D binary Matrix
See: https://www.mathworks.com/matlabcentral/answers/217754-stl-to-matlab-coordinates-conversion

4 days ago | 0

Answered
Cutting stl. model
See this question and answer. I don't know of any good and convenient ways of doing this with base tools, but there are tools o...

4 days ago | 0

Load more