3D new library for Mechanical CAD exporting and enclosure design


#350

@maui
I downloaded the Footprint Wizard plugin from https://github.com/xesscorp/xess_fp_wizard. To install it, I coped the .py file to C:\Program Files\KiCad\share\kicad\scripting\plugins, per the instructions in the README file.

I was expecting to see something appear under the Tools menu in PcbNew (according to HOWTO: Register a python plugin inside pcbnew Tools menu) but nothing showed up there.

Also, I tried copying the .py file to C:\Program Files\KiCad\bin\scripting\plugins, but again, nothing appeared under the Tools menu in PcbNew.

What am I doing wrong?

I am using KiCad 4.0.7 on Windows 10 64-bit.

Thanks & best regards.


#351

This feature is only available on daily build for the moment (dev version). Will not be on 4.0 stable branch but on next stable version (5.0 ?)


#352

Thanks @jsreynaud. I will try the nightly build.


#353

Hey People im looking for suggestions for a small “math problem” :slight_smile: Im working on adding auto options in the parameters for specific packages.
For the pin1 indicator on QFN and QFP I believe a decent looking radius and distance to edge could be found from the package width and length :slight_smile: any proposals?


#354

To clarify… no extra point, line, etc.?
Just the outline with a round corner for #1 instead of a sharp one (like the other 3)?


#355

A simple 45 degree chamfer on pin 1 would be adequate to be visible and might model more easily


#356

Hi guys
sorry for the incomplete question. Ill try to clarify now :slight_smile:
in the image below you can see a screenshot of a scripted QFN model.
the Red line is the “Distance to edge” and the Green line is the “Pin 1 Radius”.
These parameters are (often) not in the datasheet of a package, therefore these are guestimated.
I would like to make an option to have the script gestimate these parameters, so they should simply be decent looking.
does this make sense?
I know alot of people think im overcomplicating things but I do prefer to have the script handle as much unknown as possible


#357

I am happy with a guess, even if the real value is actually known. This is just a cosmetic feature and has no consequence on “Will it fit?”


#358

I know it’s a cosmetic feature, but a bad guess can easily look really bad. For this reason it can easily mean I have to regenerate the specific model multiple times to get it right. And with currently like 200 QFN/QFP models there is time to save


#359

i don’t know if it works and looks good - you could try to use the distance from the first pin to the edge.
and check/implement some minimal values. (my guess as minimal is: distance to edge = radius of circle; circle radius >= 0,2mm so it is visible enough)


#360

Looks interesting but how do you use all that work? and how many fund will it take t get the software to something that is something like altium?


#361

You use it in the 3D viewer and for export step and Wrl boards?
Atm Altium has around 400 employees, that’s pretty many money. Kicad has 2 (I believe)


#362

BTW, thanks to a fix by @SchrodingersGat, the KiCad nightly (from Nov. 7 on at least) is now also able to export a step model of a board that only references the .wrl models (provided that the step models with the same names are present alongside the .wrl model), just like StepUp is able to do it from FreeCad. Before this fix, it was required to reference the step models. I keep being amazed how responsive the KiCad developers are to bug reports.


#363

No I mean how do you assign them to the footprint automatically…

Also it’s about quality not quantity for that kind though how much would it take to make development of kicad a full time job for it’s developers?

Just a side question here:

when I use the stepup tool in free cad to import a PCB there some of the models I actually assigned are always missing as well as the models for the DF13C connector(Also missing in the kicad 3d viewer for the DF13C) no idea how to assign them back to be able to see them in FreeCad,

Also when I try to export the same pcb from kicad it show me this error:

Running the lates nightly versino of kicad.

Thanks for answering,


#364

By defining it in the footprint settings and by setting the environment variables for both kicad and stepup to look up the right places.

120 Swiss francs per two man hours according to cern:


#365

wow that comes to more than the salary of 5 average software engineers…


#366

Freelancers would be even more expensive. Especially in europe. They need to pay taxes (both the taxes normally paid by the worker and the taxes payed by the company), insurance, …
And they also need to include some off time. (And time needed to find new work.)
(After taxes and the other stuff they hope they are left with a normal pay.)


#367

And about the assignment how’d you do that in stepup and why’d the conversion not work in kicad , well I know we’ve talked about it before but couldn’t find an answer sins then.

and I’m pretty sure taxes are not around 100%+


#368

Kicad stable does not support step.
This is why stepup is needed.
(Stepup has some other features but they are not relevant here)

Assigning a 3d model for stepup is done in the same way as for assigning it for the internal 3d viewer. Only thing you need to do is to tell kicad where your 3d model libs are located.

I found the following explanation of why paying for workers is so expensive using the Austrian taxation system (In german). There the worker gets 9,2€ when the customer needs to pay 59,8€ per hour. (So the 60 francs might result in about 10 francs for the guy who does the programming.)
And yes not everything is used for taxes. (Some stuff is used to pay for the infrastructure needed.)
http://www.tischlerdienst.at/der-preis-einer-arbeitsstunde/


#369

To let StepUp knowing where are your 3D models, you need to configure your ‘ksu-config.ini’ file.
At the first page of StepUp Cheat Sheet the environment variables are described.

You can have 2 environment variables to configure the 3D paths.

You may find useful this thread: