photo

DGM


Last seen: Today Active since 2015

Followers: 14   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 Answers

38 Questions
2,962 Answers

File Exchange

11 Files

Cody

0 Problems
1 Solution

RANK
29
of 300,365

REPUTATION
6,758

CONTRIBUTIONS
38 Questions
2,962 Answers

ANSWER ACCEPTANCE
63.16%

VOTES RECEIVED
855

RANK
887 of 20,933

REPUTATION
2,136

AVERAGE RATING
5.00

CONTRIBUTIONS
11 Files

DOWNLOADS
202

ALL TIME DOWNLOADS
14047

RANK
102,899
of 168,262

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
Please help me, i would to make the color of this run figure as the color of the attached figure
The picture is a tiny JPG, so I can't do anything other than guess what the colormap is. I can tell it's a circular map, roughl...

10 days ago | 0

Answered
How to change the ratio of sectors for a circle with 8 equal sectors
Alternative interpretation, also using polyshape(): This still subdivides the outer circle into equal arc lengths. I'm not rea...

17 days ago | 0

Submitted


DGM's Legacy STL Tools
An efficient and fully-featured legacy-compatible STL encoder and decoder, along with other assorted tools.

18 days ago | 7 downloads |

5.0 / 5
Thumbnail

Answered
How can i export model to cad or STL files?
Since R2018b, MATLAB has built-in STL tools. You don't need to download anything. stlread stlwrite For older versions needin...

19 days ago | 0

Answered
Calculating volume from either an STL or Voxel-based file
If you define the grid inputs as 100 (x3), then you're taking your part (of whatever size) and subdividing it into 100x100x100 p...

20 days ago | 0

Answered
stlwrite error using reshape
This problem happens because you're trying to write an STL file consisting of line segments, not triangles. Early versions of F...

20 days ago | 0

Answered
How do I specify a hole with its coordinates ?
You can't use delaunayTriangulation() to do constrained triangulation in 3D. Without constraints, you get the convex hull of th...

20 days ago | 0

Answered
TriRep class - edge constraints 3D Delaunay Triangulation
The answer is no. Creating the DelaunayTri object creates a new triangulation, so whatever is defined by the faces of TR is ign...

20 days ago | 0

Answered
Converting TriRep to DelaunayTri while using pointLocation?
You can't build a DelaunayTri or delaunayTriangulation object from a TriRep or triangulation object without performing a retrian...

20 days ago | 0

Answered
please some one help me import the give txt file format as table
In R2018b or newer, just use stlread(). I don't remember what the best STLA decoder would have been in 2014, but nobody has a t...

21 days ago | 0

Answered
.stl file generation with multiple tetrahedron inside cube
An STL file represents a triangular mesh, not a tetrahedral mesh. Accordingly, the built-in encoder and FEX #20922 will return ...

21 days ago | 0

Answered
How to export stl file from triangles.
If you have a list of vertices (coordinate positions), and a list of triangular faces (indices into the vertex list), then you c...

21 days ago | 0

Answered
Patch to Surf Conversion
This is a duplicate of the question answered here: https://www.mathworks.com/matlabcentral/answers/396778-how-do-i-convert-my-p...

21 days ago | 0

Answered
Triangulation of hollow objects
The usage of delaunay() here isn't going to work for a few reasons. First, you're triangulating the projection of the part into...

28 days ago | 0

| accepted

Answered
Interseption of a sphere in a triangular meshed surface
I'm going to do this with both the mesh and the centers in 3D for sake of generalization. Assuming they all have the same radiu...

1 month ago | 0

Answered
Volume defined by vertices to stl file to mesh
You don't need to write an STL encoder from scratch. Just get the faces and vertices and write the file. There are three pitfa...

1 month ago | 0

Answered
stl fusion of two files
See also: https://www.mathworks.com/matlabcentral/answers/2131056-combine-two-stl-into-one#answer_1568109

1 month ago | 0

Answered
solarize
FWIW, MIMT has a solarization tool that has presets for both a smooth curve and a typical hard vee curve. It also supports arbi...

1 month ago | 0

Answered
An N by N by N matrix code
For sake of ridiculousness: N = double('d'); % using a letter myarray = zeros(N,N,N); % a NxNxN array size(myarray) Yes, I d...

1 month ago | 0

Answered
Comet command - change colour and speed
The comet() function takes its colors from the axes 'colororder' property. If the colororder has at least 3 entries, it uses th...

2 months ago | 0

Answered
How to specify the position of the displayed image?
Both imshow() and image()/imagesc() allow you to specify the image extents in data coordinates directly. % i assume you have ...

2 months ago | 0

Answered
translation of a 3d node
I would expect that we're dealing with F,V lists instead of a giant monolithic wad of ordered coordinate data. I also assume we...

3 months ago | 0

Question


When was the 'stable' option introduced in unique()?
The option wasn't available in R2009b, but it is present in R2015b. My release notes go from to R2012b to present, and it's not...

3 months ago | 1 answer | 0

1

answer

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

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

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

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

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

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

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

3 months ago | 0

Load more