v9.0 -- mcjBuilderA - script to build anything in Daz Studio - updated sept. 16 2017

2456711

Comments

  • mCasualmCasual Posts: 4,607
    edited April 2014

    One ring to rule them all ( except the ones that dont want to )

    the progress is, closed profile and paths with proper UV layouts ... which can be tricky at the borders

    background panoramic image is by benjamint444
    at http://commons.wikimedia.org/wiki/File:Mist_-_Ensay_region3.jpg

    did you know there's more an more panoramic images in wiki commons?
    http://commons.wikimedia.org/wiki/Commons:Featured_pictures/Places/Panoramas

    putaringonit.jpg
    1600 x 900 - 310K
    onering.jpg
    1600 x 900 - 703K
    Post edited by mCasual on
  • Miss BMiss B Posts: 3,071
    edited December 1969

    WOW, now THAT's a ring. Makes a nice stage for the rock star. :coolsmirk:

  • mCasualmCasual Posts: 4,607
    edited April 2014

    Miss B said:
    WOW, now THAT's a ring. Makes a nice stage for the rock star. :coolsmirk:

    i'll probably post some of the built things as props , since not everyone will want to use a script

    bojango.avi_.jpg
    1200 x 1200 - 178K
    Post edited by mCasual on
  • Miss BMiss B Posts: 3,071
    edited April 2014

    Kewl! :coolsmile:

    Post edited by Miss B on
  • mCasualmCasual Posts: 4,607
    edited April 2014

    trying to use the mouldings builder script to 3d-model cushions

    t'would be hard to avoid having to use a 3d modeler lo complete the task ( welcing caps )

    but i'll at least fix the texture issue

    --

    the second image is named "riding shogun" due to faulty pun reasons

    sholines.jpg
    1200 x 1200 - 1M
    ridingshogun.jpg
    1200 x 1200 - 284K
    beachside.jpg
    1200 x 1200 - 247K
    Post edited by mCasual on
  • Miss BMiss B Posts: 3,071
    edited December 1969

    Oh now wouldn't that be nice. I like the way the rounded corners came out.

  • mCasualmCasual Posts: 4,607
    edited April 2014

    so to recap you'll be able to select from a few (30?) moulding shapes

    or create your own in 3d modelers like Blender, or using a daz script like mcjLather

    then you'll select one of the built-in paths

    or create your own by writing a little text like this

    
    turn 90
    Move 1
    turn 90
    Move 1
    turn 90
    Move 1
    turn 90
    

    that's 4 90 degrees arcs and 4 straight segments ( the 4th is added by the script since the "closed path" option was enabled )

    active.jpg
    927 x 1200 - 767K
    plannn.jpg
    1009 x 381 - 26K
    shapin.jpg
    1920 x 1080 - 1M
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited April 2014

    good news ! after some effort i was able to pinpoint the source of the slight distortions that appeared in the mouldings textures !

    i was rounding off the texture coordinates to 1/1000, just to make the obj file look neater

    but this was throwing away too much precision

    ( because the moulding texture maps are very long and narrow )

    see the difference

    1 - rounding UV U to 1/1000
    2 - no rounding ( or something like 1/10000000000000000 )

    figure 3 ... see effects like this would've been ruined by this

    other advances : completed the code to load /save extrusion paths and to convert obj files into paths

    the path for the frame shown here was in fact an obj and once converted to mcjBuilderA's language it became

    effectsa.jpg
    927 x 1199 - 243K
    eureka.jpg
    927 x 1199 - 1M
    comparedto.jpg
    927 x 1199 - 1M
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    You really aught to write a UV mapping program with this sort of thing in mind Casual. Like getting a flowing map on a deformed cape or skirt or other weird angles in clothing, organics and hard edged props. Just amazing work here.

  • Miss BMiss B Posts: 3,071
    edited December 1969

    Wow, Richard, I like your idea. That would be a handy thing to have when UV mapping. :coolsmirk:

  • mCasualmCasual Posts: 4,607
    edited April 2014

    last features i wanted to add

    - mirrored extrusion profiles

    so here the quarter-round moulding was used as an inside and an outside trim

    - welded/non-welded UVs

    so far the moulding textures were chopped up in tube sections
    this was useful for frames with 90° corners
    but for curvy mouldings, we don't mind a little stretching
    of the texture to obtain texture continuity

    avenir.jpg
    1280 x 720 - 154K
    yourhalo.gif
    628 x 752 - 104K
    quarter.jpg
    927 x 1199 - 282K
    bytheby2.jpg
    927 x 1199 - 832K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited April 2014

    in some cases the texture stretching is not really a problem

    fig. 2 - added a few classic moulding shapes

    nuones.jpg
    800 x 800 - 52K
    class.jpg
    802 x 792 - 98K
    desfrais.jpg
    1200 x 900 - 677K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited April 2014

    the 50 moulding profiles that will be bundled with the script

    MOULDINGSCATALOGPAGE2.jpg
    1920 x 1200 - 78K
    MOULDINGSCATALOGPAGE1.jpg
    1920 x 1200 - 111K
    Post edited by mCasual on
  • Miss BMiss B Posts: 3,071
    edited December 1969

    Those are nice!!! They look very useful. :coolsmile:

  • mCasualmCasual Posts: 4,607
    edited April 2014

    thanks for your patiemce @ all following this thread

    soon ! is the word is the la la la

    a complex path, you can see most of the keywords understood by the script

    polygon count for this object is about 2000 frames

    
    Radius 0.25
    Hardturn 0
    Move 1
    turn 90
    Hardturn 0
    Move .05
    Hardturn -90
    ...
    turn 90
    Hardturn 0
    Move 1
    
    plannnnnn.jpg
    1920 x 1200 - 153K
    sd3.jpg
    1920 x 1080 - 716K
    complexpath.jpg
    1920 x 1200 - 247K
    Post edited by mCasual on
  • none01ohonenone01ohone Posts: 862
    edited December 1969

    I'm sure the extra bells and whistles are well worth the wait. :-)

    dog-drool.jpg
    493 x 335 - 29K
  • mCasualmCasual Posts: 4,607
    edited April 2014

    I'm sure the extra bells and whistles are well worth the wait. :-)

    tonight is the night

    after i add what's needed for stairs-handrails and check a few things, i'll post the script and write the "manual"

    this is a beta version, the next version will probably have improved stairs-handrails handling

    ui.jpg
    644 x 728 - 60K
    twistnshout.jpg
    927 x 1200 - 179K
    stairsup.jpg
    927 x 1200 - 168K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited December 1969

    instruction manual writing in progress

    https://sites.google.com/site/mcasualsdazscripts3/mcjbuildera

    jf4.jpg
    618 x 800 - 104K
  • mCasualmCasual Posts: 4,607
    edited April 2014

    ** Beta Released ** Beta Released ** Beta Released ** Beta Released ** Beta Released ** Beta Released **

    ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **

    https://sites.google.com/site/mcasualsdazscripts3/mcjbuildera

    manual is being written as we speak

    there will most probably be many updated versions in the next day(s)

    jf11.jpg
    1200 x 900 - 99K
    jf6.jpg
    618 x 800 - 119K
    builderlogoneta.jpg
    908 x 908 - 54K
    Post edited by mCasual on
  • Miss BMiss B Posts: 3,071
    edited December 1969

    WOOT!!!!! :coolsmile:

  • caravellecaravelle Posts: 2,457
    edited December 1969

    Thank you! I tried it immediately, and it works!!! Thousands of wonderful new posibilities!

  • WilmapWilmap Posts: 2,917
    edited December 1969

    Thank you for this. Works great.

  • mCasualmCasual Posts: 4,607
    edited December 1969

    polka dot said:
    Thank you! I tried it immediately, and it works!!! Thousands of wonderful new posibilities!

    welcome !

    i'll probably finish writing the manual today, add a part that better explains how to write your own extrusion path ( scripts )
    or import them from objs

  • mCasualmCasual Posts: 4,607
    edited December 1969

    wilmap said:
    Thank you for this. Works great.

    welcome

    that 2 confirmations that it works ! :)

    i developed and tested in DS3A but, it uses things that exist in all versions since DS1

    note that i generated and packaged as props 71 straight moulding segments ----> http://www.daz3d.com/forums/discussion/39820/

    eventually the script will be able to produce good end-caps, for now it's open-ended tubes ( unless you make rings/frames )

    edgy.jpg
    1920 x 1080 - 273K
  • none01ohonenone01ohone Posts: 862
    edited April 2014

    Thanks Casual. An awesome script, I will have some fun with this. Tried some your profiles which were fine, but came unstuck trying to use my own Blender profile as it only recognized half the profile. That was after applying the mirror modifier and removing the centre edge as well as ensuring it had one face. I'll have another go later.

    Cheers.

    /Edit. loaded up one of your preset obj's and modified it in Blender. Saved as a new shape, worked perfectly. Not sure what I did before but this worked out great. :-)

    Post edited by none01ohone on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    TOTALLY awesome. Thanks so much Casual!

  • SylvanSylvan Posts: 2,711
    edited December 1969

    Oh wow, I will totally dive into this tonight.
    Respect for your work!

  • mCasualmCasual Posts: 4,607
    edited April 2014

    The instruction manual is now complete ( insert Yoda quote about completeness here )

    https://sites.google.com/site/mcasualsdazscripts3/mcjbuildera


    if you run the following script in the daz scripting editor
    it creates a random path

    for( i = 0; i < 100; i++ )
    {
     d = Math.random() * 5
     debug( "Move\t"+d )
     dir = Math.random()
     if( dir < 0.5 )
     debug( "HardTurn\t90" )
     else
     debug( "HardTurn\t-90" )
    }
    sna.jpg
    1920 x 1080 - 351K
    canal_10.jpg
    1920 x 1080 - 371K
    jf16.jpg
    1280 x 720 - 94K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited December 1969

    recipe for a wrought iron C curl

    
    Radius .0
    Turn 360
    Radius .1
    Turn 90
    Radius .2
    Turn 90
    Radius .4
    Turn 90
    Radius .4
    Turn 90
    Radius .2
    Turn 90
    Radius .1
    Turn 90
    Radius .0
    Turn 360
    
    ccurl.jpg
    800 x 800 - 47K
  • mCasualmCasual Posts: 4,607
    edited December 1969

    more complex curves ( like the Chateau de Sceaux balconies ! )

    the path has a slightl offset

    
    Radius 1
    Turn 90
    Move 1
    Turn 90
    Radius 2
    Turn 90
    Move 1
    Turn 90
    Radius 3
    Turn 90
    Move 1
    Turn 90
    Radius 4
    Turn 90
    Move 1
    Turn 180
    HardTurn -90
    Move 4
    Move 4
    HardTurn 90
    Radius 4
    Turn -180
    Move 1
    Turn -90
    Radius 3
    Turn -90
    Move 1
    Turn -90
    Radius 2
    Turn -90
    Move 1
    Turn -90
    Radius 1
    Turn -90
    Move 1
    Turn -90
    
    wrought.jpg
    800 x 800 - 136K
Sign In or Register to comment.