Hi @JieFK,
try to use "centerOfMass" constraint. This does exactly what you want. It aligns the faces and the central axes with one single constraint.
Hi @JieFK,
Hi, I just wanted to show the gifdcapeletti wrote: ↑Mon May 20, 2019 11:37 pm I made an engine and assembly with some parts and a script to run the animation. You can see the gif and the repository of the project.
https://gitlab.com/dcapeletti/ejercicio ... A2Plus.gif
https://gitlab.com/dcapeletti/ejercicio ... %20tiempos
Thank you for your interest on A2plus.
When switching to transparent mode of an assembly, the original colors/transparency values are saved to internal python data structures for recovery purposes, what you have probably already found when looking at a2plib.py.When FC doc gets saved with transpareny off, all is ok,
but when FC doc gets saved with transparency on and FC
is closed and on the next call the A2P assembly is opened
the toggle of transparency doesn't work any more.
If you consider this workaround useful, I will make a PR for adding a Restore Transparency Buttonkbwbe wrote: ↑Sun May 26, 2019 11:53 am Saving and closing the doc in transparent mode deletes the recovery structures and therefore the original transparency values get lost. Unfortunately ATM i do not know a working solution to prevent that. When there is some time, this part of code will be reworked again. Additionaly there seem still to be some issue of FC when loading transparent objects. Sometimes objects are shown non transparent after loading although obj.ViewObject.Transparency has a transparent value.
Hi Maurice,