If you use KiCad Nightlies, when you preview a STEP model it should show in the preview window. That should be the first step to make sure you are able to load STEPs.
I don’t recommend use WRL files from 3DContentCentral. I recommend use WRL files exported by StepUP tool.
If you can see the STEP model in the KiCad preview but not after add it, then it is a offset model problem.
You will need to center the model using FreeCAD. I guess StepUp tool also can aid on this process.
Hi @nicholas
would you mind to try with StepUp?
here a link of a video to load and align a 3D model to its footprint directly in FreeCAD Align 3D model to footprint with kicad StepUp
and the correspondent thread in this forum forum thread “interactive Align 3D part to footprint”
The STEP model you will export with ksu will be aligned to kicad footprint…
PS an other thing you may have to check is if the footprint .kicad_mod and the pcb .kicad_pcb have the same wrl or step model and parameters
Maurice
Can you try with other STEP models?
If you are not seeing it in the preview, so something is wrong, probably you do not have the 3D plugins properly installed. Have a look:
are you in windows and do you have utf-8 chars in your 3D path or name?
I noticed that in windows if there are utf-8 chars in the path, then the model is not displayed (in linux is fine)
I thought there’s a UTF8 problem. If you compile your own, try defeating the fileType() function in plugins/3d/oce/loadmodel.cpp so that it simply reports FMT_STEP. If the STEP model with (non-ASCII) UTF8 characters in the name loads then I know how to fix the problem.
Can you please try this patch and let me know if it fixes the problem? If it does then I at least have some idea how to get started. Unfortunately I can’t even check if this will compile since I’m not set up to build for Windows. If the problem appears ‘fixed’ I need to do extra work; for example I disabled the fileType() test in this instance.
@maui are you going to be submitting these connector models to the master repo? they look great! Perhaps some of the other connector series can be scripted
I’ll have a look at adding the kicad naming to at least the picoblades hopefully more of them, before 4.0.6 I think they need a little translation to fit the footprint properly
@Shack and me are working on most common models atm…
we are going to PR SOIC, QFP and QFN…
A lot to do and I’m doing it on some little spare time
Anyway the MCAD move has finally started to be merged into official repo…
C:/kicad-wb-1602/msys64/home/userC/kicad_git/plugins/3d/oce/loadmodel.cpp: In function ‘bool readIGES(Handle_TDocStd_Document&, const char*)’:
C:/kicad-wb-1602/msys64/home/userC/kicad_git/plugins/3d/oce/loadmodel.cpp:401:9: error: ‘wxString’ was not declared in this scope
wxString ifile( wxString::FromUTF8Unchecked( fname ) );
^
C:/kicad-wb-1602/msys64/home/userC/kicad_git/plugins/3d/oce/loadmodel.cpp:402:55: error: ‘ifile’ was not declared in this scope
IFSelect_ReturnStatus stat = reader.ReadFile( ifile.wc_str() )
I would suggest you to use kicad winbuilder to set up a windows building environment … otherwise I think this cannot be debugged without a local building environment…
thx
Maurice
As far as i know the following script generated connectors
JST XH, EH; Molex 53261 and 53398; Phoenix MC and MSTB should be ok.
(I tested them with the current footprints. For the phoenix connectors both the footprints and 3d models are script generated by myself. The other footprints are script generated by @SchrodingersGat )
But maybe it is not a bad idea if someone else also checks them.
Maybe i will find time to make a pull request sometime this week. (But i would like to see my current footprint pull request to be merged first.)
but I gotta say its a prett damn beautiful model you made! kudos on that!
should I fix it or do you feel like it?
would be really nice to get them in the official repo before 4.0.6 release @maui did you mention something about the VRML exporter needed to be updated on the connector scripts?