--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
*typed on phone
Cheers,
Roy
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5612C0F1.9060109%40gmail.com.
In the past one of the ways we've sanitized meshes like this is make a cube and combine it with the desired mesh then delete the first 6 faces (from the cube). That tends to force Maya to rebuild/reset everything.
Ian
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs4dGvvB2ocFO1PxKSzeb8wF1%3Dgr3CQDE2N64wcvRvGWKQ%40mail.gmail.com.
In the past one of the ways we've sanitized meshes like this is make a cube and combine it with the desired mesh then delete the first 6 faces (from the cube). That tends to force Maya to rebuild/reset everything.
Ian
On Mon, Oct 5, 2015, 2:17 PM Chad Fox <chadl...@gmail.com> wrote:
Thanks for the input, unfortunately the CG talk thread doesn't give me any new info, in fact I recommend people read that one carefully as there's a few people tossing around ideas of .pnts that are not accurate.As the thread points out, you can edit pnts with setAttr, but setting the pnts to 0, 0, 0 just moves the verts back to their base location. wish I could just setIdentity on the pnts array hehe.
-Chad
On Mon, Oct 5, 2015 at 11:26 AM, f.michal <f.mi...@gmail.com> wrote:
W dniu 2015-10-01 o 00:28, Chad_Fox pisze:
Hi all--
Does anyone know if it's possible to freeze .pnts (tweaks) on a mesh using python? I've been struggling with this for a while with no results.
To be clear. I want to remove/freeze/zero these values on meshes that don't have tweak nodes or history. For those who don't know, the tweak nodes are created when a new history operator is added and all tweaks are transferred to this node from the .pnts array on the mesh shape. Fortunately when there's history I can just delete history and all tweaks are gone too.
Any input or suggestions to try would be greatly appreciated!
Thanks
Chad
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Chad !
Have you found any solution ? I got struck by this again lately, and I even posted to group an hour ago or so !
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5612C0F1.9060109%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
Only if it has too (verts with no edges etc) but its almost always desirable in our experience. Of the mesh is generally clean Maya will preserve the vertex order with operations like that. We've been doing it with blendshapes for years.
There's a risk however of changing vertex order ?
On Monday, October 5, 2015 at 11:23:35 PM UTC+2, Ian Jones wrote:In the past one of the ways we've sanitized meshes like this is make a cube and combine it with the desired mesh then delete the first 6 faces (from the cube). That tends to force Maya to rebuild/reset everything.
Ian
On Mon, Oct 5, 2015, 2:17 PM Chad Fox <chadl...@gmail.com> wrote:Thanks for the input, unfortunately the CG talk thread doesn't give me any new info, in fact I recommend people read that one carefully as there's a few people tossing around ideas of .pnts that are not accurate.As the thread points out, you can edit pnts with setAttr, but setting the pnts to 0, 0, 0 just moves the verts back to their base location. wish I could just setIdentity on the pnts array hehe.
-Chad
On Mon, Oct 5, 2015 at 11:26 AM, f.michal <f.mi...@gmail.com> wrote:
W dniu 2015-10-01 o 00:28, Chad_Fox pisze:
Hi all--
Does anyone know if it's possible to freeze .pnts (tweaks) on a mesh using python? I've been struggling with this for a while with no results.
To be clear. I want to remove/freeze/zero these values on meshes that don't have tweak nodes or history. For those who don't know, the tweak nodes are created when a new history operator is added and all tweaks are transferred to this node from the .pnts array on the mesh shape. Fortunately when there's history I can just delete history and all tweaks are gone too.
Any input or suggestions to try would be greatly appreciated!
Thanks
Chad
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Chad !
Have you found any solution ? I got struck by this again lately, and I even posted to group an hour ago or so !
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5612C0F1.9060109%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs4dGvvB2ocFO1PxKSzeb8wF1%3Dgr3CQDE2N64wcvRvGWKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/745a4f68-7691-4c57-9ea1-558eb7ab9cd7%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAL6_5Q_NB6OipEkhDOW_98LtxdaCfVCRJ%3DBQyTQw1ojdOL8VAA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs6-mRs7r4bQyixHpXR4NqovORk7UVMEiU2eO%3DdBhCRAtA%40mail.gmail.com.
-Chad
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Chad !
Have you found any solution ? I got struck by this again lately, and I even posted to group an hour ago or so !
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5612C0F1.9060109%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs4dGvvB2ocFO1PxKSzeb8wF1%3Dgr3CQDE2N64wcvRvGWKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/745a4f68-7691-4c57-9ea1-558eb7ab9cd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAL6_5Q_NB6OipEkhDOW_98LtxdaCfVCRJ%3DBQyTQw1ojdOL8VAA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs6-mRs7r4bQyixHpXR4NqovORk7UVMEiU2eO%3DdBhCRAtA%40mail.gmail.com.
-Chad
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/4b2aad0c-f8c1-4ef5-9e76-cd6250c45bc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Chad !
Have you found any solution ? I got struck by this again lately, and I even posted to group an hour ago or so !
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/5612C0F1.9060109%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs4dGvvB2ocFO1PxKSzeb8wF1%3Dgr3CQDE2N64wcvRvGWKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/745a4f68-7691-4c57-9ea1-558eb7ab9cd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAL6_5Q_NB6OipEkhDOW_98LtxdaCfVCRJ%3DBQyTQw1ojdOL8VAA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs6-mRs7r4bQyixHpXR4NqovORk7UVMEiU2eO%3DdBhCRAtA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/a31add83-2c55-4b2b-a193-b028954cd149%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAJ4oLs4%3D4ZGvep7yUDXr%3DQKX80xfyGVZxncnSY1jZcEyhGNtAw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAAssL7b1zJ6br1UREdAY6z%3DQCtTDCS-hM3XTpU-N32-dszMTSw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCzmvKE6OHhxBm6%3DN7JNOvKtR3ur-onXyUv%2B8kkCJVxdQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAD65uqnQyfBQB%2Bsuc5Y8kL2Fr60nz7fTOJZTv%3D2fEF-GsRyoLA%40mail.gmail.com.
for mesh in meshes:
if cmds.polyCollapseTweaks(mesh, query=True, hasVertexTweaks=True):
cmds.polyCollapseTweaks(mesh)--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/bf0b4fae-b841-4695-a80c-43c13edba5b9%40googlegroups.com.