You need to use EasyEDA editor to create some projects before publishing
Unexpected error while converting WRL file for 3D PCB Lib
643 0
jmgonet 4 years ago
Hi all, I have the WRL file (see below) that I want to import as a PCB 3D Lib: * The file is correctly rendered by a standard library like [x_ite](http://create3000.de/x_ite/getting-started/) * The file is accepted in online validators like [instantreality](http://doc.instantreality.org/tools/x3d_encoding_converter/) * The file consists in a series of `Shape` elements, just like those we can find in the kicad-packages3D (for example this one: [PinSocket\_1x01\_P2\.54mm\_Horizontal\.wrl](https://github.com/KiCad/kicad-packages3D/blob/master/Connector_PinSocket_2.54mm.3dshapes/PinSocket_1x01_P2.54mm_Horizontal.wrl)) To load it in EasyEDA I follow the procedure described in [Import 3D File](https://docs.easyeda.com/en/PCBLib/PCB-3DLib-Import/index.html): * New PCB 3D Lib * Select units: I selected mm (all other values return the same error) * Select the file (I select the one attached below) As soon as I select the file, I get the following error message: * Unexpected error while converting. Perhaps unsupported file or program bug I'm ready to believe that my file contains an error, but I have no way of correcting it: * Is there a way to see some log output? * Is my file incorrect, of the wrong version, or am I missing some key element? Best regards, Jean-Michel ![Unexpected error while converting WRL file for 3D PCB Lib](//image.easyeda.com/pullimage/uDpaIAvUNWh4xuXkKEjUHEKyisXiIZTGOAev9WmH.png) ![The WRL file renders correctly in x_ite](//image.easyeda.com/pullimage/HsXZl3407QlE3Lu2jAtC3x3gs4TqZMoir2D1qgUy.png) ``` #VRML V2.0 utf8 # # Pin 1: Shape { appearance Appearance { material Material { diffuseColor 0.5 0.5 0.5 } } geometry Extrusion { beginCap TRUE endCap TRUE ccw TRUE convex TRUE creaseAngle 0 crossSection [ 0.00 0.30, 0.26 0.15, 0.26 -0.15, 0.00 -0.30, -0.26 -0.15, -0.26 0.15, 0.00 0.30 ] solid TRUE spine [ 0 1.75 0, -1 1.75 0, -1 1.75 -4 ] } } # Pin 2 Shape { appearance Appearance { material Material { diffuseColor 0.5 0.5 0.5 } } geometry Extrusion { beginCap TRUE endCap TRUE ccw TRUE convex TRUE creaseAngle 0 crossSection [ 0.00 0.30, 0.26 0.15, 0.26 -0.15, 0.00 -0.30, -0.26 -0.15, -0.26 0.15, 0.00 0.30 ] solid TRUE spine [ 0 -1.75 0, -1 -1.75 0, -1 -1.75 -4 ] } } # Capacitor side: Shape { appearance Appearance { material Material { diffuseColor 0.8 0.8 0.8 } textureTransform TextureTransform { scale 1 1 rotation 0 center 0 0 translation 0 0 } texture PixelTexture { image 10 10 1 255 255 255 040 040 040 255 255 255 255 255 255 255 040 255 040 255 255 255 255 255 255 255 040 255 040 255 255 255 255 255 255 255 040 255 040 255 255 255 255 255 255 255 040 255 040 255 255 255 255 255 255 255 040 255 040 255 255 255 255 255 255 255 040 255 040 255 255 255 255 255 255 255 040 255 040 255 255 255 255 255 255 255 040 255 040 255 255 255 255 255 255 255 040 040 040 255 255 255 255 repeatS TRUE repeatT TRUE } } geometry Extrusion { beginCap TRUE endCap TRUE ccw TRUE convex TRUE creaseAngle 0 crossSection [ -3.24 -2.35, -3.80 -1.24, -4.00 0.00, -3.80 1.24, ] solid TRUE spine [ 0.0 0 0, 1.1 0 0, 1.4 0 0, 1.6 0 0, 2.0 0 0, 4.0 0 0, 6.0 0 0, 8.0 0 0, 10.0 0 0, 11.5 0 0 ] scale [ 1 1, 1 1, 0.9 0.9, 0.9 0.9, 1 1, 1 1, 1 1, 1 1, 1 1, 1 1 ] } } # Capacitor Can: Shape { appearance Appearance { material Material { diffuseColor 0.2 0.2 0.2 } } geometry Extrusion { beginCap TRUE endCap TRUE ccw TRUE convex TRUE creaseAngle 0 crossSection [ 0.00 4.00, 1.24 3.80, 2.35 3.24, 3.24 2.35, 3.80 1.24, 4.00 0.00, 3.80 -1.24, 3.24 -2.35, 2.35 -3.24, 1.24 -3.80, 0.00 -4.00, -1.24 -3.80, -2.35 -3.24, -3.24 -2.35, -3.80 1.24, -3.24 2.35, -2.35 3.24, -1.24 3.80, 0.00 4.00 ] solid TRUE spine [ 0.0 0 0, 1.1 0 0, 1.4 0 0, 1.6 0 0, 2.0 0 0, 4.0 0 0, 11.5 0 0 ] scale [ 1 1, 1 1, 0.9 0.9, 0.9 0.9, 1 1, 1 1, 1 1 ] } } ```
Comments
Login or Register to add a comment
goToTop
你现在访问的是EasyEDA海外版,建议访问速度更快的国内版 https://lceda.cn(需要重新注册)
如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在https://lceda.cn/editor 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus- -mockplus-@1x -mockplus-

Cookie Notice

Our website uses essential cookies to help us ensure that it is working as expected, and uses optional analytics cookies to offer you a better browsing experience. To find out more, read our Cookie Notice