How to model a channel with mesh
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello.
I am trying to model channel geometry (see red outline below) with mesh that is the shape of a half pipe (see pipe image below). I know what the x,y mesh coordinates are and have code that gives me the x,y location of the channel edges on this plane, but I am struggling to specify the z coordinate at these locations since I need to make it a half circle shape. This channel also has 90 and 180 degree bends in it and I am at a loss on how to calculate/specify the z coordinate for these elements.
I was thinking of trying to use my existing x,y coordinates to obtain reference points in the mesh where I could then use loops to calculate the z value, but my efforts have been fruitless so far.
Does anyone have any suggestions on how to approach this or if there are any functions/resources to help with this?
I'd really appreciate any help.
Channel overview: (note that the red lines indicate the x,y coordinates I can already determine with my existing code. The blue lines are for boundary references and don't contribute to the model otherwise.)
Trying to get this channel shape:
0 Commenti
Risposta accettata
Chunru
il 13 Lug 2021
Use some 3D software (such as blender) to create the 3d model and then export to a format matlab can read (eg. stl). Otherwise, you have to work out the math of the coordinates.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!