Thu, Nov 14, 3:14 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 14 12:36 pm)



Subject: Loop-making script


jancory ( ) posted Mon, 28 March 2011 at 8:24 PM

that's one sweet flip you've got going there. nice work!


lost in the wilderness

Poser 13, Poser11,  Win7Pro 64, now with 24GB ram

ooh! i guess i can add my new render(only) machine!  Win11, I7, RTX 3060 12GB

 My Freebies



NanetteTredoux ( ) posted Tue, 29 March 2011 at 1:07 PM

The hair styling took is looking very promising. I am very excited about it. Thank you for your hard work on this.

Poser 11 Pro, Windows 10

Auxiliary Apps: Blender 2.79, Vue Complete 2016, Genetica 4 Pro, Gliftex 11 Pro, CorelDraw Suite X6, Comic Life 2, Project Dogwaffle Howler 8, Stitch Witch


SteveJax ( ) posted Tue, 29 March 2011 at 1:26 PM

Take care of yourself first. The hair room will still be there when you're up to it.


Cage ( ) posted Tue, 29 March 2011 at 2:30 PM

Quote - Take care of yourself first. The hair room will still be there when you're up to it.

I'm fine now.  No worries.  Whatever it was just had me messed up on Sunday.

The two hair-positioning methods shown above can be useful for certain sorts of things, but after trying to use them to make something, I realize a method is needed to sweep the selected hairs more directly along the path.  I'm trying to work out something which will allow one to place the markers around the surface of the parent object (or anything underneath the hair) and have the hairs end up following that path.  As close to drawing the hair path directly around an object as might be possible in Poser.  Or such is my hope, at least.

This involves the predictable conceptual problems as I try to work out how to implement it.  :unsure:  So my big problem today is just trying to re-space the vertices of the hairs properly after I've redefined the endpoint of the hair.  I'm still overlooking something which is key to achieving this.  Grumble.

But I'm really fine, otherwise.

Thanks for the comments, jancory and NanetteTredoux.  I hope I can get something together which will be useful and fairly accessible.  I don't want something which is as awkward as the existing tools, just in a different way.  :lol:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


SteveJax ( ) posted Tue, 29 March 2011 at 5:22 PM

I've always thought the hair room needed a comb or a brush tool.


Cage ( ) posted Tue, 29 March 2011 at 11:57 PM

file_467326.jpg

The third styling type seems to be working nicely now.  This one sweeps all of the selected hairs directly along the path, allowing one to position the markers around the surface of the underlying objects and trace the desired path.

Now I need to add the handling by hair group and after that I need to tweak a few things and build the Tk GUI for Posers 7 and below.  So we're moving along at a decent pace.  :laugh:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


NanetteTredoux ( ) posted Wed, 30 March 2011 at 12:55 AM

Oh that last feature will be ideal for making a comb-over!

Poser 11 Pro, Windows 10

Auxiliary Apps: Blender 2.79, Vue Complete 2016, Genetica 4 Pro, Gliftex 11 Pro, CorelDraw Suite X6, Comic Life 2, Project Dogwaffle Howler 8, Stitch Witch


SteveJax ( ) posted Wed, 30 March 2011 at 1:08 AM

And Bald Vickies everywhere sang Hallelujah!! :tt2:


Cage ( ) posted Wed, 30 March 2011 at 1:12 AM

The results can be a bit cleaner, without all that... dang, what's the word?  Fringing?, if the hair selection or hair group is defined more carefully.  I just applied the function to all hairs in a group which was set up more-or-less at random.  It seems evident that careful design of the underlying hair group prop and its group divisions is the key to getting decent results with any hair-design tools.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Cage ( ) posted Fri, 01 April 2011 at 10:22 PM

file_467394.txt

Here's a first release for the hair script.  All of the features seem to be working, but there are probably things which need to be improved.  I've done a quick test with the Sydney scalp prop.  The process works, but it seems like it will require a learning curve to determine how best to set up groups for the hair and position the path for the various features.

One problem I do note is that the "Y locks" aren't being defined very effectively on a more complex prop like the Sydney scalp prop.  The shaping propcess works fine for the locks, but they're broken up into smaller pieces than I'd like, making them hard to use for selection.

You should be able to run this on any grouped object.  It should grow the guidehairs for you if they don't already exist.  Then start adding markers to the scene and you're ready to start shaping the hair using the marker path.

I'll be working on trying to improve things for a bit yet, so if anyone finds a bug or problem, please let me know so I can try to fix it.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Sun, 03 April 2011 at 9:41 PM
Site Admin Online Now!

I'm trying the hair script that youposted on the 1st and I get this message reaptedly until I hit end script:

Traceback (most recent call last):  File "G:Program FilesSmith MicroPoser 8RuntimePythonposerScriptsScriptsMenuhair_to_path5b.py", line 3143, in timed_preview    self.preview_path()  File "G:Program FilesSmith MicroPoser 8RuntimePythonposerScriptsScriptsMenuhair_to_path5b.py", line 3162, in preview_path    self.marker_positions.append((xt,yt,zt))AttributeError: append

I will admit I have no idea what  I'm doing. I ran the script, clicked on a hair group, selected hairs, selected y locks, hit start preveiw and got the message. I tried just clicking on a group and it happened. I'm using p8. is this script for 8? Am I doing something wrong? 


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Sun, 03 April 2011 at 10:15 PM

Quote - I will admit I have no idea what  I'm doing. I ran the script, clicked on a hair group, selected hairs, selected y locks, hit start preveiw and got the message. I tried just clicking on a group and it happened. I'm using p8. is this script for 8? Am I doing something wrong?

Have you added any path markers to the scene?

Looking at that part of the code, I can sort of see how it might get confused, but I can't get it to happen.  I'm using Poser 8, myself.  The script should support all versions of Poser greater than 5.

So you're not doing anything wrong, as far as I know.  You've just found the first bug which I hadn't noticed.

Is this problem recurring?

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Cage ( ) posted Sun, 03 April 2011 at 10:34 PM

file_467474.txt

I can't create the same error on my system, but I think I've found the place where the error occurred.  I've made a change which should prevent the error.  Hopefully this fixes the reported problem.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Mon, 04 April 2011 at 8:38 AM
Site Admin Online Now!

I did add path markers in some of my tries. The new script seemed to work ok on the brief try I gave before work this morning, at least it didn't give me an error when I clicked the preveiw button. I'll work more with it after wrok today. I'm really excited about this script.Thank you for making it.


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Mon, 04 April 2011 at 1:08 PM

Quote - I did add path markers in some of my tries. The new script seemed to work ok on the brief try I gave before work this morning, at least it didn't give me an error when I clicked the preveiw button. I'll work more with it after wrok today. I'm really excited about this script.Thank you for making it.

I hope it works for you!  I apologize for the error.  The most frustrating errors to de-bug are those which don't affect you, the programmer, but affect others.  I do know there are a couple of other things that can go wrong, but I haven't been able to re-create them for de-bugging.  :sad:

If you work with the script and have any thoughts on how it handles, let me know.  I'm not convinced that all features are as flexible or accessible as I'd like.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Mon, 04 April 2011 at 6:56 PM
Site Admin Online Now!

In my attempt to make some hair, sometimes when I try to select a a group I get this error

Traceback (most recent call last):  File "G:Program FilesSmith MicroPoser 8RuntimePythonposerScriptsScriptsMenuhair_to_path5b2.py", line 3055, in fill_hairboxes    result = self.stylist.get_hairprop(grp)  File "G:Program FilesSmith MicroPoser 8RuntimePythonposerScriptsScriptsMenuhair_to_path5b2.py", line 184, in get_hairprop    self.restore_roots()  File "G:Program FilesSmith MicroPoser 8RuntimePythonposerScriptsScriptsMenuhair_to_path5b2.py", line 256, in restore_roots    verts = geom.Polygon(hi).Vertices()poser.error: Invalid Polygon index

It doesn't do it on all the groups just some of them. I can send you the prop if you want it's possible that certain conditions of props will cause the errors I suppose.


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


SamTherapy ( ) posted Mon, 04 April 2011 at 7:07 PM

Belated birthday greetings to this thread.  :)

Coppula eam se non posit acceptera jocularum.

My Store

My Gallery


Cage ( ) posted Mon, 04 April 2011 at 7:07 PM · edited Mon, 04 April 2011 at 7:20 PM

Yes, I think I should examine the prop if possible.  I'm assuming that Poser generates one hair polygon for every vertex of the parent prop which is part of the hair group.  Possibly you've found a prop which disproves this assumption.  😕  Or, perhaps more likely, you've found the empty group error which I've been trying to fix.  I've only seen it once, and I haven't been able to repeat it in order to debug.  Hoping that's it.

I'll PM you will an e-mail address.

 

I've just updated the Loop Scripts page.  All of the scripts have been updated in one way or another.  The extruder now has animation enabled.  The path scripts all have the line preview options.  All of the Wx GUIs now have proper End Script buttons (a special technique is needed, to work with the poser.WxAuiManager & it took Cage this long to figure it out).

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Cage ( ) posted Mon, 04 April 2011 at 7:12 PM · edited Mon, 04 April 2011 at 7:16 PM

Quote - Belated birthday greetings to this thread.  :)

Ooh.  Cross-post.  My above response was to RedPhantom.

But this one is to SamTherapy.  The Loop Scripts project thanks you for the birthday greetings.  :laugh:  Has it been over a year of loop-making now?  Jeepers.  :laugh:    I had no idea what I was embarking upon, when I started.  :lol:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Cage ( ) posted Tue, 05 April 2011 at 12:34 AM · edited Tue, 05 April 2011 at 12:36 AM

file_467515.txt

Okay.  I managed to track down some errors in the hair group and hair prop creation and handling code.  The old version was easily confused because I was going about it the wrong way.  This update has been tested to work in all of the basic cases which can exist:
  • Neither hair group nor hair prop exist
  • Both hair group and hair prop already exist
  • Hair group exists but hair prop has been deleted from scene
  • Hair prop exists but hair group has been deleted using the Grouping Tool

It's also running a check, before creating a re-named group, to verify that no hair group which is identical to a selected geometry group already exists on the prop.  In that case it declines to handle the geometry group and refers the user to the name of the matching hair group.

One thing it can't do is delete a geometry group once it's been made redundant by being copied over to a hair group (which happens in the case of renaming to avoid duplicate actor names in the scene).  That will need to be done manually, using the Grouping Tool.

The error in restore_roots(), reported above, was possibly (hopefully) being caused by a hair group/hair prop mixup, in which a hair prop with empty geometry had been created.  If so, this update should fix the problem.  If the error persists, I still have some revision to do.  :unsure:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Cage ( ) posted Tue, 05 April 2011 at 5:05 PM

file_467534.txt

The above update seems to have fixed the problem reported by RedPhantom, but the testing prop he sent me revealed a couple of other things.  This one is debugged.

Sorry about all of the updates.  It's getting there.  I have a bunch of new options coded, which need to be built into the GUI, so hopefully the next update will be for features and not bug fixes.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Tue, 05 April 2011 at 6:29 PM
Site Admin Online Now!

Quote:...so hopefully the next update will be for features and not bug fixes.

 

Unless redphantom manages to break the thing again:m_wink:


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Tue, 05 April 2011 at 6:35 PM

Quote - Unless redphantom manages to break the thing again

Well, if there's anything that needs to be fixed, I hope you find it.  :lol:  But I'd rather hope that there's nothing to be fixed and you have no further troubles.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Tue, 05 April 2011 at 9:31 PM
Site Admin Online Now!

Well, so far so good. haven't gotten any errors with your laest script. Tried all the props that had caused errors and they all worked fine. 


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Mon, 11 April 2011 at 2:30 PM

file_467735.jpg

I haven't stopped working on the scripts.  I've been trying to find an implementation of signed distance fields with marching mubes which will be tolerably fast in Poser.  So far I've extended the Mr. Skinner script to use this technique as a second meshing option for the loop scans, as per the attached image.  Dealing with 2D scans this way speeds up the process considerably.  A full 3D implementation will seemingly require a more complex screening method than I've yet devised, to generate the signed distance fields quickly.

I've also updated the chain posing script.  A BODY actor which doesn't have a zeroed origin can now be handled, and most of the base link posing errors seem to have been reduced to minor misalignments.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Mon, 01 August 2011 at 8:35 PM
Site Admin Online Now!

I just wanted to post a shot of something I made with the hair script. It's nothing fancy but it is all dynamic hair


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Mon, 01 August 2011 at 10:09 PM

Quote - I just wanted to post a shot of something I made with the hair script. It's nothing fancy but it is all dynamic hair

Wow!  :laugh:  That's a much better result than I would have expected, based on my tests.  I ran into endless problems with script-manipulated guide hairs intersecting the underlying scalp prop.  I assumed that would lead to critical difficulties with a final hair set, then got caught up in trying to find ways to prevent the intersections, but did not (and still do not :lol:) have the math knowledge adequate to solving the problem.

It's really nice to know the script could help someone develop a working hair set, after all.  Was the process ultimately any easier than trying to make the hair without the assistance of the script?  😕

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Mon, 01 August 2011 at 10:32 PM
Site Admin Online Now!

Yes it was much easier. I could not have done this without the script. I think each face of the scullcap would have had to be a new group otherwise.

I had problems at first with the hair intersecting the scalp too but then found that hair marker 0 and 1 need to pull the hair away from the scalp by angling them out some.

There is a bit of a learning curve, but I think it's worth it.


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Mon, 01 August 2011 at 10:48 PM

Well, we can safely say that you know more about using the hair script than I do!  :laugh:  Well done, RedPhantom!  :thumbupboth: 

I'll have to try tinkering with it eventually.  Real world stuff has kept me away from Poser for a couple of months now.  :sad:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


LaurieA ( ) posted Tue, 02 August 2011 at 8:03 AM

Quote - I just wanted to post a shot of something I made with the hair script. It's nothing fancy but it is all dynamic hair

Cool! :)

Laurie



Believable3D ( ) posted Sat, 06 August 2011 at 12:56 PM

Just found this thread, so haven't used it yet, but I for one think the hair script is a brilliant idea. Looking forward to having time to play with it.

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


Believable3D ( ) posted Sat, 22 October 2011 at 4:02 PM

Hm, where am I supposed to be seeing the path that I'm putting markers on? I don't see it whether I'm in the poser room or manage to get Python going in the Hair room.

I'm also getting an error: "TypeError: argument of type 'bool' is not iterable"

No doubt I've triggered that because I have no clue what I'm doing....

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


Cage ( ) posted Sat, 22 October 2011 at 6:14 PM

Oh dear.  You may have found a bug.  :scared:

What are you doing when you get the error?  I assume you're using the hair script.  You're using Poser 9 or Poser Pro 2012, correct?

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Believable3D ( ) posted Sat, 22 October 2011 at 6:31 PM

Yes, PP2012.

It may be simpler to identify the proper workflow step-by-step than to figure out how I triggered it tho... not seeing the path I was expecting to see somewhere onscreen, I started clicking buttons like "Show Preview" and "Run Script" to see if that would make the path visible.

So... do I have to be in the Hair Room to start (that was my initial assumption, but then my Python menu "disappeared" [not really, but I didn't initially realize it had auto-docked when I switched rooms], so switched back to Pose)?

Here's what I'm trying now:

Select Face Camera

Go to Hair Room

Select hair parent, i.e. skullcap

Call the hairtopath6c.py (which I had put in Poser Pro 2012/Runtime/Python/poserScripts/Cage/ )

In the resulting GUI, start off with a hair group - in this case, "Hair_Front"

At this point, I get this error:

Traceback (most recent call last):
  File "C:Program FilesSmith MicroPoser Pro 2012RuntimePythonposerScriptsCagehair_to_path6c.py", line 3296, in fill_hairboxes
    result = self.stylist.get_hairprop(grp)
  File "C:Program FilesSmith MicroPoser Pro 2012RuntimePythonposerScriptsCagehair_to_path6c.py", line 166, in get_hairprop
    show_status("Processing %s..." %(hairgrp))
  File "C:Program FilesSmith MicroPoser Pro 2012RuntimePythonposerScriptsCagehair_to_path6c.py", line 1728, in show_status
    theGUI.status_update("%s" %(line))
  File "C:Program FilesSmith MicroPoser Pro 2012RuntimePythonlibsite-packageswx-2.9.1-mswwx_core.py", line 16237, in getattr
    raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the wxGUI object has been deleted, attribute access no longer allowed.

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


Cage ( ) posted Sat, 22 October 2011 at 6:53 PM

I've always used the script in the Pose Room, myself, but I don't think it should matter whether you're in Pose or Hair.  Just as long as all of the tools you need to define groups and change the camera view are present.

I don't seem to be able to duplicate that error, which is troubling.  Can you tell me what you did when you got the 'bool' error?

Proper workflow?  (I'm going to try out bullet points now.  Please pardon.  :lol:)

  • Create one or more groups on the skullcap or other prop from which the hair will be grown, using the Grouping Tool.
  • Start the script.  Your groups should be listed in the "Select group" listbox.
  • Upon selecting a group, guide hairs should be automatically created, if they did not already exist.
  • Click "Add marker" to create the first hair marker.  This will be the base of the hair path.
  • Add a second hair marker.
  • Click "Show path" to display the preview path for the hair curve.
  • Position markers to create the desired path shape, adding more if necessary.
  • Adjust script settings as desired.
  • Click "Run Script" to position the guide hairs for the selected group.

And, dang.  I notice that my capitalization is inconsistent on the GUI.  Hmm.  😊

The various settings... should probably be explained, too.  I'd have to play around with the script a bit to refresh my memory of the specifics.  :lol:

I can't seem to generate any errors, on this end, though.  The 'bool' error you reported looks like there's a bug in the script somewhere.  The latter error is a puzzle to me.  😕  Has the script been able to give you any status updates in the status box?

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Sat, 22 October 2011 at 7:08 PM
Site Admin Online Now!

The simple explaination on how to use the script.

load a scalp

create a hair group

grow hair

I do the rest in the pose room

make sure the scalp is selected

load the script

load a bunch on hair markers they show up at location zero on the floor so you don't want to be using the face cam at this point

move the hair markers up to be close to the head so you can focus on it.

use them to create your path (this is a good time to the line preview)

select a hair group from the left column

then either pick a strand from the middle column, a y-lock from the right column or don't select anything (This will apply to the whole group) and hit run.

note: if you try to run the preview with out any markers you'll get an error. If you leave the script open and change parameters in the hair room you'll get an error (but not if you close the script first). Changing many of the parrameters in the hair room will cancel out any work you've done with the script.

Hope this helps at least until cage can help you.

Good luck

 


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Sat, 22 October 2011 at 7:10 PM

Quote - The simple explaination on how to use the script.

Ooh.  Thank you.  :lol:  I am terrible at explaining things.  :lol:  :blushing:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Sat, 22 October 2011 at 7:13 PM
Site Admin Online Now!

yeah simple lol took me 20 minutes to type


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Sat, 22 October 2011 at 7:15 PM

I didn't know trying to run a preview without markers created an error.  D'Oh!  I've never tried that.  :lol:  Something to fix!  :laugh:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Believable3D ( ) posted Sat, 22 October 2011 at 7:24 PM

Thanks so much, guys. Maybe part of my problem is that I tried this on a hairstyle that I had pretty much otherwise completed. But the bigger thing is I had no idea where those markers were or how to identify them as a line.... or that I need to make my line before selecting the hair I was gonna style, for that matter. :p

I guess it's gonna have it's own learning curve, but should be doable.

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


RedPhantom ( ) posted Sat, 22 October 2011 at 9:07 PM
Site Admin Online Now!

Oops I was wrong about about the preview error. I'm sorry. Maybe that was from an old version. It's not causing problems now.


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Sat, 22 October 2011 at 11:49 PM

Quote - I guess it's gonna have it's own learning curve, but should be doable.

I apologize about the lack of documentation for all of these scripts.  😊  My efforts at writing tutorials and instructions haven't turned out compelling results in the past.  :sad:  If you have any questions, I'll be happy to try to answer them.

Quote - Oops I was wrong about about the preview error. I'm sorry. Maybe that was from an old version. It's not causing problems now.

Well, that's good, at least.  :laugh:

I'm still concerned about the two error messages reported on the previous page, though.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Believable3D ( ) posted Sun, 23 October 2011 at 12:38 AM

Hey, hard to complain about lack of documentation when you're providing all this awesome stuff out of the goodness of your heart. :)

______________

Hardware: AMD Ryzen 9 3900X/MSI MAG570 Tomahawk X570/Zotac Geforce GTX 1650 Super 4GB/32GB OLOy RAM

Software: Windows 10 Professional/Poser Pro 11/Photoshop/Postworkshop 3


GeneralNutt ( ) posted Sun, 23 October 2011 at 9:16 AM

Not to mention if you had to document all these scripts, you wouldn't be make new ones at a break neck pace. :)



Cage ( ) posted Sun, 23 October 2011 at 12:24 PM

Well, I mean, a script isn't very useful, if no one knows how to use it.  "A weapon unused is a useless weapon," and all that.  :lol:

I'm setting up a Windows 7 64 bit system and beginning to understand the complications of UAC.  Has anyone had trouble with the line path preview for any of the scripts, on Windows 7?  I may need to change the way the temp file for that is being written.

I've also read in another thread that EnglishBob has encountered some errors in X-oriented chains created by the Chain Maker.  I'll see if I can fix that.

I think I'll be heading into a debugging phase for these scripts soon, so if anyone has found any bugs, please post them so I can try to fix them.  :laugh:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


jancory ( ) posted Sun, 23 October 2011 at 12:58 PM

my pp2010/64 bit/win7 is installed to Documents, not Program Files, & i've never had a problem with any temp files or paths with your scripts.  remembering how to use them is another beast entirely, but i finally wised up & keep instruction texts in the folder with the scripts.

UAC is a PITA.


lost in the wilderness

Poser 13, Poser11,  Win7Pro 64, now with 24GB ram

ooh! i guess i can add my new render(only) machine!  Win11, I7, RTX 3060 12GB

 My Freebies



LaurieA ( ) posted Sun, 23 October 2011 at 2:02 PM

Quote - UAC is a PITA.

Agreed...lol. Funny, I got along without it with 3.1, 95, 98 and XP :P.

Laurie



Cage ( ) posted Sun, 23 October 2011 at 3:14 PM

Quote - Quote - "UAC is a PITA."

 

Agreed...lol. Funny, I got along without it with 3.1, 95, 98 and XP :P.

I've been assuming it's mostly a CYA measure on the part of Microsoft.  A lot of what was added with Vista seemed to be about making it easier for MS, or trying to make it harder to run bootleg versions of MS software.  Generally while making things worse for the average user.  But what do I know?  :lol:

We probably shouldn't get too off-topic with Windows complaints, though, lest the thread end up locked.  :scared:

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


RedPhantom ( ) posted Sun, 23 October 2011 at 4:54 PM
Site Admin Online Now!

speaking of errors, I just got this one

Traceback (most recent call last):
  File "G:Program FilesSmith MicroPoser Pro 2012RuntimePythonposerScriptsScriptsMenuCagehair_to_path6c.py", line 3506, in runScript
    goodrun = self.stylist.runner(runtype,dist_end,divs,maxlen,ltype,selection,dirtype,curve_amt)
  File "G:Program FilesSmith MicroPoser Pro 2012RuntimePythonposerScriptsScriptsMenuCagehair_to_path6c.py", line 423, in runner
    success = self.group_hairs(ltype=ltype,sel=selection,scaling=dist_end,curve_amt=curve_amt)            
  File "G:Program FilesSmith MicroPoser Pro 2012RuntimePythonposerScriptsScriptsMenuCagehair_to_path6c.py", line 903, in group_hairs
    hair = hlines[hi]            
IndexError: list index out of range

It had been running fine and then I was trying out what the different hair handling choices do and had tried apply path to to each hair, apply path to y-lock, and apply path to group then I got this message. This is one of those lovely intermitent things. Sometimes I have to exit out of Poser to get it to stop giving me the error, sometimes I just exit out of the script, sometimes I just close the error window and carry on like nothing happened.


Available on Amazon for the Kindle E-Reader Monster of the North and The Shimmering Mage

Today I break my own personal record for the number of days for being alive.
Check out my store here or my free stuff here
I use Poser 13 and win 10


Cage ( ) posted Sun, 23 October 2011 at 5:01 PM

Quote - It had been running fine and then I was trying out what the different hair handling choices do and had tried apply path to to each hair, apply path to y-lock, and apply path to group then I got this message. This is one of those lovely intermitent things. Sometimes I have to exit out of Poser to get it to stop giving me the error, sometimes I just exit out of the script, sometimes I just close the error window and carry on like nothing happened.

Hmm.  Not sure what's causing it, offhand, but I will see what I can do about it once I finish setting up this new computer!  :woot:  Thank you for reporting the error.  I'd like to debug these as thoroughly as possible, but I haven't been seeing any errors on my end.

===========================sigline======================================================

Cage can be an opinionated jerk who posts without thinking.  He apologizes for this.  He's honestly not trying to be a turkeyhead.

Cage had some freebies, compatible with Poser 11 and below.  His Python scripts were saved at archive.org, along with the rest of the Morphography site, where they were hosted.


Privacy Notice

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.