It appears to have lost the Phong information along the way somehow, but I’m disinclined to pursue it further, since I’ve already spent a couple of days on this single component. Here’s what it looks like after it gets through this meat grinder of a translation process: Here’s what the new model file set looks like in a nice GI studio in C4D: A typical conversion chain is SKP → C4D → OBJ → 3DS → WRL. Part of the problem is that Blender and Wings3D don’t import and export the same set of formats, so you often end up chaining multiple file formats to make each leap. Sometimes OBJ will give the best conversion, sometimes 3DS, and less commonly COLLADA. I’m vague about the “somethings” above because it seems to vary from attempt to attempt. I’ve ended up with quite an involved process:Įxport to something generic for C4D clean up mesh and add detailĮxport to something generic again for Blender, then re-export to something else generic to make Wings3D happyĮxport from Wings3D into VRML, since apparently no other VRML creator writes files that KiCad can cope with.īasically, I’m using Blender and Wings3D purely as translators here. Thanks for the clue about running it through Blender. I’m using a recent build of KiCad (mid-January) on OS X Yosemite. Perhaps KiCad should offer to scale the model to the silkscreen dimensions. Am I wrong about that? Will it instead do something silly like try to draw the model like a kind of “house” around my footprint, so that I’m looking at the inner walls of the model? I don’t see any walls off in the distance in the 3D window, but that could just be because they’re out beyond the clipping plane. I assume if I was wildly off on the scale, it would still show the model, but either as a speck in the middle of the footprint, or completely dwarfing the silkscreen outline. I modeled it at real-world scale: 1 3D unit is 1mm, and the object is roughly a 9mm cube. Blender, C4D, and Photoshop all open it correctly. I don’t think the cleaned-up VRML file is at fault. I have been able to attach one of the models from the standard KiCad library to the footprint, so I know I’m doing something right. No matter what I try, when I go into the 3D view from within the footprint editor, I see nothing but my silkscreen. I’ve tried with both absolute and relative paths. Basically, I open the PCB footprint editor, create a new component, add a circle to the board to give it some physical dimension, and then try to attach the model. I’ve boiled the testing process down as far as I can get it. The model is a rough first pass at a typical Phoenix Contact header block. It actually crashed Photoshop! I was able to open it in C4D and clean the mess up to give what you see here.) (The VRML put out by SketchUp was utter trash: a pile of disconnected triangles instead of a solid model, flipped normals, etc. You can download my model here in both its original SketchUp 2014 format and in the cleaned-up VRML format. I’m having trouble getting a pretty simple 3D model to show up in the 3D view.
0 Comments
Leave a Reply. |