finally I have completed my kicad StepUp WorkBench for FreeCAD and it has just been merged to the official FC repo. So it is now possible to install StepUp using the FC addon installer just with a simple click!
1) The Sketcher for Push and Pull KiCad pcb Edge from the FreeCAD powerful Sketcher BSplines and Ellipses are also allowed
(please read the Cheat sheet for configuring: the best is to use grid origin in KiCAD and configure it in ‘ksu-config.ini’)
2) Cheat sheet pdf file and Demos available in the ksu WB menu
3) Main buttons available directly in the StepUp WB Menu
4) An other great boost in speed when creating pcb board with thousand of drill just using multi-thread (available only in FC 0.17)
5) Interference and Collisions checker available also for hierarchical STEP models
PS: Please note that if you have previously installed kicad StepUp as Macro in the Macro folder, this will not be updated. Simply delete this macro and use the WB buttons (the configuration file will be the same).
Many thanks to all that have downloaded and are using my tools for MCAD Collaboration…
I have reached almost 20K downloads in 2 years
please consider that iges is an old format, not more updated. I would suggest you to export the models / boards to STEP which is a more recent format, still in development and much more supported by FC code.
I did this at first, but FreeCAD exports the PCB with each Component as seperate Modell. Which is fine, but my PC can’t handle that detailed a reference Modell. With the “.iges” it runs at least a bit smoother. It also comes as “one thing” and is easier to hide from the Modell browser.
As @Rene_Poschl already suggested the Union of Parts is the simplest approach. You can make a Union also by the ksu ‘make a Union’ button
An other option is to move to FC0.17 and save Step file as Hierarchy. Then you will have a single object with many sub-parts, but all as child of the main one.
This is a bit risky because FC0.17 is changing a lot and you can have some build with issues, quite often fast patched though. At the same time you will get many goodies from the new version of FC
An other option again, if you use FC as CAD modeler, is to save the board as a Compound of PCB + Parts in FreeCAD native format and use it as a single object inside your design.
In general, if you need to check your design for enclosure, as @Rene suggested, it is useful to configure StepUp to ignore small parts and/or make bounding boxes of Parts not relevant for the enclosure, leaving only connectors as full detailed models.
Thank for your work. I just tried it and I discovered that If I set a transparency to an object in FreeCAD (say 75%), I lose it when exporting in VRML.
Macro v 184.108.40.206 has same problem, but new version 220.127.116.11 also set transparency to 0 in FreeCAD after exportation.
Is that normal or is a bug?
You have two methods to conserve transparency when exporting an object to wrl:
Clicking on the button to export to kicad wrl and step with ‘use wrl materials’ selected, apply a material which have a transparency to the color you want to export (i.e. a blue face -> glass blue)
Export the 3d model parts as separate objects and instead of applying a Material to the transparent object, apply ‘as is’; this will produce only wrl and not step file… then you can make a single copy of the parts of your model and make a union of them and export the step but skip the wrl.
Both methods work with StepUp old and new.
Thank you for your answer. unfortunately it didn’t work for me. I made a single object in FreecCAD, a cylinder. I selected “use wrl materials” in Kicad tools window, then press export to Kicad. I then changed the material to glass blue and generate the wrl and step files. I opened the wrl file with Freecad, with freeWRL, and with Kicad viewer and the result is the same: the object is not transparent.
I didn’t tried your second solution as I have a single object. Maybe I’m doing something in the wrong way?
PS In Kicad I just tried to select the object and in that windows the object is not transparent. I now tried to click ok and import the object and now is transparent.
Maybe in kicad first selector windows 3d is not supported. (and the same in Freecad if I reimport it) But this is not a problem for me. NOW IT WORKS in kicad.
If you mean that when exporting i.e. a cube with 50% of transparency to wrl and step you will get a wrl with transparency, a step without transparency (not supported in STEP format) and your cube in FC will be changed to lose transparency, that is correct. The tools are aimed to export FC models to STEP and WRL, so the FC MCAD model will lose the transparency as it will lose the STEP model because of STEP format. If you want to preserve your model transparency in FC, just make a simple copy of it before exporting.
needed to make a pretty funky PCB shape, so I decided to give Sketcher a spin
took a few hours to understand how to use the sketcher properly, but it works very nice
Thanks for the great job as always @maui keep the good stuff coming
Im wondering if some of the construction data could be stored in comment.user layer or something, since you lose almost all your constraints etc when going freecad -> Kicad -> Freecad
fortunately there is a trick to keep all the constraints…
It is a hidden feature that I’m happy to disclosure
The ECAD/MCAD collaboration works in that way:
Start your board in KiCad designing a very basic pcb edge (a simple square or even a circle) and add a Grid Origin to the board
Pull (load) the board (even without an edge or with a ‘proto’ square edge) in FC
Design your pcb Edge in FC using all FC Sketcher facilities (included Ellipses or BSplines)
Save your design with the Sketch as FC file
Push your Edge to a KiCad pcb file
Design your tracks and place your modules and 3D parts in KiCad
In case of some Edge modification, Pull the board in FC (that will load the pcb Edge loosing your previous assigned constraints) loading the new position of parts Here comes the tricky part:
Load the previous release of your KiCad board as FC file
Copy the Sketch of your previous release to the new one (Copy/Paste the Sketch between the two FC files)
Delete the unconstrained Sketch
Make the Edge changes to the previous release Sketch
Push back the Sketch to your KiCad board.
Save the new release of your pcb Edge as FC file.
This is a Push-Pull procedure with a sort of versioning of your Edge and PCB tracks. One important note:
You need to assign into your KiCad pcb file a static design reference since the beginning.
The reference is: a) Grid Origin (suggested) http://docs.kicad.org/stable/en/pcbnew.html#_setting_coordinates_origin
b) Drill and Place offset (this will affect also Drill output of your gerbers)
and configure also StepUp to use Grid Origin (as suggested in the Cheatsheet)…
in ‘ksu-config.ini’ set: