GrapeTec / T-SPLINE

T-spline Library
GNU Lesser General Public License v3.0
130 stars 50 forks source link

get stuck reading the TSM file from Rhino #17

Open vryy opened 5 years ago

vryy commented 5 years ago

Hi I opened and saved the rhino/simple.tsm from in Rhino v5, with T-Splines plugin installed. After that, the command below does not return, and evetually hang

RhBuilderPtr reader = TSPLINE::makePtr("simple1.tsm");

I think there are problems parsing the latest TSM correctly but does not know exactly. Anyone can look into that?

simple1.zip

vryy commented 5 years ago

I found out that if we change "cap-type G1CAPS" to "cap-type 1" the TSM can be read normally. However, this trick does not work for some other models.