我从名为meshlab的3D程序中导出了一个json文件,如下所示:
"version" : "0.1.0",
"comment" : "Generated by MeshLab JSON Exporter",
"id" : 1,
"name" : "mesh",
"vertices" :
[
{
"name" : "position_buffer",
"size" : 3,
"type" : "float32",
"normalized" : false,
"values" :
[
10.3699, 12.1765, -10.4026, 10.2183, 12.2671, -10.6368, 10.4694, 12.5508, -10.6256, 8.86401, 12.667, -11.1871, 8.92628, 12.4419, -11.0507, 8.78183, 12.459, -11.0468, 10.4707, 14.5984, -11.6066, 10.609, 14.3137, -11.4362, 10.4292, 14.2369, -11.5423, 8.21309, 12.9991, -11.2778,
8.335, 12.6943, -11.1197, 7.90955, 12.6514, -10.9905, 8.12493, 13.419, -11.473, 7.60838, 13.2001, -11.2427, 8.67802, 13.055, -11.3789, 8.602, 12.7194, -11.1796, 10.2127, 12.4886, -10.8037, 10.3542, 14.5035, -11.6542, 10.1942, 14.4931, -11.7254, 10.2228, 14.7139, -11.7583,
10.0646, 13.1853, -11.4635, 9.83183, 13.1732, -11.606, 9.92727, 13.5153, -11.724, 9.50445, 14.5415, -11.9295, 9.38199, 14.7579, -12.0099, 9.64501, 14.8129, -11.9789, 9.64232, 13.0623, -11.5911, 9.60978, 13.2303, -11.6906, 10.6325, 14.813, -11.5264, 10.7926, 15.183, -11.4228,
10.9659,.......
我猜这些是坐标,但是我要使用它们并创建一个svg文件,我该怎么做?或者只是将一个meshlab文件转换为svg,这可能吗?
答案 0 :(得分:0)
我最后使用inkskape将obj文件导出到svg。