Altium Embedded/Linked 3D models |
Post Reply | Page 12> |
Author | |
Todd Manning
Active User Joined: 25 Jul 2013 Location: Perth WA Status: Offline Points: 49 |
Post Options
Thanks(1)
Posted: 13 Sep 2015 at 7:10pm |
Altium has recently introduced the option to embed a footprint 3D model within the altium library.
|
|
Tom H
Admin Group Joined: 05 Jan 2012 Location: San Diego, CA Status: Offline Points: 5717 |
Post Options
Thanks(1)
|
Library Expert exports an Altium Script and a 3D STEP.
When you import the Script, Altium auto-imports -
Is there something that we're missing? |
|
Todd Manning
Active User Joined: 25 Jul 2013 Location: Perth WA Status: Offline Points: 49 |
Post Options
Thanks(1)
|
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?
|
|
Tom H
Admin Group Joined: 05 Jan 2012 Location: San Diego, CA Status: Offline Points: 5717 |
Post Options
Thanks(1)
|
This should be possible.
It's a matter of finding the right Script command. Can you help us with that? |
|
Todd Manning
Active User Joined: 25 Jul 2013 Location: Perth WA Status: Offline Points: 49 |
Post Options
Thanks(1)
|
Sorry, I don't know what the script command is but I can have a look and see what I can find.
|
|
gcary
Advanced User Joined: 06 Mar 2012 Location: USA Status: Offline Points: 69 |
Post Options
Thanks(1)
|
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 |
|
gcary
Advanced User Joined: 06 Mar 2012 Location: USA Status: Offline Points: 69 |
Post Options
Thanks(1)
|
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 |
|
Nick B
Admin Group Joined: 02 Jan 2012 Status: Offline Points: 1908 |
Post Options
Thanks(0)
|
Thanks for the followup!! |
|
gcary
Advanced User Joined: 06 Mar 2012 Location: USA Status: Offline Points: 69 |
Post Options
Thanks(1)
|
I just verified that this was fixed in version 16 of Altium. Works perfectly now!
Greg |
|
Nick B
Admin Group Joined: 02 Jan 2012 Status: Offline Points: 1908 |
Post Options
Thanks(0)
|
Thanks!!
|
|
Post Reply | Page 12> |
Tweet |
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |