Пікірлер
@babarhussain-qk6ms
@babarhussain-qk6ms 7 сағат бұрын
Grear video it helps me alot towards my project.
@austineadah2843
@austineadah2843 2 күн бұрын
Great! Do a similar video on B spline and NURBS please. Thank you
@austineadah2843
@austineadah2843 15 күн бұрын
This is helpful! Please my question is what if you to apply this a geometry of a cuboid for instance in 3D , do you need all the 3D coordinates of that cuboid or how do you select these control points?
@claufigueroa557
@claufigueroa557 27 күн бұрын
Very useful videos! Please would you help me with a cylinder inside snother? I don't mean a hollow cylinder, just a small one (same ratio but a different longitud inside the big one)
@zuhoorelahiphysics4040
@zuhoorelahiphysics4040 4 ай бұрын
Hi. i don't have 3D builder in my windows. what could be the other option?
@dr.merlot1532
@dr.merlot1532 5 ай бұрын
i nutted
@VictorSantos-yb8ir
@VictorSantos-yb8ir 6 ай бұрын
Helped me so much! Thank you.
@jb0433628
@jb0433628 6 ай бұрын
Thanks !!
@Someone__9812
@Someone__9812 7 ай бұрын
<function matplotlib.pyplot.show(close=None, block=None)> that's what i get plus a simple 3d image icant have a 3d animation like yours can you help please
@naninano8813
@naninano8813 7 ай бұрын
just recently i asked chatgpt how to calculate coons patch and this got recommended same day. what a welcome coincidence indeed
@saulomenezes3764
@saulomenezes3764 8 ай бұрын
Obrigado! Thanks!
@dulanjanaperera988
@dulanjanaperera988 10 ай бұрын
Thanks for this. Very helpful. You provide all the details. Thanks again.
@AhmedAbdullah-t4d
@AhmedAbdullah-t4d 11 ай бұрын
thank you so much for making this video. helped me soooooo much.
@bhattner1
@bhattner1 11 ай бұрын
Why can't we simply eliminate the nested for loop by writing the equations in matrix form: x_Bez = J'*x*K; y_Bez = J'*y*K; z_Bez = J'*z*K;
@prot0form775
@prot0form775 11 ай бұрын
You can't? I'm pretty sure you can do this on Matlab! It was made for matrix operations! :D
@asifraj321
@asifraj321 11 ай бұрын
Thank you so much, it's a very helpful tutorial, I would like to know how to create a cylindrical artery model with a blockage that follows a cosine function. Also, how can I export the 3D model for CFD analysis in Ansys or OpenFoam? I hope you reply and possible please a make tutorial for that too.
@vilmaarwood406
@vilmaarwood406 Жыл бұрын
are you able to create moving spheres from one area to another in MATLAB?
@prot0form775
@prot0form775 Жыл бұрын
You might be able with the movie function but Matlab is too clunky for this, once you get the sphere, you can get an STL and export it to other better software (like Blender)
@andrews3047
@andrews3047 Жыл бұрын
hii,, i am trying to do this with 3*101 points. how can I do it?
@reosbeatss3793
@reosbeatss3793 Жыл бұрын
Hi, im trying to make this work for 5x5 - 25 points . how can I do this please ? it keeps writing me : Index in position 2 exceeds array bounds. Index must not exceed 3. Error in bezier_curve (line 44) xBezier = J(i, :)' * K(j, :) * x(i, j) + xBezier;
@prot0form775
@prot0form775 Жыл бұрын
If you are going to change the number of points, then uPTS and wPTS should be updated, instead of 3 (like in the video) write 5. And also, the arrays x, y, z in the video are 3x3 (or uPTS x wPTS) this means that in your case they should be 5x5 arrays. 4:15
@reosbeatss3793
@reosbeatss3793 Жыл бұрын
@@prot0form775 Thank you ! I made it. The task for me here is to make an animation of different Bezier surfaces. Do you have any idea how to make it, please ? Thank you!
@iqrasaeed3522
@iqrasaeed3522 Жыл бұрын
could you please share how to create tappered wing using matlab?
@sibunabirwasergeon3428
@sibunabirwasergeon3428 Жыл бұрын
Illustrations not clear doctor
@megancampbell3699
@megancampbell3699 Жыл бұрын
Hi, I was wondering if you know how to make a cone which the peak is offset from the centroid with a similar method to which you have explained?
@prot0form775
@prot0form775 Жыл бұрын
It is possible but making a video of with right now is impossible for me, so I will try to explain it here following what is done in the video for a normal cone: The cone is divided into a number of cross-sectional planes which are basically all circles of different radii, and they are arranged equally along the axis. Let's assume the axis is the X direction, and the circular cross sections lie on the Y and Z directions. And let's assume that the origin is at the base of the cone. This means that the offset will be in the Z or Y direction (or both!), and the process to achieve this is by translating each circular cross-section by a specific amount. In other words, adding a value to the Y or Z values for every cross section. So what you have to do, is create a vector of length [1, nCS] and each having the distance of this displacement for every cross section and then add it to Z or Y arrays.
@megancampbell3699
@megancampbell3699 Жыл бұрын
Thanks, thats helpful! @@prot0form775
@eliazonta7235
@eliazonta7235 Жыл бұрын
Hi, thank you for this resource, could you please share how the "cone" function is written ?
@alelasantillan
@alelasantillan Жыл бұрын
from utilities import * which module is that, please? tried pip install utilities-package without any luck.
@waqqiali2960
@waqqiali2960 Жыл бұрын
In python you can define functions in another ".py" file (here it was utilities.py) and can use the defined functions in any other python file by importing the functions using the format "from [filename] import [function]". If you want to import all the functions at once, you can import all the functions with a single line of code using "*" instead of specifying the name of just one function name. e.g. from [filename] import * In the video he uses "from utilities import *". Where "utilities" is the file name and "*" tells python to import all functions. Near the end of the video 9:01 he even opens the file "utilites.py" where he has defined some functions beforehand.
@alelasantillan
@alelasantillan Жыл бұрын
thank you@@waqqiali2960 !!!
@abrarjahinnafi1634
@abrarjahinnafi1634 Жыл бұрын
You're very articulated in your speech.
@MichaelTur
@MichaelTur Жыл бұрын
A beginners question. I have copied the code from your video but the 'utilities' library does not exist when I search on PyPl. Can you tell me where I can find it please? I have done a general search for the library but as you may expect there are lots of libraries called "utilities" out there. Thanks
@prot0form775
@prot0form775 Жыл бұрын
I am sorry for the late reply, you might have already found the answer, but for posterity: the utilities library is a library I created to store the functions of the code, you can do that too by creating a .py file and saving your functions there. The .py file must be in the directory of the main script.
@pavankumar-tq2ml
@pavankumar-tq2ml Жыл бұрын
can you please share how to draw a 2d geometry in matlab and then plot curves over that geometry to better understand the behaviour of curves along with the geometry
@sudhanshu149
@sudhanshu149 Жыл бұрын
I coded B-spline Basis functions in python. Can you review it? Tell me where I can send it you.
@sudhanshu149
@sudhanshu149 Жыл бұрын
Please Make a Videos and python code for B-spline Basis functions and using this Basis functions we can able to draw B-spline Curve. Please It's Necessary ❤🙏
@Wuumaximoff
@Wuumaximoff Жыл бұрын
This is beautiful...
@mihaelaciuca3905
@mihaelaciuca3905 Жыл бұрын
if I want to create the directivity characteristic of the yagi-uda antenna in stl format, can I do it by the same procedure?
@prot0form775
@prot0form775 Жыл бұрын
This should work for all continuous objects as long as you can assemble the node matrices. That is the main challenge.
@xyzxyz6095
@xyzxyz6095 Жыл бұрын
Yes !!! Thank you. Salutations from France.
@prot0form775
@prot0form775 Жыл бұрын
:D
@vasanthkumarkallannavar7594
@vasanthkumarkallannavar7594 Жыл бұрын
@ 3:27 why creation of matrix of zero, can we skip it? use other logic there?
@prot0form775
@prot0form775 Жыл бұрын
I'm pretty sure you can do this with other logic, but the main reason we create that matrix with 0 values first is because in the for loop, you have: xbezier = xbezier + something. You need xbezier to be declared beforehand. The reason we populate it with zeros, is that since we are adding stuff to xbezier every loop, an initial value of 0 will not change anything. If we were multiplying, we would use 1s instead. Hope this helps.
@vasanthkumarkallannavar7594
@vasanthkumarkallannavar7594 Жыл бұрын
Ya, by the way thank u for video, I was trying to hard code for b spline after coding all intervals ,I was not able to get or understand that basis function for different values of u.. How and what...... Please I beg u do a video on B spline hard code in python.. Because I am m tech student. I want doing projects on IGA SO I need to do it... And if have any video or materials of calculation of b spline do suggest.
@prot0form775
@prot0form775 Жыл бұрын
@vasanthkumarkallannavar7594 I'm preparing a series of videos for B-splines, but is a tough concept to grasp, so as soon as I get it working I'll post it.
@korigamik
@korigamik Жыл бұрын
This is great. Can you tell what use to edit the video and the cool math equations?
@prot0form775
@prot0form775 Жыл бұрын
I used Premier Pro for the video and the equation writer in Word for the equations.
@rajyagurudeeptarunbhai5019
@rajyagurudeeptarunbhai5019 Жыл бұрын
how can I find and show tangent and normal vectors at each point
@happymonster1242
@happymonster1242 Жыл бұрын
Awesome work, thanks for the clear explanations! Was very helpful for getting a Bezier surface calculation working in my Java project
@Linkz64
@Linkz64 Жыл бұрын
This is a great video
@ayushbhargava5145
@ayushbhargava5145 Жыл бұрын
I'm tying to do it this for 4x4 control points and 20x20 cells but it gives me this error "Unable to perform assignment because the size of the left side is 1-by-4 and the size of the right side is 1-by-40."
@prot0form775
@prot0form775 Жыл бұрын
That could be a number of things. In what line is this error happening?
@VeniQs
@VeniQs Жыл бұрын
my profesor couldnt explain it in 1.5h, and you did that in less than 10 minutes, great job
@calvinkielas-jensen6665
@calvinkielas-jensen6665 Жыл бұрын
Heads up, numpy does not recommend using the matrix class anymore and it may be deprecated in the future. You can transpose arrays using the ".T" convenience function. By definition, you can't transpose a 1D array, but you can make a 1D array 2D by using the function np.atleast_2D or slicing the variable with np.newaxis, e.g., A[:, np.newaxis].
@prot0form775
@prot0form775 Жыл бұрын
That is a very useful and detailed advice for the future. Thank you so much!
@pedromnunes
@pedromnunes Жыл бұрын
thank you
@mukkasrikanth4130
@mukkasrikanth4130 Жыл бұрын
Very Informative Video, I'm also working on similar area. Are you a PhD scholar or researcher, if yes would like to read you work.
@prot0form775
@prot0form775 Жыл бұрын
Thank you very much! I am a graduate in the hypersonics field, mainly numerical and analytical. My work is only tangentially related to computer graphics. Sadly I cannot share my work.
@RamapoguHarshaVardhan
@RamapoguHarshaVardhan Жыл бұрын
'Error using plot3 Unrecognized property Marketfacecolor for class Line.' I am getting this error .please help
@lyndor343
@lyndor343 Жыл бұрын
Is it possible it write multiple surfaces into one stl file?
@prot0form775
@prot0form775 Жыл бұрын
as far as I know, you can't.
@miksuse9318
@miksuse9318 Жыл бұрын
Excellent, thank you. When I use the created file, this command fails. I think it may be the NaNs, but not sure.. It does open in the 3D viewers. base = platform('FileName', 'my_stl.stl', 'Units', 'm'); If I download the Sphericon.stl from the wikipedia page you reference, it opens and has no NaNs.
@prot0form775
@prot0form775 Жыл бұрын
Hi! one question, what software are you using to open the created stl file? The NaNs are probably from the normals. Some apps don't even read them but if they do, that problem might occur. A workaround is to replace all NaNs with 0. Like isNAN(unit_normal) = 0
@miksuse9318
@miksuse9318 Жыл бұрын
@@prot0form775 The matlab built in function shown in my post. I did change the NaNs to 0 0 0 and that did fix it. All is good after the 0's replaced NaNs. Thanks
@user-hp5qb1id5c
@user-hp5qb1id5c Жыл бұрын
thank you for tutorial video. can i get code file and stl file of tutorial video?
@Mehedi1990
@Mehedi1990 Жыл бұрын
if I want to pass the curve through some specific points, where do I make the changes? I tried to make the changes in the 6,7,8 lines. Code works for 3 points only, if I introduce 4 points , code shows error
@prot0form775
@prot0form775 Жыл бұрын
in lines 6, 7, and 8 you specify the coordinates of these points, and the number of points have to match with the number you specified in line 3 for the number of control points. If you want 4 control points, change that 3 for a 4.
@gnagyusa
@gnagyusa Жыл бұрын
Please, stop promoting this atrocious programming language. It's 10,000x-10Mx slower than C/C++. Due to it's insane inefficiency and huge energy usage, it's greatly contributing to pollution and climate change.
@dineshvyas
@dineshvyas 2 жыл бұрын
Amazing.
@prot0form775
@prot0form775 2 жыл бұрын
Code starts at 2:29 **CORRECTIONS** 6:38 - LINE 26 magnitude = ( ... ) ** 0.5
@pedromnunes
@pedromnunes 2 жыл бұрын
THANK YOU!!!!!😀