kicad StepUp: ECAD MCAD bidirectional collaboration

Show off your FreeCAD projects here!
User avatar
easyw-fc
Posts: 661
Joined: Thu Jul 09, 2015 9:34 am

kicad StepUp: ECAD MCAD bidirectional collaboration

Postby easyw-fc » Tue Feb 16, 2016 8:07 pm

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: 582
Joined: Sun Jun 15, 2014 3:28 am
Contact:

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby ian.rees » Wed Feb 17, 2016 8:49 am

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
Posts: 2462
Joined: Wed Oct 05, 2011 7:36 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby ickby » Wed Feb 17, 2016 8:59 am

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
Posts: 661
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby easyw-fc » Wed Feb 17, 2016 9:48 am

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
Posts: 661
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby easyw-fc » Wed Feb 17, 2016 9:56 am

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=h6wMU3lE_sA&feature=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-new-exporter-for-3d-mcad-feedbacks-are-welcome/1048
and at hackaday
https://hackaday.io/project/7926-kicad-stepup-script-hacks-mcad-world
https://hackaday.com/2015/11/08/kicad-script-hack-for-better-mechanical-cad-export/
User avatar
PrzemoF
Posts: 1715
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby PrzemoF » Wed Feb 17, 2016 12:20 pm

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

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby easyw-fc » Wed Feb 17, 2016 1:06 pm

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 23 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
Posts: 661
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby easyw-fc » Wed Apr 19, 2017 4:35 pm

a completely New Gui has landed! :D
kicad StepUp new Gui
ksu-gui.png
ksu-gui.png (31.65 KiB) Viewed 508 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
Posts: 1610
Joined: Sun May 04, 2014 3:16 pm

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby abdullah » Fri Apr 21, 2017 1:43 am

easyw-fc wrote:a completely New Gui has landed! :D


It really looks great!!
User avatar
easyw-fc
Posts: 661
Joined: Thu Jul 09, 2015 9:34 am

Re: kicad StepUp: ECAD MCAD bidirectional collaboration

Postby easyw-fc » Fri Apr 21, 2017 1:01 pm

abdullah wrote:It really looks great!!

thx :D