kicad StepUp: ECAD MCAD bidirectional collaboration

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

kicad StepUp: ECAD MCAD bidirectional collaboration

Post by easyw-fc »

Hi, kicad StepUp is a tool set for ECAD MCAD collaboration based on KiCad and FreeCAD

The StepUp tool can be used:
- as a script
- as a FreeCAD Macro
- as a FreeCAD Mod WB

here a case study on a Kicad board as displayed on:
- internal kicad 3d-viewer (VRML models exported by PartToVRML Macro)
- FreeCAD MCAD (most 3D models generated by FreeCAD CadQuery 3D model generator)
- Blender rendering engine (VRML models exported by PartToVRML Macro)

Image
Image

working on: Linux, OSX, Windows
FreeCAD >=0.15
ian.rees
Posts: 696
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by ian.rees »

Awesome! I just used KiCAD for a couple PCBs for the first time a couple months ago - it's really nice!

Have you done any work in going from FreeCAD back to PCB layout? I'd be interested in the ability to export for instance a Part Design sketch as a PCBNew outline. -Ian-
ickby
Veteran
Posts: 3116
Joined: Wed Oct 05, 2011 7:36 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by ickby »

Hello,

very nice results! are you in any way part of the FreeCAD PCB project, or are you annyhow in contact with this project? https://github.com/marmni/FreeCAD-PCB
https://sourceforge.net/projects/eaglepcb2freecad/

@Ian: have a look at the links above, I think this workbench supports export of pcbs created from sketches to various layout tols like kicad.
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by easyw-fc »

ian.rees wrote:Have you done any work in going from FreeCAD back to PCB layout?
kicad StepUp is a bidirectional tool...
so if you design e.g. an enclosure or a 3d model in FreeCAD, clicking on the 'Export to kicad' button you'll get a VRML to be used in kicad
Image
Moreover if you just need to export your pcb edge
ian.rees wrote:I'd be interested in the ability to export for instance a Part Design sketch as a PCBNew outline.
the best thing is to export it to DXF (better R12 version, maybe through a second exporting in LibreCAD) and import it in kicad
https://forum.kicad.info/t/kicad-dxf-im ... tline/1692
https://forum.kicad.info/t/edge-3d-issu ... rch/1511/9
Last edited by easyw-fc on Wed Feb 17, 2016 2:21 pm, edited 2 times in total.
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by easyw-fc »

ickby wrote:very nice results! are you in any way part of the FreeCAD PCB project, or are you annyhow in contact with this project? https://github.com/marmni/FreeCAD-PCB
https://sourceforge.net/projects/eaglepcb2freecad/
kicad StepUp is derived from many FC projects/WBs.
kicad StepUp is aimed to create a bidirectional ECAD/MCAD collaboration focused on kicad
the idea is to have exactly the same 3d result in both environment, and that can be done only having the right libraries, made with kicad StepUp and FreeCAD
Please have a look at those video tutorial
https://www.youtube.com/watch?v=h6wMU3l ... e=youtu.be
https://youtu.be/O6vr8QFnYGw
https://youtu.be/XmNGdqkKbpM
and a lot of info at kicad forum
https://forum.kicad.info/t/kicad-stepup ... lcome/1048
and at hackaday
https://hackaday.io/project/7926-kicad- ... mcad-world
https://hackaday.com/2015/11/08/kicad-s ... ad-export/
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by PrzemoF »

Beautiful!
Is there any chance of sharing the frame model? I'd like to run FEM frequency analysis on it.
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by easyw-fc »

PrzemoF wrote:Beautiful!
Is there any chance of sharing the frame model? I'd like to run FEM frequency analysis on it.
you mean the shield?
crazyshield_B.7z
(125.87 KiB) Downloaded 316 times
that is the wrl file of the shield
the original artwork is here
https://github.com/bitcraze/bitcraze-me ... ter/models
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by easyw-fc »

a completely New Gui has landed! :D
kicad StepUp new Gui
ksu-gui.png
ksu-gui.png (31.65 KiB) Viewed 23815 times
thx so much to @agryson for the new icon artwork! ;)

the new Gui is floating and dock-able for a better UX
Image

I added also two 2 new buttons for fusion and compound that will make life easier for users unaccustomed to FC; those are also useful if you load a STEP file with hierarchy in FC 0.17 which involves App::Part new TypeId... the button function is recursing each App::Part object and sub-objects considering their relative placement to make a simple copy of the hierarchy and let the Part be exportable as STEP file again.
This is a function that I really missed with the new way (FC0.17) of loading hierarchy STEP files.

thx so much to all in this forum that helped me in learning many python tricks :D
Maurice
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by abdullah »

easyw-fc wrote:a completely New Gui has landed! :D
It really looks great!!
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Post by easyw-fc »

abdullah wrote: It really looks great!!
thx :D
Post Reply