Online3DViewer icon indicating copy to clipboard operation
Online3DViewer copied to clipboard

Can not open wrl file: The model doesn't contain any meshes.

Open gggstamm opened this issue 1 year ago • 1 comments
trafficstars

``Hello, the given model can be open in freecad, but can not be open with Online3DViewer. can you tell me what is wrong? Thanks a lot Guillaume

I can not attached a wrl file to this issue so I copy the text content bellow

#VRML V2.0 utf8 Transform { translation 0 0 0 children LOD{range[12000 40000]level[DEF FACESET Shape{appearance Appearance{material Material{diffuseColor .1 .2 .3 emissiveColor .2 .4 .6 transparency .75}}geometry IndexedFaceSet{coord Coordinate{point[-.1053 -.98563 .34743,.3936 -.62168 .32732,-.107 -.68396 .38574,.3954 -.91623 .28986,.3918 -.32519 .32752,-.1087 -.37983 .38594,.3901 -.03044 .29048,-.1104 -.07802 .34798,.3884 .25719 .21677,-.112 .21724 .27231,.3867 .53357 .10747,-.1136 .50025 .16038,.3851 .79409 -.03563,-.1152 .76701 .0138,-.6041 -.74234 .44142,-.6057 -.43162 .44155,-.6074 -.12294 .40266,-.609 .17852 .32533,-.6106 .46894 .21039,-.5541 1.00437 -.13679,-.6117 .74182 .06035,-.5044 1.01875 -.15231,-.5889 -.95055 .41352,-.5494 -.98997 .40354,-.6033 -.89665 .42217,-.1165 1.01899 -.17127,-.5903 .96466 -.10283,-.6128 .91154 -.06261,-.4956 -1.0045 .39485,-.3011 -1.00504 .37009,.3961 -1.01899 .26362,.2592 -1.01902 .2842,-.1045 -1.019 .339,-.1419 -1.01904 .34438,.6253 -.96509 .24163,.6395 -.90439 .25477,.532 -1.01899 .24238,.5858 -1.0046 .23766,.6384 -.74212 .27865,.637 -.58973 .29783,.6362 -.44962 .29814,.6352 -.29695 .29796,.6344 -.15752 .28063,.6334 -.0058 .26129,.6326 .13002 .2267,.6317 .27804 .1885,.6309 .40888 .13699,.63 .55103 .08048,.6292 .67418 .01306,.6284 .80809 -.06081,.6277 .91154 -.13566,.159 1.01868 -.18508,.3844 1.0188 -.19855,.6133 .96543 -.17392,.5738 1.00485 -.20013,.52 1.01904 -.20711,-.1421 -.66587 .09844,.3571 -.6036 .04019,-.1444 -.93181 .06515,.3545 -.8625 .00782,-.1397 -.39794 .09817,.3596 -.34327 .03988,-.1373 -.13212 .06434,.3621 -.08453 .00693,-.1349 .12789 -.00262,.3645 .16791 -.0581,-.1327 .37703 -.10146,.3669 .41039 -.15431,-.1304 .61129 -.23035,.3691 .63894 -.28012,-.6385 -.72316 .1541,-.6361 -.44859 .15365,-.6338 -.17594 .11878,-.6315 .09022 .05003,-.6292 .34666 -.0519,-.5196 .84588 -.38464,-.6276 .58648 -.18402,-.5794 .83429 -.37029,-.5857 -.95393 .11807,-.6252 -.91448 .12807,-.6395 -.86066 .1367,-.1286 .84681 -.40431,-.6231 .79616 -.33656,-.6261 .74125 -.29699,-.3376 -.96745 .08485,-.5319 -.9682 .10943,.2174 -.94762 .00626,.3535 -.94766 -.01422,-.1821 -.94761 .0662,-.1456 -.94766 .06092,.5964 -.84961 -.02673,.5818 -.8938 -.0361,.4886 -.94766 -.03534,.5423 -.93317 -.04002,.5981 -.70446 -.00605,.6 -.57305 .01068,.6012 -.44962 .01025,.6026 -.31643 .01046,.6038 -.19365 -.00548,.6051 -.06124 -.02194,.6063 .05819 -.05302,.6076 .18746 -.08593,.6087 .30242 -.13186,.6099 .4267 -.18075,.611 .53474 -.24058,.6122 .65197 -.30465,.6132 .74129 -.36999,.1456 .84803 -.41916,.3702 .84856 -.4329,.5988 .79515 -.40822,.5593 .8346 -.43446,.5055 .84896 -.44155]}coordIndex[0,1,2,-1,1,0,3,-1,2,4,5,-1,4,2,1,-1,5,6,7,-1,6,5,4,-1,7,8,9,-1,8,7,6,-1,9,10,11,-1,10,9,8,-1,11,12,13,-1,12,11,10,-1,14,2,5,-1,15,5,7,-1,16,7,9,-1,17,9,11,-1,18,11,13,-1,19,20,21,-1,22,23,2,-1,24,22,2,-1,24,2,14,-1,14,5,15,-1,15,7,16,-1,16,9,17,-1,17,11,18,-1,18,13,20,-1,20,13,25,-1,20,25,21,-1,20,19,26,-1,26,27,20,-1,28,29,0,-1,0,2,23,-1,28,0,23,-1,30,3,31,-1,32,0,33,-1,31,3,0,-1,0,32,31,-1,33,0,29,-1,34,35,3,-1,3,30,36,-1,36,37,34,-1,3,36,34,-1,38,3,35,-1,1,3,38,-1,38,39,1,-1,40,1,39,-1,4,1,40,-1,40,41,4,-1,42,4,41,-1,6,4,42,-1,42,43,6,-1,44,6,43,-1,8,6,44,-1,44,45,8,-1,46,8,45,-1,10,8,46,-1,46,47,10,-1,48,10,47,-1,12,10,48,-1,48,49,12,-1,12,49,50,-1,51,25,13,-1,13,52,51,-1,52,13,12,-1,52,12,50,-1,52,50,53,-1,52,53,54,-1,54,55,52,-1,56,57,58,-1,59,58,57,-1,60,61,56,-1,57,56,61,-1,62,63,60,-1,61,60,63,-1,64,65,62,-1,63,62,65,-1,66,67,64,-1,65,64,67,-1,68,69,66,-1,67,66,69,-1,60,56,70,-1,62,60,71,-1,64,62,72,-1,66,64,73,-1,68,66,74,-1,75,76,77,-1,56,78,79,-1,56,79,80,-1,70,56,80,-1,71,60,70,-1,72,62,71,-1,73,64,72,-1,74,66,73,-1,76,68,74,-1,81,68,76,-1,75,81,76,-1,82,77,76,-1,76,83,82,-1,58,84,85,-1,78,56,58,-1,78,58,85,-1,86,59,87,-1,88,58,89,-1,58,59,86,-1,86,89,58,-1,84,58,88,-1,59,90,91,-1,92,87,59,-1,91,93,92,-1,91,92,59,-1,90,59,94,-1,94,59,57,-1,57,95,94,-1,95,57,96,-1,96,57,61,-1,61,97,96,-1,97,61,98,-1,98,61,63,-1,63,99,98,-1,99,63,100,-1,100,63,65,-1,65,101,100,-1,101,65,102,-1,102,65,67,-1,67,103,102,-1,103,67,104,-1,104,67,69,-1,69,105,104,-1,106,105,69,-1,68,81,107,-1,107,108,68,-1,69,68,108,-1,106,69,108,-1,109,106,108,-1,110,109,108,-1,108,111,110,-1,19,21,75,-1,75,77,19,-1,23,22,79,-1,79,78,23,-1,22,24,80,-1,80,79,22,-1,24,14,70,-1,70,80,24,-1,14,15,71,-1,71,70,14,-1,15,16,72,-1,72,71,15,-1,16,17,73,-1,73,72,16,-1,17,18,74,-1,74,73,17,-1,18,20,76,-1,76,74,18,-1,21,25,81,-1,81,75,21,-1,26,19,77,-1,77,82,26,-1,27,26,82,-1,82,83,27,-1,20,27,83,-1,83,76,20,-1,29,28,85,-1,85,84,29,-1,28,23,78,-1,78,85,28,-1,30,31,86,-1,86,87,30,-1,32,33,88,-1,88,89,32,-1,31,32,89,-1,89,86,31,-1,33,29,84,-1,84,88,33,-1,35,34,91,-1,91,90,35,-1,36,30,87,-1,87,92,36,-1,37,36,92,-1,92,93,37,-1,34,37,93,-1,93,91,34,-1,38,35,90,-1,90,94,38,-1,39,38,94,-1,94,95,39,-1,40,39,95,-1,95,96,40,-1,41,40,96,-1,96,97,41,-1,42,41,97,-1,97,98,42,-1,43,42,98,-1,98,99,43,-1,44,43,99,-1,99,100,44,-1,45,44,100,-1,100,101,45,-1,46,45,101,-1,101,102,46,-1,47,46,102,-1,102,103,47,-1,48,47,103,-1,103,104,48,-1,49,48,104,-1,104,105,49,-1,50,49,105,-1,105,106,50,-1,25,51,107,-1,107,81,25,-1,51,52,108,-1,108,107,51,-1,53,50,106,-1,106,109,53,-1,54,53,109,-1,109,110,54,-1,55,54,110,-1,110,111,55,-1,52,55,111,-1,111,108,52,-1]creaseAngle .57596 solid FALSE}}DEF LINESET Shape{}Shape{}]}}

gggstamm avatar Mar 05 '24 09:03 gggstamm

@gggstamm parsers don't appear to like the following part of your model:

LOD{range[12000 40000]level

If you remove it together with the corresponding curly bracket at the end then you should be able to load it in Online 3D Viewer as well as my VRML Viewer.

Attached is the modified wrl file.

Shape.wrl.zip

GitHubDragonFly avatar May 18 '24 20:05 GitHubDragonFly