MikeD's "Property Button Controls Visibility of a Follow Rigid Node" tutorial

KarenKaren Posts: 101

Hi,
I'm trying to follow MikeD's "Property Button Controls Visibility of a Follow Rigid Node" tutorial. https://www.mikededes.com/property-button-controls-the-visibility-of-a-follow-rigid-node/

Everything was going well so far - until I had to find the "formula" in my cloth (Figure Property in data folder). There just isn't one. No Formulas section, no output.
I've examined other Figure Properties and there are no formulas there either.
Anyone have any ideas what I might have missed?

Post edited by Karen on

Comments

  • crosswindcrosswind Posts: 7,651
    edited January 16

    You have to save a Figure Asset of the clothing, via DS menu path: File > Save As > Support Asset > Figure / Prop Assets ...

    Then better reload the clothing figure.

    Post edited by crosswind on
  • KarenKaren Posts: 101

    I did. Reloaded, restarted Studio. No formula :-(

    I would upload the test file, but dsf format is not allowed

    Maybe just the first parts are enough. Formulas should be at the start underneath modified part

    {
        "file_version" : "0.6.1.0",
        "asset_info" : {
            "id" : "/data/Karen/Product/G9%20Base%20Bra/Bra_5382.dsf",
            "type" : "figure",
            "contributor" : {
                "author" : "Karen",
                "email" : "",
                "website" : ""
            },
            "revision" : "1.0",
            "modified" : "2025-01-14T14:27:54Z"
        },
        "geometry_library" : [
            {
                "id" : "Bra_002 UV",
                "name" : "geometry",
                "type" : "subdivision_surface",
                "edge_interpolation_mode" : "edges_only",
                "subd_normal_smoothing_mode" : "smooth_all_normals",
                "vertices" : {
                    "count" : 5382,
                    "values" : [
                        [ 0.165899, 114.4051, -10.10737 ],
                        [ 0.7035999, 116.2301, -10.77858 ],

     

  • crosswindcrosswind Posts: 7,651

    Besides, you don't have to go for that way in the tutorial... to hide an object under a Rigid Follow Node with a Conditional Graft property ...

    You can simply open Property Hierarchy (ss1) from the Conditional Graft property, drag Visible property of the RFN object to 1st Stage Sub-Component of the Conditional Graft. (ss 2) 

    Then set Type to ERC [Subtract] (ss 3).   Done ~ (ss4)

    SNAG-2025-1-16-013.png
    2020 x 1374 - 2M
    SNAG-2025-1-16-014.png
    2019 x 1374 - 2M
    SNAG-2025-1-16-015.png
    2016 x 1375 - 2M
    SNAG-2025-1-16-016.png
    2016 x 1371 - 427K
  • KarenKaren Posts: 101

    Wow. You are a genius. Many thanks for your help heart
    Will try this later today.

  • KarenKaren Posts: 101

    Works like a charm.

    Now I have to find out, how to hide an RFN, when loading a wearable to a piece of cloth (in my case a collar to a coat)

    Ideas an problems never end blush

  • crosswindcrosswind Posts: 7,651

    You rigged a collar to a coat? Better explain what you want in detail.

    I think the above method I showed you should work for it as well...

  • KarenKaren Posts: 101
    edited January 16

    Yes, that is another project. I have an alternative collar for a coat with buttons (RFNs), that go up the original collar. The original collar hides, when I load the alternative collar (did this with auto hide faces for attachment).

    But because I can't hide the buttons automatically, when I load the collar, the only solution I have so far is to save two versions of the coat.

    Forgot to mention: I know, that hiding them manually is an option, but not in this case ;-)

     

     

     

    Untitled.jpg
    1024 x 600 - 27K
    Post edited by Karen on
  • crosswindcrosswind Posts: 7,651
    edited January 17

    Karen said:

    Yes, that is another project. I have an alternative collar for a coat with buttons (RFNs), that go up the original collar. The original collar hides, when I load the alternative collar (did this with auto hide faces for attachment).

    But because I can't hide the buttons automatically, when I load the collar, the only solution I have so far is to save two versions of the coat.

    Forgot to mention: I know, that hiding them manually is an option, but not in this case ;-)

     

     

     

    Okay, got it ~ ERC Links cannot directly work for you because each time you load / unload the collar, the linked / unlinked ERC will be kept in RAM... you'll get wrong result. You have to run Purge Memory each time to clear the residual data in RAM before and after loading / unloading the collar ~~

    Technically, you can make it by using Post Load script when saving Wearable Preset of the collar. Write a script if you know Daz Script. However, that'll make your creation work cumbersome...furthermore, if you delete / unload the alt. collar from the coat, you will also get wrong result. You still have to run Purge Memory script ~~

    So, let's still go for the simplest way as for making such "modular clothing":

    You can just load / keep the alternative collar on the coat as default, then create a Bool property (e.g. Show Alt. Collar) on the Coat to turn its Visible On & Off... Default is Off which links to RFN buttons' Visible > On (use the same way I showed you above...). Then users can easily set Show Alt. Collar > On, which links to RFN buttons' Visible > Off ... Also ERC link it to other properties of conditional grafts as needed, i.e. it can turn all the Visible of its Sub-Components On and Off.

    Edit: This way is pretty easy and flexible. Finally, you just need to save a holistic Wearable Preset.

    Post edited by crosswind on
  • KarenKaren Posts: 101

    That's a good idea. I will try to find a tutorial of how to create a Boolean Property. Uff, the whole thing is getting more complex than I thought it would laugh But if I do not have any problems I create them myself.

  • crosswindcrosswind Posts: 7,651

    Nah, I think things are getting easier actually, haha ~ For creating a Bool property, it's as easy as you create a default Float property, select Bool in Property Type when Create New Property... (ss1) Or you can still use Condition Graft property for getting the same result.

    SNAG-2025-1-17-021.png
    1224 x 1373 - 231K
  • KarenKaren Posts: 101

    Well, now I have got a knot in my brain (okay, without the cats I would be only the crazy lady anyway), but I did it. It works. Thanks for your inspiration and help.

    May I ask something: If I ever finish this product, would you like to test it?

  • crosswindcrosswind Posts: 7,651

    Karen said:

    Well, now I have got a knot in my brain (okay, without the cats I would be only the crazy lady anyway), but I did it. It works. Thanks for your inspiration and help.

    May I ask something: If I ever finish this product, would you like to test it?

    Sure thing ! Just let me know when you finish the work.

Sign In or Register to comment.