But once you set up your equivalent Step models, you can then put your PCB assemblies together in MCAD packages and from there do rendering to end up with some pretty realistic looking things
No problem - whatever little I can give back to the help I get on here, it’s more than worth it!
The only thing I’d like to figure out how to do is improve the silkscreen layer. Although you can see it debossed, it’s still the same colour as the PCB and I cannot assign it a different one (easily) because the debossing is “part of the PCB” and doesn’t come across as a different entity allowing colour / materials to be assigned to it.
Maybe I could somehow have an export of the silkscreen layer as a graphic (bitmap) and then stick it back on as a label. That would produce the best looking results I think.
there are two options:
The first one is to add a texture to your board
a) export the Front Silk gerber file with pcbnew (you can replicate it also for front Cu)
b) convert gerber to png with gerbv (https://sourceforge.net/projects/gerbv/files/gerbv/gerbv-beta/)
c) set transparent background for the png
d) use the png as texture for your board (this works in FreeCAD)
The second one is more tricky
a) set pcb thickness to 0.1 (design rules-> layer setup-> board thickness)
b) export VRML from pcbnew
c) remove your shapes3D folder or move the file to a different place
d) import this VRML (pcb, tracks, silk) in your MCAD and put it over the board (this works in FreeCAD) @xavierw please let me know if one of these can work for you
@xavierw those look stunning, well Done! @maui thanks for your amazing work with KiCAD step up! That is so great!
I will have to have a second try with KiCAD stepup this weekend. I have downloaded the kicad step library… I really hope theres primitive shapes in it (but can them with FreeCAD I hope).
Hi @mangelozzi
there are no simple primitive shapes in the libraries I’ve done…
It is quite easy do i.e. a cube in FC, even more simpler with a script to assign it dimensions and export to STEP and VRML… but why are you looking for that?
If you are worried about a fully populated MCAD board, you may consider to configure kicad StepUp tools to create a STEP board and parts applying bounding boxes to i.e. small volume parts (that will calculate the bounding box of your STEP model automatically) or just export board and i.e. connectors or even a more brutal approach: put only STEP models of the desired parts (i.e. connectors) in the wrl folder, then you will get only pcb and those STEP in your conversion
Here an example of a board with small volume parts discarded, bounding boxes on internal parts, and connector as real STEP models
@kammutierspule, ProE (or Pro Engineer) has been around for years and one of the industry’s main CAD packages. It’s now called Creo (but uses the same file types as ProE).
Also, just to clarify the questions earlier up:
the modelling is done in ProE - I’ve designed the mechanical chassis, mounting points, etc, in Pro/E. Whilst there is rendering in Pro/E, I don’t use it.
Rendering (as you see in the screenshot above) is done in a separate package called Keyshot. Very easy to use and produces some unbelievably realistic renders given the right source material and some patience tweaking. I recently updated my licence to use the latest version and it’s very quick - I probably spent 15-20 minutes creating that render from the exported model in Pro/E.
@maui: thanks, I’ll try the options some time soon and report how I get on.
Hi @xavierw would it be possible to share the kicad project with WRML models? So I can test it in new 3d-viewer render? … Your render is good but I am still not very happy with your results… looks a bit too artificial / “plastic”.
One thing I have done in experimenting with FreeCAD and the scripts to convert to VRML: FreeCAD is not very efficient in saving STEP models. They’re often unecessarily huge in file size (and I think produce large VRML files too).
I often use FreeCAD and the Macro tools to arrange the geometric properties and positioning of the shape so it lines up with the PCB footprint and holes. Then save it as a STEP file, then open the STEP file in Creo and save as a STEP again. Often, the reduction in file size is huge!
Then re-open the new STEP file in FreeCAD and use the VRML export tools.
Another point to note: sometimes, I haven’t bothered trying to create a “real” VRML file if the sole purpose is for CAD export: I have cheated / bypassed the proper VRML file and as long as you have the corresponding STEP file name, the export tools will create a CAD model you can use. Of course, doing it this way means the KiCAD 3D viewer isn’t of much use, but if the primary purpose is to generate a MCAD file you can use in another 3D package, then it doesn’t matter
For example, I used KiCAD’s built-in MLCC cap VRML models, but used a “nicer” looking STEP model (downloaded from 3dcadcentral). The transformers you see in the background I created directly in Creo and exported as a STEP so KiCAD export tools work.
@kammutierspule, I’ll have to see how I can package it up, it’s a bit complicated with path configurations, etc.
Rendering the image depends on resolution and lighting parameters. The HD resolutions above probably took a few minutes on my i5-3570K PC slightly overclocked.
or tessellated , new in AP242 `
anyway, as you pointed out, re-opening and saving it in a different CAD will remove tessellated info, reducing heavily the file size
[quote=“xavierw, post:24, topic:2542”]
Then save it as a STEP file, then open the STEP file in Creo and save as a STEP again. Often, the reduction in file size is huge![/quote]
[quote=“xavierw, post:24, topic:2542”]
(and I think produce large VRML files too).[/quote]
for that reason I updated the VRML export tool in kicad StepUp, the VRML model exported is up to 10-20 times reduced and the format is much more compatible (i.e. it is possible to load it in Blender) and can be easily manipulated for adding Material Properties
[quote=“xavierw, post:24, topic:2542”]
For example, I used KiCAD’s built-in MLCC cap VRML models, but used a “nicer” looking STEP model (downloaded from 3dcadcentral).[/quote]
please be careful that 3dcontentcentral has a very restrictive license http://www.3dcontentcentral.com/Terms-of-use.aspx You may use Data for internal computer-aided design use only. You may not (i) distribute Data as part of any service, (ii) copy or post any Data on any Internet site without permission of the owner of the Data, (iii) broadcast Data via any media, or (iv) use the Data in a manner that is competitive with the 3D ContentCentral service.
they are very nice and useful for personal use in MCAD designing, but having a kicad MCAD repository would be the best IMO, particularly if you need to share your MCAD model to third parties or in case i.e. an Open Source Hardware OSH design
I required a SOT-23 and TO-252-2, but found them in the /demo/shapes folder! Yay! I see they are shown in some of your posts but not in the github folder?
Am I correct in saying KiCAD Step does not perform the same scale, rotation, and offset as specified in the kicad file? A lot of my components where the 1x1x1mm box with custom scaling, which now appears in step up as a 1x1x1mm box. Do I have to make a scaled box for each step up component instead of using the same 1x1x1mm box file?
I haven’t finished the libraries… it is a BIG challenge for just me and @Joan_Sparky I’m still hoping it will be an official repo for 3D MCAD models, so there would be more people working on that…