In order to solve the problem that the multiple high-low loop tufting carpet with complex spatial structure lacks realism when realizing the three-dimensional simulation of its appearance, PythonScript under Rhino environment was used to realize the three-dimensional simulation of the appearance of tufted carpet. By segmenting the loop centerline and section curve, the relevant control point coordinates were locally solved, and then the two were fitted by the B-spline curve. At the same time, considering the mutual squeezing of the carpet loops, the loops were randomly deflected and deformed, and the state after the loops were deformation was simulated by a design algorithm. On this basis, the loop surface texture and lighting model were added to further render and output the simulation results. The test results show that the three-dimensional simulation method of tufted carpet using the B- spline curve fitting principle and the Rhino-Python platform is feasible and easy to implement. Compared with actual carpet samples, it can more realistically simulate tufted carpets with various flower patterns and loop height changes under different yarn arrangements.
https://www.wxmatale.com/
QR Code