How to load and view .nrb files?

6 visualizzazioni (ultimi 30 giorni)
Zichun
Zichun il 28 Apr 2011
Risposto: Jacob Mathew il 21 Nov 2024 alle 10:15
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!

Risposte (1)

Jacob Mathew
Jacob Mathew il 21 Nov 2024 alle 10:15
Hey Zichun,
You can checkout the NURBS Toolbox by D.M. Spink from the Add On explorer :

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by