1.0

1.0 | 1 rating Rate this file 15 Downloads (last 30 days) File Size: 108 KB File ID: #42355
image thumbnail

Surface blend by linear equations

by

 

A solution for blending surfaces and curves by linear equations.

| Watch this File

File Information
Description

Define a system of linear equations from a surface and a curve,to solve this equation,obtained a implicite surface Interpolated the curve and the part of the surface boundary.

Required Products MATLAB
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
28 Jun 2013 small

The main idear of this program is substitution a bezier surface s(u,v) into a implicit surface ,use the convolution method.same as the implicitization of Parametric surface.

27 Jun 2013 small

Thanks for your advise,the a1.3dm is Rhino3d file format,you can watch the result surface in Rhino3d,maybe the effective code or perfect math is not important in style design,my purpose is make this progress not too slow,and fast to display,then I can modify the surface interactly.

27 Jun 2013 John D'Errico

No help in here. No explanation of how to use it, or even any clear explanation of what it does. As it is, this is just a set of random lines of code, most of which are not that well written.

For example, looking inside, I see the lines:

ind=[1,0,0,0;
0,1,0,0;
0,0,1,0;
0,0,0,1;];

Perhaps the author should learn how to use the tools already in MATLAB, here for example, eye.m.

Without looking deeply into the code, I don't know if the rest of this loopy code can be improved as trivially. I'll bet it can, but I'm not going to invest that time.

I'd suggest the author learn how to comment their code. Learn how to write adequate help.

27 Jun 2013 John D'Errico  
27 Jun 2013 small

LX1.m is the main program to solve the equation,LX2.m use iso surface to display,and project points to the surface for output.cv file define the control points of bezier surface.MUMA1.mat define the constrains of the boundary,same as define the conunity of bezier surface.
I am not good at math.maybe it is a coincidence for wrong idear but feasible results.so welcome for any questions.

Contact us