How to load and view .nrb files?

조회 수: 8 (최근 30일)
Zichun
Zichun 2011년 4월 28일
답변: Jacob Mathew 대략 7시간 전
Hi,
Now I have some files, which are NURBS definitions in text file with the extension .nrb, could anyone tell me how to load and view this format file?
Format as follows:
surface
0
50 :M
53 :N
U Knot Vector
0.000000
0.000000
0.000000
0.000000
0.020000
0.040000
0.060000
0.080000
0.100000
0.120000
0.140000
0.160000
0.180000
0.200000
0.220000
0.240000
0.260000
0.280000
0.300000
0.320000
0.340000
0.360000
0.380000
0.400000
V Knot Vector
0.000000
0.000000
0.000000
0.000000
0.021277
0.042553
0.063830
0.085106
0.106383
0.127660
0.148936
0.170213
0.191489
0.212766
0.234043
0.255319
0.276596
0.297872
0.319149
0.340426
0.361702
0.382979
0.404255
0.425532
0.446809
0.468085
Control Points
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
0.625122 1.221069 409.302094
......
Thanks for any help!

답변 (1개)

Jacob Mathew
Jacob Mathew 대략 7시간 전
Hey Zichun,
You can checkout the NURBS Toolbox by D.M. Spink from the Add On explorer :

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by