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

1567810

Comments

  • mCasualmCasual Posts: 4,607
    edited December 1969

    luckily, i did one last test and found a problem for scripts making heavy use of parenthesis
    it's now fixed

    so basically it's ready ! and i'm heading to my web site !!! ... soon

    coffee, packaging, uploading

    badabing

    notuneventfull10.jpg
    910 x 910 - 324K
  • mCasualmCasual Posts: 4,607
    edited May 2014

    * * * B E T A -- 8 -- * * * B E T A -- 8 -- * * * B E T A -- 8 -- * * * B E T A -- 8 -- * * * B E T A -- 8 -- * * *

    ready and tested 36 times with Daz Studio 4.6


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

    tomorrow i'll update the manual and tell you about the secret feature

    beta8.jpg
    273 x 273 - 15K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    What I find amazing is that you can get SO much functionality out of a script that's the size of a note written in Note Pad! lol

  • mCasualmCasual Posts: 4,607
    edited May 2014

    reminding that Beta * is released and compatible with Daz Studio 4.6

    it was tested on 36 of the sample path scripts

    also, today i updated the manual to show the new features

    the new features are mostly for advanced users with some programming experience

    they let you access everything in the scene, for example, here mcjBuilder let me build a belt and a dress edge directly on the Aiko3 bodycon - all this in Daz Studio

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

    in the second image, a tube was built on the path of Amy's finger tip ( node -tracking )

    in the third image, the position of the extruder node was used to modulate the height of the 144 blocks

    suggah.jpg
    960 x 960 - 133K
    zoom.jpg
    320 x 320 - 33K
    nufeat.jpg
    910 x 910 - 141K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited June 2014

    there seems to be a problem with the endcaps

    though with some profile curves ( like "square" for example ) it doesnt seem to occur

    for the shelf below, i seem to have to select the "shelf" profile using the drop-down list
    before starting the build process ( which makes use of that profile )

    ... i think it's because the tesselation ...yeah that's it
    the part of mcjBuilder that creates endcaps uses the drawn
    curve of the preview window and that curve must be
    corrupted or worse it must be the path curve

    so later today i'll post version Beta 8.1 with endCap fix

    ------

    figure 3 and 4 the bookshelf was made with the following mcjBuilder Beta 8.1

    which will be released incessantly!

    it will also include the new "shelf" profile and the following "shelf" path-script

    
    Profile shelf
    Tread 1
    pathUnits in
    MoldSize 12 0.75
    var w 48
    var thick 0.75
    var depth 12
    
    define ashelf
    setScaleY (thick-6/32)/thick
    setScaleX (depth-6/32)/depth
    ring
    endCap
    setScaleY (thick-3/32)/thick
    setScaleX (depth-3/32)/depth
    ring
    Move 3/32
    setScaleY 1
    setScaleX 1
    Ring
    Move 3/32
    Ring
    move w-2*thick
    ring
    Move 3/32
    ring
    Move 3/32
    setScaleY (thick-3/32)/thick
    setScaleX (depth-3/32)/depth
    ring
    setScaleY (thick-6/32)/thick
    setScaleX (depth-6/32)/depth
    ring
    endCap
    break
    defineEnd
    
    SetPosZ 0
    ashelf
    MoveY 24
    
    repeat 5
    SetPosZ 0
    ashelf
    MoveY 12
    repeatEnd
    
    Set w 74
    RotateX -90
    SetPosZ -3/8
    
    Repeat 2
    SetPosY -3/8
    ashelf
    MoveY -48+3/8
    repeatEnd
    
    
    chamfer2.jpg
    1920 x 1080 - 209K
    chamfer.jpg
    1920 x 1080 - 407K
    shelfit.jpg
    1920 x 1080 - 230K
    ohno.jpg
    1440 x 489 - 94K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Now ya just books! lol

  • mCasualmCasual Posts: 4,607
    edited December 1969

    RAMWolff said:
    Now ya just books! lol

    i'm inspired by a pov-ray render named the office

    http://hof.povray.org/office-13.html

    so far mine is like

    buro.jpg
    1920 x 1200 - 510K
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Now you just need to figure out how to add in fancy details like some book shelves have...

    Here is a fun search!

    http://tinyurl.com/orfpmmb

  • mCasualmCasual Posts: 4,607
    edited June 2014

    * * Beta 8.1* * Beta 8.1* * Beta 8.1* * Beta 8.1* * Beta 8.1* * Beta 8.1* * Beta 8.1

    * * fixes an issue with endCaps * *

    and includes more sample paths and profiles

    ( walls with windows? yep )

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

    abababca.jpg
    1920 x 1080 - 1M
    promo8.1_.jpg
    273 x 273 - 16K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    I'm tellin ya man. DAZ ought to make you an offer on this code and integrate it into DAZ Studio!

  • mCasualmCasual Posts: 4,607
    edited June 2014

    Next weekend probably ... Beta 9

    fix : issues when a "defined" block of commands calls other "defined" blocks of commands using identical parameter names
    fix: parenthesis
    add: "stud" command which builds round-edged studs
    add: new profiles
    add: all the mcjBuilderA paths used to make the walls and doors and windows shown below

    the walls and doors and windows shown below will also be distributed as props

    Normandoor.jpg
    1920 x 1080 - 508K
    workit.jpg
    1920 x 1080 - 1M
    praugress.jpg
    1920 x 1080 - 560K
    windows.jpg
    1920 x 1080 - 2M
    readymade.jpg
    1920 x 1080 - 1M
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited June 2014

    studs smooth-edged arcs

    figure 3 shows the shrink command which can be used to chamfer complex (non convex ) shapes

    gir.jpg
    1920 x 1080 - 1M
    c.jpg
    1920 x 1080 - 1M
    toudou2.jpg
    1920 x 1080 - 623K
    toudou.jpg
    1920 x 1080 - 924K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Looks fantastic Casual! Thought this thread went very quiet for a while....

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

    Yes, glad to see some activity in this thread again. :coolsmile:

  • mCasualmCasual Posts: 4,607
    edited December 1969

    RAMWolff said:
    Looks fantastic Casual! Thought this thread went very quiet for a while....

    thanks!

    while making this ( promised ) movie set, i'm finding things to fix in mcjBuilder

    so this explains the upcoming version 9

    --

    next i'll finish the stairs for the mcjCastle

    then turn the mcjCastle into a real prop with openable doors

    then we go back to the physics simulation and Amy's BMX stunts

    unless i make a Kinect-to-Studio detour

    unundefeating.jpg
    600 x 800 - 87K
  • mCasualmCasual Posts: 4,607
    edited December 1969

    Miss B said:
    Yes, glad to see some activity in this thread again. :coolsmile:

    well as you could see i started a few other threads while i was "away" from this one :)

    watchingtv.jpg
    1920 x 960 - 772K
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    It occurred to me your either a wealthy person or retired to have this much creativity and time to produce all the great ideas that flow around in your minds eye. lol

  • mCasualmCasual Posts: 4,607
    edited June 2014

    RAMWolff said:
    It occurred to me your either a wealthy person or retired to have this much creativity and time to produce all the great ideas that flow around in your minds eye. lol

    it's neither, it's just that i 've been programming since about the year of the release of see-below and work mainly as programming and electronics (digital mostly ), so this daz scripting hobby isn't that demanding - i complete those projects much slower than i'd like

    though my first programs were typed on a noisy telex and stored on punched paper tape - the PET was just what dreams were made of

    Telex_machine_ASR-32.jpg
    1920 x 1280 - 1M
    800px-Commodore_2001_Series-IMG_0448b.jpg
    800 x 800 - 42K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    WOW.. one of those code people from way back when. YIKES! Well glad you enjoy that sort of thing! :-)

  • Robert FreiseRobert Freise Posts: 4,441
    edited December 1969

    I remember those machines

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

    Casual said:
    Miss B said:
    Yes, glad to see some activity in this thread again. :coolsmile:

    well as you could see i started a few other threads while i was "away" from this one :)
    Yes Sir, I most definitely noticed. :coolsmile:

  • mCasualmCasual Posts: 4,607
    edited December 1969

    well it seemed like a distant dream, but here we are almost 6 months later , ready to resume work on mcjBuilderA

    our test subject is the creation of a movie set used in many kpop videos - it will be posted as free props.

    once that's done i'll create new stairs for the mcj castle

    then turn the castle in a fully animatable prop

    then we'll return to bullet physics and BMX jumps

    then there's the cage deformer project, 3d painting, kinect mocaps


    and other projectsi almost forgot like OPENGLwater and grass

    and other projects i really did forget

    praugress.jpg
    1920 x 1080 - 560K
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Awesome sauce! lol

  • mCasualmCasual Posts: 4,607
    edited December 2014

    version 9 will have a "shrink" command
    which should help us get better looking extrusion lids

    var tr 250/46
    Tread tr
    
    define bar x y len w h
    profile carolina
    moldSize h*tr w*tr
    setPosX x
    setPosY y
    setPosZ 0
    setShrink 0.3
    Ring
    endCap
    Move 0.1
    setShrink 0
    Ring
    Move 0.3
    Ring
    Move len-0.8
    Ring
    Move 0.3
    Ring
    Move 0.1
    setShrink 0.3
    Ring
    endCap
    break
    setShrink 0
    defineEnd
    shrunk.jpg
    1236 x 697 - 246K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited December 2014

    the end caps are still non-welded
    which was a necessity when we didn't have the shrink command
    because the triangulation method used for the caps
    produces badly behaving triangles

    but now .... maybe i'll add a "weld-caps" option
    ( who knows maybe someone will 3d-print objects made with this ! )

    Figure 2 shows the same non-welded object, with (legacy) catmull-clark subdivision
    using the new DS4.7 default subdivision method produced a ''leaky'' mesh

    linerz2.jpg
    1920 x 1080 - 728K
    linerz.jpg
    1920 x 1080 - 662K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    My question about how the verts are laid out, how does a seamless tile look or is that impossible for such a layout?

  • mCasualmCasual Posts: 4,607
    edited December 2014

    RAMWolff said:
    My question about how the verts are laid out, how does a seamless tile look or is that impossible for such a layout?

    the UV layout is ideal for tiling
    the 2 "caps" are planar projections
    the "tube" is a very carefully un-rolled and there's as little stretching as can be

    linerz3.jpg
    1920 x 1080 - 620K
    zmap.jpg
    1296 x 644 - 169K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    HAHAHAHA.... OK... great to know! ;-)~

  • mCasualmCasual Posts: 4,607
    edited December 2014

    the "shrunk" UV layout issue seems solved

    i think i can now return to acid-testing mcjBuilderA Beta 9.0

    i.e. creating the gothic movie set with it


    ----

    the difficult thing was, that the rest of the UV layout is based on the movement of the extrusion nozzle
    but, in the case of shrinking, the nozzle doesn't move, it just contracts/expands

    linerz4b.jpg
    1920 x 1080 - 980K
    Post edited by mCasual on
  • RAMWolffRAMWolff Posts: 10,212
    edited December 1969

    Nice and clean!

Sign In or Register to comment.