5 threads found!
Thread | Author | Replies | Views | Last Reply |
---|---|---|---|---|
formoz | 8 | 415 | ||
formoz | 1 | 159 | ||
formoz | 8 | 450 | ||
formoz | 3 | 77 | ||
formoz | 1 | 110 |
23 comments found!
adp001 posted at 4:17AM Sat, 01 May 2021 - #4418095
Today I made something to convert material files to json. Tomorrow I'm going to do it the other way around – json mat-files to Poser. For a possibility to exchange materials between Poser and Blender. That's far more interesting (Blenders Cycle is still serveral times faster and has far more options than Posers implemtation) :)
ah nice, i need to install blender. Blender use Json for its Files ? or you did a script on Blender to import your json ? I currently do a "CR2 (symetry) splitter" and reverse a "CR2 Mirrorer". It includs all : obj, weightMap, Morphs, MAterials and even merge a sculpting morph in geometry if needed.
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
adp001 posted at 4:09AM Sat, 01 May 2021 - #4418096
formoz posted at 7:55PM Fri, 30 April 2021 - #4418086
ok, i just experienced that even with file.flush(), you're not necessarily getting the last lines before a crash ... :)
I can't see on which part this script could be able to crash your Poser. Raising an error condition: Ok. But no crash. There must be something other in your script.
yes absolutely, like reloading figure between the the collect and the undo.... Finally, i had to heavely personalized your scripts, keeping only numeric values, checking actors internalname differently (removing the instantiation check ":"), added a new parameter for this called "only_parms")
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
ok, i just experienced that even with file.flush(), you're not necessarily getting the last lines before a crash ... :)
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
in the log, you see it's not the case, figure and actors are the same between the "collect" and the "undo". the last actor that appears in the log : figure 'V4Hot_Shoes':'Figure 2' // actor 'abdomen:2', is flushed in the log file just before : ac = figure.ActorByInternalName(ac_dict["InternalName"]) that goes in error and abdomen:2 is part of the figure (logs just above)
But, yes, i'll probably make a personal version because i don't need a total undo. Just ckecking the name of actors in my case should be enough. since you put the figure as parameter of the undo, it should assume the actors are the good ones
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
hmm, finally it's more complicated, i have the same case but this time no MarkGeomChanged() involved ...
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
i found another problem : if you do a actor.MarkGeomChanged() before even doing a FigureCollect() you'll have a total mess undo. For me the figure merged with the figure it was conformed . removed it and undo worked this happens in Poser 11.1.1.35510.
Logs :
figure Collect:(figure and actor)
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'BODY:2'//obj:'|Actor object at 0x00000000135AF708|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'CenterOfMass:2'//obj:'|Actor object at 0x00000000135AF1F8|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'GoalCenterOfMass:2'//obj:'|Actor object at 0x00000000135AF600|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'hip:2'//obj:'|Actor object at 0x000000001353BE10|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'abdomen:2'//obj:'|Actor object at 0x000000001353B960|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'rThigh:2'//obj:'|Actor object at 0x000000001353B660|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'rShin:2'//obj:'|Actor object at 0x000000001353BDB0|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'rFoot:2'//obj:'|Actor object at 0x000000001353B7E0|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'lThigh:2'//obj:'|Actor object at 0x000000001353BB58|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'lShin:2'//obj:'|Actor object at 0x000000001353BA50|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'lFoot:2'//obj:'|Actor object at 0x000000001353BD08|'
figure Undo: (figure and actor)
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'BODY:2'//obj:'|Actor object at 0x000000001353D798|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'CenterOfMass:2'//obj:'|Actor object at 0x000000001353BAE0|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'GoalCenterOfMass:2'//obj:'|Actor object at 0x000000001353BEA0|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'hip:2'//obj:'|Actor object at 0x000000001353B948|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'abdomen:2'//obj:'|Actor object at 0x000000001353BD08|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'rThigh:2'//obj:'|Actor object at 0x000000001353B9A8|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'rShin:2'//obj:'|Actor object at 0x000000001353BE10|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'rFoot:2'//obj:'|Actor object at 0x000000001353B960|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'lThigh:2'//obj:'|Actor object at 0x000000001353B660|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'lShin:2'//obj:'|Actor object at 0x000000001353BDB0|'
figure 'V4Hot_Shoes':'Figure 2'//obj:'|Figure object at 0x000000001353D3A8|', actor 'lFoot:2'//obj:'|Actor object at 0x000000001353B2A0|'
dictionary data before calling and figure checking name/internalname : ac = figure.ActorByInternalName(ac_dict["InternalName"])
figure 'V4Hot_Shoes':'Figure 2' // actor 'BODY:2'
figure 'V4Hot_Shoes':'Figure 2' // actor 'hip:2'
figure 'V4Hot_Shoes':'Figure 2' // actor 'abdomen:2'
File "F:LocalRuntimeLibraries!BarzingsplitCR2.py", line 609, in undoFigure
ac = figure.Actor(ac_dict["InternalName"])
poser.error: Figure has no actor by that name
------
Thread: Python Scripts UI dockable Palette | Forum: Poser Python Scripting
Yes, we will probably do that ! I just can't say when i can give a go on this for the moment. And i am not a pro dev coder i'm just an amateur scripter, so don't except me to reach your level of coding.
Thread: Python Scripts UI dockable Palette | Forum: Poser Python Scripting
adp001 posted at 7:48AM Thu, 29 April 2021 - #4417900
Is it really so hard to write a UI control for that? Or to store anything needed in seperate cells from a wx.GridBag?
Just out of curiosity: What is a slider good for when selecting a Python script to run?
I still didn't put my hands at all in the UI part of python (wx module) that can help for poser, so i don't really know what is hard or not. I just imagine that the dockable part or slider could be. (and the png icons maybe) By slider, i just want to be sure that if you have more icons that the palette can offer in dimension, you'll have a slider to reach the hidden icons, Especially if you dock it. But maybe the palette can manage that by default.
i imagine having these multiple simple toolbars for my differents workflow. I don't like the default poser script window this toolbar could be fine and more ike the menu toolbar it would be great.
When i'll have time, i'll try to do it.
Thread: Python Scripts UI dockable Palette | Forum: Poser Python Scripting
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
Yes This correction works ! Thx, It's nice to you to deliver such quality python scripts to everyone !
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting
tested it, i had a poser crash and i chased down the culprit :
rFoot:6
key: NumbSubdivRenderLevels, MemorizedValue: '0', CurrentValue:'0'
key: ShadingRate, MemorizedValue: '0.20000000298', CurrentValue:'0.20000000298'
key: VisibleInIDL, MemorizedValue: '1', CurrentValue:'1'
key: VisibleInReflections, MemorizedValue: '1', CurrentValue:'1'
key: CreaseAngle, MemorizedValue: '80.0', CurrentValue:'80.0'
key: Parent, MemorizedValue: 'Actor object at 0x0000000013F215D0', CurrentValue:'Actor object at 0x0000000010CD1DF8'
key: VisibleInRender, MemorizedValue: '1', CurrentValue:'1'
key: SmoothPolys, MemorizedValue: '1', CurrentValue:'1'
key: AnimatableOrigin, MemorizedValue: '0', CurrentValue:'0'
key: BackfaceCull, MemorizedValue: '0', CurrentValue:'0'
key: DisplayStyle, MemorizedValue: '4', CurrentValue:'4'
key: Name, MemorizedValue: 'Right Foot', CurrentValue:'Right Foot'
key: Geometry, MemorizedValue: 'Geom object at 0x0000000013F3CF30', CurrentValue:'Geom object at 0x0000000013F51F90'
key: CastsShadows, MemorizedValue: '1', CurrentValue:'1'
key: AlignmentRotationXYZ, MemorizedValue: '(5.164360046386719, -7.982140064239502, -3.025599956512451)', CurrentValue:'(5.164360046386719, -7.982140064239502, -3.025599956512451)'
key: Orientation, MemorizedValue: '(5.164360046386719, -7.982140064239502, -3.025599956512451)', CurrentValue:'(5.164360046386719, -7.982140064239502, -3.025599956512451)'
key: Origin, MemorizedValue: '(-0.02469700016081333, 0.031172700226306915, -0.019022399559617043)', CurrentValue:'(-0.02469700016081333, 0.031172700226306915, -0.019022399559617043)'
key: NumbSubdivLevels, MemorizedValue: '0', CurrentValue:'0'
key: Bends, MemorizedValue: '1', CurrentValue:'1'
key: SubdivideWithFigure, MemorizedValue: '1', CurrentValue:'1'
key: VisibleInCamera, MemorizedValue: '1', CurrentValue:'1'
key: Visible, MemorizedValue: '1', CurrentValue:'1'
key: Static, MemorizedValue: '1', CurrentValue:'1'
key: DisplayOrigin, MemorizedValue: '0', CurrentValue:'0'
key: DisplacementBounds, MemorizedValue: '0.0', CurrentValue:'0.0'
key: OnOff, MemorizedValue: '1', CurrentValue:'1'
i had to remove "Parent" from collected attribs to avoid the crash, astonishly it didn't crash on geometry change. but i do'nt understand why the geometry changed while i changed it before collect and not after.
Thread: Using SciPy module in PoserPro2012 | Forum: Poser Python Scripting
i spent some times to try to upgrade numpy 1.16.2 higher possible version with python 2.7.1 on poser 11.1.1.35510 without any success. Looks likes that DLLs (pyd and/or DLL) are the culprites. So i project to use "pipe" datas to my locally installed python 3.9 to work on with scipi.spatial calculations. Anyone of you tried the python mulit processing in Poser 11 ?
Thread: Make Poser 11 trial work with Poser 12 serial pls | Forum: Poser 12
Support responded "Ney" so i have to stick back to SmithMicro Poser 11 for some functionnalities and these bugs (poser 11)
They cleared stated that Poser 11 is no longer sold by Bondware and support is limited as it has been discontinued. I noticed that the polygons reduction functionnality for Figures and Objects has been removed from poser 12. So poser 12 has a deprecated functionnality vs Poser 11 on this. I didn't notice it mentioned anywhere ? at least not on commercials statements (of course) So will it come back in later version?
And finally i would have appreciated to know about these before making my choice to buy Poser 12 :
Now, once again, for the moment, i'm sticked with SmithMicro Poser 11 and Poser 12.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Thread: Is there a way to support Undo with LoadLibraryPose | Forum: Poser Python Scripting