← Back to team overview

kicad-developers team mailing list archive

Re: kicad StepUp update and STEP repository of parametric models

 

Hi Marcos,

I updated the script with very minor improvements (most cosmetics).
http://sourceforge.net/projects/kicadstepup/files/latest/download

I improved also the doc
http://sourceforge.net/projects/kicadstepup/files/kicadStepUp-starter-Guide.pdf

and most of all I added the move-rotate-scale.FCMacro (it is inside the kicad_stepup latest zip file)

I think you should find this macro very useful to position/align the position of manufacture's model to the right position/orientation, and to scale the vrml model to inch for kicad 3d-viewer

It is a GUI macro with some nice buttons; just do some click and your model will be aligned as required.

Maurice

PS the repository for parametric generated STEP and VRML models is growing...
we have now:
QFN and Molded QFN ICs,
SOIC, SSOP, MSOP, TSSOP, SOT, QFP, LQFP, TQFP ... (GullWings in general),
DIP ICS,
Chip Capacitors,
Chip resistors,
pin-strip headers



On 25/08/2015 01.50, Marcos Chaparro wrote:
Debian didn't package FC 0.15 because of these unmet dependencies:
https://release.debian.org/migration/testing.pl?package=freecad

I was looking for a package maintener email to ask about this and ran into
that page. Debian users should sit and wait or get hands on the code to
make it work. I guess FreeCAD should have a more strict dependency check.

Thanks Maurice for all your support, I'll use your tools a lot :)


Marcos

On Mon, Aug 24, 2015 at 6:02 PM, easyw <easyw@xxxxxxxxxxxx> wrote:

Hi Marcos,

I've built FC 015 and FC 016 in debian following all the advices from FC
site and it seems there are still some issues in fusing objects and
conserving colors.
I tried some workaround without positive results.

So at the moment, I consider the script to generate parametric models
fully working in FC 015 under windows and ubuntu.
Anyway users can download colored models from the repository, or just
build the models under a virtual box with ubuntu.

kicad StepUp script is instead fully working in windows, ubuntu and debian.

Thank you for your feedback.
Maurice


On 24/08/2015 17.00, Marcos Chaparro wrote:

Les look for input from other users, most of them will use precompiled
binaries.

I compiled freecad using 2 commands

$ cmake -DFREECAD_USE_EXTERNAL_PIVY=1 -DCMAKE_BUILD_TYPE=Release .
$ make

Its probably a dependency issue on my side, and i don't have the time to
dig too deep into this.

Thanks!
On Aug 24, 2015 10:05 AM, "easyw" <easyw@xxxxxxxxxxxx> wrote:

Hi Marcos,

I think is related to the problems you have in fusion objects with colors
...

it could be a setting in FreeCAD but I have to investigate better...

I attached the parameter-generated QFP100 3D STEP/VRML model placed on a
parameter-generated footprint (from qfp_wizard.py)
As you can see there are all colors ...

Here there are the models files that should be showed with colors


https://github.com/easyw/kicad-3d-models-in-freecad/blob/master/cadquery/FCAD_script_generator/generated_gw/soic/soic_8_39x49_p127.FCStd


https://github.com/easyw/kicad-3d-models-in-freecad/blob/master/cadquery/FCAD_script_generator/generated_gw/soic/soic_8_39x49_p127.step


https://github.com/easyw/kicad-3d-models-in-freecad/blob/master/cadquery/FCAD_script_generator/generated_gw/soic/soic_8_39x49_p127.wrl

Could you please post me the way in which you have built FC from source?
(like the command line history)

thanks
Maurice


On 24/08/2015 14.21, Marcos Chaparro wrote:

Hi Maurice,
it works now.

Should the models have the correct colors?

See attached what I see:


Marcos

On Mon, Aug 24, 2015 at 6:41 AM, easyw <easyw@xxxxxxxxxxxx> wrote:

Hi Marcos,


I had a prob in syncing github files...
now they should be synchronized.
https://github.com/easyw/kicad-3d-models-in-freecad/archive/master.zip

You need also to download the latest version of CadQuery Module
https://github.com/jmwright/cadquery-freecad-module/archive/v0.2.0.zip

Just delete the old CadQuery Mod in FreeCAD and use the new one.
(CadQuery 0.1.8 has been recently updated to fully support these new
features)

I just tried and it seems fine now.

thank you again for your feedback.

Maurice


On 24/08/2015 01.26, Marcos Chaparro wrote:

VRML scaling works great using

freecad your_part.step  kicad_StepUp_vrml_export.FCMacro


The parametric generator gives me the following error:

FC Version
['0', '15', 'Unknown', 'Unknown', 'Unknown']FC Version 015
/home/marcos/life/Downloads/FreeCAD-releases-FreeCAD-0-15/Mod/CadQuery
exists
FC Version
['0', '15', 'Unknown', 'Unknown', 'Unknown']FC Version 015
/home/marcos/life/Downloads/FreeCAD-releases-FreeCAD-0-15/Mod/CadQuery
exists
CadQuery 0.1.8
CadQuery is a parametric scripting language for creating and
traversing
CAD models
Author: David Cowden
License: LGPL
Website: https://github.com/dcowden/cadquery

Opened



/home/marcos/life/Downloads/FreeCAD-releases-FreeCAD-0-15/Mod/CadQuery/Examples/Ex000_Introduction.py

Executed



/home/marcos/life/Downloads/FreeCAD-releases-FreeCAD-0-15/Mod/CadQuery/Examples/Ex000_Introduction.py
Ex000 Closed
Dock adjusted
Exception while processing file: make_gw_export_fc.py [__new__() takes
exactly 25 arguments (24 given)]
File format not supported: SOIC_8

It was called from the command line with FreeCAD make_gw_export_fc.py
SOIC_8




Marcos





References