Author Topic: KiCAD photo realistic 3D rendering?  (Read 33579 times)

0 Members and 1 Guest are viewing this topic.

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
KiCAD photo realistic 3D rendering?
« on: February 24, 2014, 06:49:41 pm »
Does anyone knows if the is a schedule for realistic 3d in KiCAD? I have seen some project that adds this feature to pcbnew.

Alexander.
Become a realist, stay a dreamer.

 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: KiCAD photo realistic 3D rendering?
« Reply #1 on: February 24, 2014, 06:54:36 pm »
and the usefullness of such a thing is what exactly ?

there's plenty of real problems to be fixed first
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: KiCAD photo realistic 3D rendering?
« Reply #2 on: February 24, 2014, 07:19:56 pm »
For me? None. It  is for my students.

Useful would be to use the 3d rendering to another program. To combine with a case etc.

Alexander.
Become a realist, stay a dreamer.

 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: KiCAD photo realistic 3D rendering?
« Reply #3 on: February 24, 2014, 07:46:13 pm »
rendering are useless. you need dimension accurate step files to do any kind of mechanical work.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: KiCAD photo realistic 3D rendering?
« Reply #4 on: February 24, 2014, 07:49:43 pm »
This is what I wanted to say. But couldn;t recall the "STEP".

Alexander.
Become a realist, stay a dreamer.

 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11612
  • Country: my
  • reassessing directives...
Re: KiCAD photo realistic 3D rendering?
« Reply #5 on: February 25, 2014, 12:17:10 am »
rendering are useless. you need dimension accurate step files to do any kind of mechanical work.
i believe any 3d format can be made "dimension accurate". rendering is just that, rendering.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
Re: KiCAD photo realistic 3D rendering?
« Reply #6 on: February 25, 2014, 12:43:18 am »
rendering is making a pretty picture. those are useless ( apart from putting them in marketing material )
what we need is mechabnical CAD integration: being able to export and import 3d objects,p place them relative to footprints and export the placed and routed assembly back to the mechanical CAD domain.

The prevalent format for this is either STEP or IGES format.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline AlfBaz

  • Super Contributor
  • ***
  • Posts: 2184
  • Country: au
Re: KiCAD photo realistic 3D rendering?
« Reply #7 on: February 25, 2014, 12:57:03 am »
meh... Isometric drawings are for wimps. Don't even get me started with the 3D pussies  ;D
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11612
  • Country: my
  • reassessing directives...
Re: KiCAD photo realistic 3D rendering?
« Reply #8 on: February 25, 2014, 11:41:33 am »
rendering is making a pretty picture. those are useless ( apart from putting them in marketing material )
so you admitted its not entirely useless :P

...import 3d objects,p place them relative to footprints and export...
looking at KiCAD style and trend (divide and conquer for each element) you are looking at another beast that deserves a place next to those eeschema, cvpcb and pcbnew buttons.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline ConnorGames

  • Regular Contributor
  • *
  • Posts: 97
Re: KiCAD photo realistic 3D rendering?
« Reply #9 on: February 26, 2014, 12:52:28 am »
I know it's not exactly what you are looking for, but I made this based off a kicad board in blender... It took hours though, more of a "because I can" project than a "Because I actually need to" project  ;D

EDIT:
You can use file>export>VRML. This used to export ugly meshes (As in, "combine the tracks into one object? Nahh, we'll gust export each segment as its own object!") in previous versions, but with the latest builds (I have BZR 4643 built from source) it looks like it produces a relatively clean and usable mesh -- give it a try. Even if you have an older build, it might still be usable for your purposes. If you want a sample STL or blend file I could upload one.
« Last Edit: February 26, 2014, 02:08:03 am by ConnorGames »
 

Offline doctormord

  • Regular Contributor
  • *
  • Posts: 190
  • Country: cx
  • !nop
    • #fine_arts & #electronics - 360customs.de
Re: KiCAD photo realistic 3D rendering?
« Reply #10 on: December 23, 2014, 08:15:13 am »
rendering are useless.

Even this is an old thread, and my posting would be "useless"  :box:, i just wanted to show my efforts to link KiCAD to POV-Ray using some modified Eagle-3D scripts.
#fine_arts & #electronics  - www.360customs.de
 

Offline AlfBaz

  • Super Contributor
  • ***
  • Posts: 2184
  • Country: au
Re: KiCAD photo realistic 3D rendering?
« Reply #11 on: December 23, 2014, 08:53:35 am »
Nice :-+
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: KiCAD photo realistic 3D rendering?
« Reply #12 on: December 23, 2014, 09:07:25 am »
I have not updated for a while, but any silkscreen drawings or text you add are shown in the 3D View, not quite on topic, but something i myself only recently found out,
 

jucole

  • Guest
Re: KiCAD photo realistic 3D rendering?
« Reply #13 on: December 23, 2014, 10:15:43 am »
Even this is an old thread, and my posting would be "useless"  :box:, i just wanted to show my efforts to link KiCAD to POV-Ray using some modified Eagle-3D scripts.

That is really nice!!!
 

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: KiCAD photo realistic 3D rendering?
« Reply #14 on: December 23, 2014, 12:21:53 pm »
Very nice job! Could you giv us some extra infos?

Alexander.
Become a realist, stay a dreamer.

 

Offline doctormord

  • Regular Contributor
  • *
  • Posts: 190
  • Country: cx
  • !nop
    • #fine_arts & #electronics - 360customs.de
Re: KiCAD photo realistic 3D rendering?
« Reply #15 on: December 23, 2014, 03:13:21 pm »
I have not updated for a while, but any silkscreen drawings or text you add are shown in the 3D View, not quite on topic, but something i myself only recently found out,

This can be switched of in the latest BZW builds. (Not sure if it works in stable BZR4022).

Very nice job! Could you giv us some extra infos?
Alexander.

The first step is to export the "Module Position File (.pos)". To have everything within, the parts used in the circuit must have the attributes "Normal + Insert". (Module Properties)

This will give something like:

Code: [Select]
### Module positions - created on 23/12/2014 06:44:23 ###
### Printed by Pcbnew version pcbnew (2013-07-07 BZR 4022)-stable
## Unit = mm, Angle = deg.
## Side : F.Cu
# Ref    Val                  Package         PosX       PosY        Rot     Side
R24      10k              0402_HD_RES        10.2000    42.3000     180.0    F.Cu
U1       TPA3132D2        TPA3132D2           9.7000    34.9500     270.0    F.Cu
## End

We care about PosX/PosY/Rot(ation) and package.

This then will be translated into Eagle3D macros than POV-Ray can render, so for the 2 parts here:

Code: [Select]
object {RES_SMD_CHIP_0402("10k",)rotate<0,180,0> translate<10.2,0,42.3> translate<0,0.035000,0>} //R24
object {IC_SMD_MLF_32_050MM("TPA3132D2")rotate<0,270,0> translate<9.7,0,34.95> translate<0,0.035000,0>} //U1

For the parser to work, the parts needs to be named correctly (i actually did everything by hand)

The pcb itself is rendered from GERBER data (screenshot) with an alpha-channel to set the mask on a "BOX":

Code: [Select]
box{
    <0,0,0> <50,50,1.6>
    texture{
        pigment{
            image_map{
png "D:\test_copper_red.png"
map_type 0
interpolate 2
//filter 255, 1.0
once}
            scale <50,50,1>}
finish {
ambient 0.1
diffuse 0.3
specular 0.01
roughness .001
reflection {0.2, 0.1 metallic}}       
        }
        rotate <90,0,0>
        translate<0,0,0>
        translate<-17.2,0,15.5>
}

Most (old) infos are shown here (german):

https://translate.google.de/translate?sl=de&tl=en&js=y&ie=UTF-8&u=http%3A%2F%2Fwww.mikrocontroller.net%2Ftopic%2F114555

I made a package available in the past to start with:

http://www.mikrocontroller.net/topic/114555?page=2#3032004

Because the pcb is just an image, there will be no real drills nor vias and pads at the moment. (So automatic solder generation wont work)

Edit:

I'm actually playing with PoseRay to get valid board data from VRML.

« Last Edit: December 23, 2014, 03:38:28 pm by doctormord »
#fine_arts & #electronics  - www.360customs.de
 

Offline doctormord

  • Regular Contributor
  • *
  • Posts: 190
  • Country: cx
  • !nop
    • #fine_arts & #electronics - 360customs.de
Re: KiCAD photo realistic 3D rendering?
« Reply #16 on: December 23, 2014, 08:03:09 pm »
Having some data extracted from the VRML gives a nice drilled board, but the soldermask is wrong in some way (via restring).

#fine_arts & #electronics  - www.360customs.de
 

Offline steve_w

  • Regular Contributor
  • *
  • Posts: 190
  • Country: au
Re: KiCAD photo realistic 3D rendering?
« Reply #17 on: February 10, 2015, 10:30:19 am »
Nice
So long and thanks for all the fish
 

Offline JohnnyBerg

  • Frequent Contributor
  • **
  • Posts: 474
  • Country: de
Re: KiCAD photo realistic 3D rendering?
« Reply #18 on: February 10, 2015, 10:40:15 am »
This is how it looks on the latest release (BZR 5376):

 

Offline JohnnyBerg

  • Frequent Contributor
  • **
  • Posts: 474
  • Country: de
Re: KiCAD photo realistic 3D rendering?
« Reply #19 on: February 10, 2015, 10:47:59 am »
And a zoom:

 

Offline nickoe

  • Contributor
  • Posts: 24
Re: KiCAD photo realistic 3D rendering?
« Reply #20 on: April 03, 2015, 10:15:17 pm »
rendering is making a pretty picture. those are useless ( apart from putting them in marketing material )
what we need is mechabnical CAD integration: being able to export and import 3d objects,p place them relative to footprints and export the placed and routed assembly back to the mechanical CAD domain.

The prevalent format for this is either STEP or IGES format.

If you wand to see STEP and IGES support, please respond to Cirilo's request:

https://lists.launchpad.net/kicad-developers/msg17386.html
 

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #21 on: October 09, 2015, 07:52:00 pm »
rendering is making a pretty picture. those are useless ( apart from putting them in marketing material )
what we need is mechabnical CAD integration: being able to export and import 3d objects,p place them relative to footprints and export the placed and routed assembly back to the mechanical CAD domain.

The prevalent format for this is either STEP or IGES format.
Hi, if you are interested in MCAD integration / collaboration with kicad ECAD you could find useful the script I developed to export kicad pcb and assemblies to mechanical CAD, maintaining the 3D rendering perfectly aligned to the mechanical assembly.
The hack is done by a python script and the recent version of FreeCAD (>=0.15) ...
The result is a STEP model with color and mechanical objects matching completely the 3D aesthetic rendering.
The nicest thing is that you can obtain this feature just with the new standard and official stable kicad version.
To model your parts you can use the standard STEP models obtained from manufacturers or libraries or just model your parts in FreeCAD or whatever MCAD software you may prefer.
The script is Open Source and works in Windows, Linux and OSX
http://sourceforge.net/projects/kicadstepup/
Here is an example of a kicad board and modules converted to STEP:

« Last Edit: October 09, 2015, 07:53:53 pm by easyw »
 

Offline timofonic

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: es
  • Eternal Wannabe Geek
Re: KiCAD photo realistic 3D rendering?
« Reply #22 on: October 11, 2015, 05:25:29 pm »
Nice stuff!

Are there plans to integrate it further in the future? What are the KiCad scripting abilities compared with other EDA software? And easy to make scripts?
 

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #23 on: October 11, 2015, 11:05:30 pm »
Hi @Circuiteromalaguito,

kicad developer are planning to integrate IGES and possibly STEP models directly in the 3D viewer, as a plugin, but when this will be available it difficult to say... for sure it will not be available for the upcoming stable release.

Kicad scripting at the moment is available only for pcbnew and there are some nice scripts to generate footprints for DIP, QFP, BGA ...
they will be available under New Footprint wizard.

The used language is python, so it is quite easy to modify or make a script... scripting doc is a lacking feature...

Anyway, kicad comes with human readable format, so it is possible to script something from outside (e.g. build a panelized PCB)...

Moreover, talking of kicad StepUp script, the script is an external tool for kicad and it is written in python ...
It reads the kicad_pcb board and converts it to a mechanical model that can be used in any MCAD software.
And you can do also the opposite... if you add an enclosure to your mechanical design, you can display that also in kicad 3D viewer, matching exactly what you'll get in mechanical environment:
bi-directional collaboration between ECAD and MCAD worlds!
 
The workflow is very simple and maintains the usual way of working in kicad.
With kicad StepUp script, kicad has now a true parametric 3D MCAD collaboration tool that put beside the 3D photo-realistic rendering of all board elements
and everything is achieved with a single command...
One other 'STEP' ahead to compete with the big ones :)
Maurice
 

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #24 on: February 13, 2016, 11:22:25 pm »
Hi,
I just developed a new Macro to export VRML models from FreeCAD in a smaller size and with a kicad and Blender compatibility...
That Macro will be included in the new kicad StepUp GUI coming soon at:
https://sourceforge.net/projects/kicadstepup/
here the 3D photorealist result :)
 

Offline firewalkerTopic starter

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: KiCAD photo realistic 3D rendering?
« Reply #25 on: February 14, 2016, 12:16:49 am »
Excellent!
Become a realist, stay a dreamer.

 

Online CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5224
  • Country: us
Re: KiCAD photo realistic 3D rendering?
« Reply #26 on: February 14, 2016, 12:25:49 am »
I know free_electron finds these things useless, but they are useful beyond marketing.

While the 3D cad programs can also provide these (in large shops that have those tools), the renderings also are useful in repair/calibration manuals.  If the product is to be produced in kit form they can be used in the assembly instructions.  And for low budget hobby people and very small shops they can even assist in visualizing how it will be mounted and packaged.  I am sure there are other worthwhile functions they can perform. 
 

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #27 on: February 16, 2016, 09:29:55 am »
Hi,
I just released the new kicad StepUp GUI:
https://sourceforge.net/projects/kicadstepup/
here another 3D photo realistic result :)

fully aligned to the 3D mechanical MCAD model

for a real ECAD MCAD collaboration, with a touch of artistic passion  8)
 

Offline MarkF

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
Re: KiCAD photo realistic 3D rendering?
« Reply #28 on: February 16, 2016, 10:41:16 am »
Here are a few samples I've done with DipTrace.  The last two pics I imported from Eagle files.  Sorry, I don't have any experience with KiCad.

I don't find the 3-D image useless.  I have found a few subtle problems in layouts I'm working on.
 

Offline timofonic

  • Frequent Contributor
  • **
  • Posts: 904
  • Country: es
  • Eternal Wannabe Geek
Re: KiCAD photo realistic 3D rendering?
« Reply #29 on: February 24, 2016, 09:47:41 pm »
@easyw Thanks a lot for your work!

Will STEP be too difficult to achieve?
 

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #30 on: March 01, 2016, 09:31:49 pm »
@easyw Thanks a lot for your work!

Will STEP be too difficult to achieve?
if you mean STEP inside kicad, it will be a quite long run to achieve...
but if you use kicad StepUp you can have this panorama:
1) 3D of VRML board and models in kicad for ECAD designing
2) 3D of VRML board and models in blender for photo realistic rendering
3) 3D of STEP  board and models in FreeCAD or any other mechanical CAD for mechanical designing

I just updated kicad StepUp with a user friendly GUI, so the only thing to do is just click a button to load board and models in MCAD world
https://forum.kicad.info/t/kicad-stepup-new-exporter-for-3d-mcad-feedbacks-are-welcome/1048/59

and don't forget the visual 3D aligner to align kicad footprint and 3D STEP model
https://youtu.be/O6vr8QFnYGw
The requirement is a MCAD library, that would be also a must also for having a STEP viewer inside kicad...

so I don't miss so much at the moment and I think this panorama is even more better in respect of a direct STEP integration;  in fact you can have the 3D viewer with materials in kicad because of VRML, which would not available for STEP format

Maurice
 

Offline ElektroQuark

  • Supporter
  • ****
  • Posts: 1244
  • Country: es
    • ElektroQuark
Re: KiCAD photo realistic 3D rendering?
« Reply #31 on: March 02, 2016, 08:32:45 am »
Hi Maurice,

Do the alignment tools change 3D model properties in KiCad?

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #32 on: March 02, 2016, 08:54:40 am »
Do the alignment tools change 3D model properties in KiCad?
when you have aligned your 3D model to footprint in FreeCAD with StepUp tools, just click on the "Export STEP & VRML scaled" and you will get both STEP and VRML models to be used in kicad 3D viewer ... alignment parameters in footprint would be as in the kicadStepUp-starter-Guide file
scale 1 1 1
offset 0 0 0
rotation 0 0 z-angle

those parameters are not changed by the tools, it user's responsibility to check those in pcbnew board file and in footprint
The new StepUp GUI would warn you in case of wrong parameters

please have a look at the new video tutorial
https://youtu.be/h6wMU3lE_sA
Maurice
« Last Edit: March 02, 2016, 08:57:18 am by easyw »
 

Offline ElektroQuark

  • Supporter
  • ****
  • Posts: 1244
  • Country: es
    • ElektroQuark
Re: KiCAD photo realistic 3D rendering?
« Reply #33 on: March 02, 2016, 09:03:54 am »
Oh, I see. I thought you do the alignment in KiCad not in Freecad.
Those unknown icons in KiCad's 3d Viewer confused me.
Thank you.

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #34 on: March 02, 2016, 01:55:01 pm »
I moved all my StepUp code in FreeCAD because of its powerful APIs...
Moreover you can use all the StepUp tools functions as a single FC Macro ( >5K sloc   ;) )...
That improved kicad compatibility of the tools (compatible from 4.0 onwards), and let users to approach MCAD without almost anything knowledge of it, faciliting ECAD MCAD collaboration for a better enclosure and mechanical design
 

Offline thommo

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: au
Re: KiCAD photo realistic 3D rendering?
« Reply #35 on: March 11, 2016, 10:46:20 pm »
Hi guys,

I am neither an elec engineer, nor an industrial designer, but I am project managing a situation where we need to bring the output from Kicad (all the models are in place already I believe), across to Solidworks, for inclusion into the mechanicals for, among other things, interference checking.

Does anyone out there have a proven, efficient workflow, and preferably a step by step instruction set for us to do this?

Would really appreciate the help.
The Kicad guy has no 3D CAD experience and the IndDes no electronics design.

We'd love a simple path to go back in the reverse direction also if possible. SWorks components into Kicad.

First attempts have produced some massive file sizes from Kicad's output (STEP) of several GBs

Thanks in advance.
 

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #36 on: March 12, 2016, 08:00:06 am »
Does anyone out there have a proven, efficient workflow, and preferably a step by step instruction set for us to do this?
Hi, at the moment the only full solution for bidirectional ECAD MCAD integration is kicad StepUp
You can download the tools here
https://sourceforge.net/projects/kicadstepup/files/latest/download
a good point to start is
https://sourceforge.net/projects/kicadstepup/files/kicadStepUp-starter-Guide.pdf/download
Your requirements are
Kicad stable or dev
FreeCAD 0.15 or 0.16
Quote from: thommo
The Kicad guy has no 3D CAD experience and the IndDes no electronics design.
a minimum experience in both environment is required to better understand the collaboration process
Quote from: thommo
We'd love a simple path to go back in the reverse direction also if possible. SWorks components into Kicad.
kicad StepUp will let you have a bidirectional ECAD MCAD collaboration... you need to use FreeCAD as a MCAD sw for an easier interchange.
here a nice pdf on the collaboration process
http://www.prostep.org/fileadmin/freie_downloads/Guidlines-UseCases/UseCases/ProSTEP-iViP_Use-Case_ECAD-MCAD-Collaboration_1.0.pdf

I would suggest to have a look at kicad forum
https://forum.kicad.info/t/kicad-stepup-new-exporter-for-3d-mcad-feedbacks-are-welcome/1048
https://forum.kicad.info/t/how-to-interactive-align-3d-model-to-pcbnew-footprint-new-tool-for-kicad-in-altium-style/1711
An other requirement is a library of MCAD 3D models to be used in kicad ECAD and in MCAD (FreeCAD and Solidworks)
At the forum you can get a lot of useful info
https://forum.kicad.info/t/3d-new-library-for-mechanical-cad-exporting-and-enclosure-design/1763
Quote from: thommo
First attempts have produced some massive file sizes from Kicad's output (STEP) of several GBs
that may depend on board size, number of components, size of enclosure, size of 3D MCAD models etc...
I don't get normally more then ten MB with medium board and full 3D MCAD components...
Consider you can convert to MCAD only relevant 3D parts (i.e. connectors or big parts, discard i.e. small resistors capacitors etc) and/or you can use bounding boxes for some 3D parts

https://hackaday.io/project/7926-kicad-stepup-script-hacks-mcad-world
feel free to ask if you require any further information
Maurice
 

Offline thommo

  • Frequent Contributor
  • **
  • Posts: 268
  • Country: au
Re: KiCAD photo realistic 3D rendering?
« Reply #37 on: March 14, 2016, 04:56:22 am »
Thanks Easyw,

Your instructions are crystal clear, and the first test worked perfectly.

Another question that you may be able to answer from your practical experience;

When creating a 'pair' of library items such as a Footprint and a 3D Model, what is the industry standard in relation to the Global Reference Position - eg 0.0 for the x.y axis?

Can is be placed almost anywhere - eg. at the middle of say Pin 1, or the Top Left corner or, is it essential to place it in the middle of the component?

The reason I ask this question is not so much to do with creating a PCB Layout, but rather when it comes time to manufacture the PCA.

Is it important to place 0.0 in the center of the component so the the PnP machine knows where to 'place' the component on the board?
If not, then how does it know the correct offsets?

Thanks
 

Offline easyw

  • Contributor
  • Posts: 22
  • Country: it
Re: KiCAD photo realistic 3D rendering?
« Reply #38 on: March 14, 2016, 08:47:16 am »
Thanks Easyw,
Your instructions are crystal clear, and the first test worked perfectly.
I'm glad my kicad StepUp tools worked fine for you  :)
Quote from: thommo
When creating a 'pair' of library items such as a Footprint and a 3D Model, what is the industry standard in relation to the Global Reference Position - eg 0.0 for the x.y axis?
Can is be placed almost anywhere - eg. at the middle of say Pin 1, or the Top Left corner or, is it essential to place it in the middle of the component?
have a look at here
https://github.com/KiCad/kicad-library/wiki/Kicad-Library-Convention
https://github.com/KiCad/kicad-library/wiki/Kicad-Library-Convention#6-general-rules-for-footprints
Pad 1 is on the left first, then at the top, except at the top for PLCC (IPC-7351).
For through-hole components, footprint anchor is set on pad 1.
For surface-mount devices, footprint anchor is placed in the middle with respect to device lead ends (IPC-7351).

IPC-7351 is the ref
http://pcbget.ru/Files/Standarts/IPC_7351.pdf
http://electronics.stackexchange.com/questions/44883/designing-pick-and-place-friendly-cad-library-parts
https://github.com/waynegramlich/pcb_footprints/raw/master/IPC-7351BNamingConvention.pdf
Cheers
Maurice
 
The following users thanked this post: steve_w


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf