PCB Libraries Forum Homepage
Forum Home Forum Home > PCB Footprint Expert > Questions & Answers
  New Posts New Posts RSS Feed - Altium Embedded/Linked 3D models
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Altium Embedded/Linked 3D models

 Post Reply Post Reply Page  12>
Author
Message
Todd Manning View Drop Down
Active User
Active User


Joined: 25 Jul 2013
Location: Perth WA
Status: Offline
Points: 49
Post Options Post Options   Thanks (1) Thanks(1)   Quote Todd Manning Quote  Post ReplyReply Direct Link To This Post Topic: Altium Embedded/Linked 3D models
    Posted: 13 Sep 2015 at 7:10pm
Altium has recently introduced the option to embed a footprint 3D model within the altium library.
 
When generating footprints this option always defaults to the linked "File" option which means you have to manually go and change the 3D model to "Embedded".
 
It would be nice to have the option to select embedded or linked in Library Expert.
Back to Top
Back to Top
Tom H View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Jan 2012
Location: San Diego, CA
Status: Offline
Points: 5719
Post Options Post Options   Thanks (1) Thanks(1)   Quote Tom H Quote  Post ReplyReply Direct Link To This Post Posted: 14 Sep 2015 at 10:09am
Library Expert exports an Altium Script and a 3D STEP.
 
When you import the Script, Altium auto-imports -
  1. The user defined Footprint Name
  2. The user defined Physical Description
  3. The Package Height
  4. The 3D STEP model
  5. The component Terminal Lead rectangle on a user defined mechanical layer
  6. The Silkscreen and Polarity
  7. The Assembly Drawing Outline
  8. The Placement Courtyard

Is there something that we're missing?

Stay connected - follow us! X - LinkedIn
Back to Top
Todd Manning View Drop Down
Active User
Active User


Joined: 25 Jul 2013
Location: Perth WA
Status: Offline
Points: 49
Post Options Post Options   Thanks (1) Thanks(1)   Quote Todd Manning Quote  Post ReplyReply Direct Link To This Post Posted: 14 Sep 2015 at 7:10pm
After running the auto-import script, when you open the property window of the 3D model you will see that there is 3 options to where the 3D model is located. "Vault", "File" and "Embedded". The auto import always selects the "File" option which means that the 3D model is linked to the library rather than stored with it. Is it possible to define this option in Library Expert before generating the script file?


Back to Top
Tom H View Drop Down
Admin Group
Admin Group
Avatar

Joined: 05 Jan 2012
Location: San Diego, CA
Status: Offline
Points: 5719
Post Options Post Options   Thanks (1) Thanks(1)   Quote Tom H Quote  Post ReplyReply Direct Link To This Post Posted: 15 Sep 2015 at 6:31am
This should be possible.
 
It's a matter of finding the right Script command.
 
Can you help us with that?
 
Stay connected - follow us! X - LinkedIn
Back to Top
Todd Manning View Drop Down
Active User
Active User


Joined: 25 Jul 2013
Location: Perth WA
Status: Offline
Points: 49
Post Options Post Options   Thanks (1) Thanks(1)   Quote Todd Manning Quote  Post ReplyReply Direct Link To This Post Posted: 15 Sep 2015 at 10:21pm
Sorry, I don't know what the script command is but I can have a look and see what I can find.
Back to Top
gcary View Drop Down
Advanced User
Advanced User


Joined: 06 Mar 2012
Location: USA
Status: Offline
Points: 69
Post Options Post Options   Thanks (1) Thanks(1)   Quote gcary Quote  Post ReplyReply Direct Link To This Post Posted: 18 Sep 2015 at 7:18pm
The ability to embed a 3D model in footprint has been around for quite a while, and it was working great with PCBLibraries.  But it appears a recent update of Altium must have changed the default setting for the location of the 3D model.  As you pointed out, you need to manually change it from "File" to "Embedded".  If you look at the script created by PCBLibraries, the following lines of code are the ones of interest:

        STEPmodel := PcbServer.PCBObjectFactory(eComponentBodyObject, eNoDimension, eCreate_Default);
        Model := STEPmodel.ModelFactory_FromFilename('C:\Component.STEP', false);
        STEPModel.Layer := eMechanical13;
        STEPmodel.Model := Model;
        NewPCBLibComp.AddPCBObject(STEPmodel);

You can observe all of the options for these objects by typing a period after the object name.  For example, type a period after "STEPModel" and you will be presented with all the parameters and methods of the object.  I played around with a few of them but wasn't successful in getting it to work.  I'll submit a support case at Altium and see if they can help identify what is needed to set the 3D model location to "Embedded".

Fortunately the workaround is simple.  But if you are batch building a bunch of components, then it would be more tedious to have to modify each component before saving the library file.

Greg

Back to Top
gcary View Drop Down
Advanced User
Advanced User


Joined: 06 Mar 2012
Location: USA
Status: Offline
Points: 69
Post Options Post Options   Thanks (1) Thanks(1)   Quote gcary Quote  Post ReplyReply Direct Link To This Post Posted: 24 Sep 2015 at 11:14am
I just heard back from Altium support.  They confirmed the problem and said that it probably happened due to enhancements to the 3D Body which allow vault components to have external 3D models.  The good news is that the problem appears to be fixed in version 16.0 of the Altium software, which is due out later this year.  In the meantime we'll have to remember to click the embedded option when making components.

Greg
Back to Top
Nick B View Drop Down
Admin Group
Admin Group


Joined: 02 Jan 2012
Status: Offline
Points: 1909
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick B Quote  Post ReplyReply Direct Link To This Post Posted: 24 Sep 2015 at 12:14pm
Thanks for the followup!!

Stay connected - follow us! X - LinkedIn
Back to Top
gcary View Drop Down
Advanced User
Advanced User


Joined: 06 Mar 2012
Location: USA
Status: Offline
Points: 69
Post Options Post Options   Thanks (1) Thanks(1)   Quote gcary Quote  Post ReplyReply Direct Link To This Post Posted: 11 Dec 2015 at 12:57pm
I just verified that this was fixed in version 16 of Altium.  Works perfectly now!

Greg

Back to Top
Nick B View Drop Down
Admin Group
Admin Group


Joined: 02 Jan 2012
Status: Offline
Points: 1909
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick B Quote  Post ReplyReply Direct Link To This Post Posted: 11 Dec 2015 at 12:58pm
Thanks!!
Stay connected - follow us! X - LinkedIn
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.299 seconds.