Got it... now one other request. Is it possible to have the manual in a downloadable PDF?
I was JUST thinking the same thing Richard. Thanks for asking.
the final manual will probably be more compact, like 5 MB and will be on mcjBuilderA's page ... someday :)
Thank you kind sir. :coolsmile: This makes things easier for working off-lline.
it’s a tiny bug affecting only paths that include the “closePath” command and i didn’t use this recently
in the image shown below you can see line 2307 which was mentioned in your error message
you could use notepad/wordpad to change the ’ character with the ; character
but ... 5 or 10 minutes from now i’ll post the corrected version as version “Beta 4” on mcjBluilderA’s web page
the new version will also include the “square” extrusion path which is the default extrusion path -
the first time you start mcjBuilderA it must search for it and be worried
Thanks for the update, but I'm still getting an error, this time:
Executing DAZ Script file: C:/Users/Wes/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjBuilderA.dsa
WARNING: Script Error: Line 1785
WARNING: TypeError: Result of expression 'extrusionPathCurves[0]' [undefined] is not an object.
WARNING: Stack Trace:
()@:1785
Error in script execution!
I opened it up in Notepad, but I have no idea what's wrong now.
1785 var n = extrusionPathCurves[0].length;
EDIT:
Okay, I just deleted the ".length", but then I got another error in 1787, which seemed to be fixed by changing "o" to "0", now I'm getting this:
Error in script execution!
Executing DAZ Script file: C:/Users/Wes/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjBuilderA.dsa
WARNING: Script Error: Line 1791
WARNING: TypeError: Result of expression 'edges' [undefined] is not an object.
WARNING: Stack Trace:
()@:1791
Error in script execution!
Thanks for the update, but I'm still getting an error, this time:
Executing DAZ Script file: C:/Users/Wes/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjBuilderA.dsa WARNING: Script Error: Line 1785 WARNING: TypeError: Result of expression 'extrusionPathCurves[0]' [undefined] is not an object. WARNING: Stack Trace: ()@:1785 Error in script execution!
I opened it up in Notepad, but I have no idea what's wrong now.
1785 var n = extrusionPathCurves[0].length;
EDIT: Okay, I just deleted the ".length", but then I got another error in 1787, which seemed to be fixed by changing "o" to "0", now I'm getting this:
Error in script execution! Executing DAZ Script file: C:/Users/Wes/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjBuilderA.dsa WARNING: Script Error: Line 1791 WARNING: TypeError: Result of expression 'edges' [undefined] is not an object. WARNING: Stack Trace: ()@:1791 Error in script execution!
1791 var p0 = extrusionPathVertices[edges[0]];
sorry again
you are probably trying to open an extrusion-path file which is in .obj format
unfortunately ( yeah lets blame Fortune ) that's another option i didn't test recently and it's bugged !
you could replace the code with
function objPathToScriptedPathpath()
{
var n = extrusionPathCurves[0].length;
var edges = extrusionPathCurves[0];
var bClosePath = wchkClosePath.checked;
this should at least prevent the mcjBuilder from halting
then you should only load path files in .txt format from the mcjBuilder\paths\txt folder
or write one
later today i'll fix the script so it can handle .obj paths correctly
you are probably trying to open an extrusion-path file which is in .obj format
unfortunately ( yeah lets blame Fortune ) that's another option i didn't test recently and it's bugged !
you could replace the code with
function objPathToScriptedPathpath()
{
var n = extrusionPathCurves[0].length;
var edges = extrusionPathCurves[0];
var bClosePath = wchkClosePath.checked;
this should at least prevent the mcjBuilder from halting
Well, I don't know what I'm trying, because these errors stop the script from even loading. It's not just halting, it's not starting in the first place. Just tried Beta 5, am getting the same thing, script won't start up. I haven't checked the log file to see yet what the problem is.
Thanks for your hard work, this looks like an awesome script, I just can't get it to work for me.
EDIT: Ok, I deleted the entire mcjbuildera folder, then reinstalled the new beta 5, now it seems to work.
What can I say... just took this for a test drive (with your manual at my side) and it's great! Very hand script for quickly building this kind of thing and shaders went on nicely too.
I've only done simple rectangular frames so far but looking forward to exploring further.
What can I say... just took this for a test drive (with your manual at my side) and it's great! Very hand script for quickly building this kind of thing and shaders went on nicely too.
I've only done simple rectangular frames so far but looking forward to exploring further.
Only in that I'm cautious about downloading and installing scripts... but one look at your avatar and I knew that was a face I could trust. ;)
I will need to spend some time with this, right now I'm having trouble going beyond the rectangular and square frames (though that alone is a nice feature and textures go on beautifully). I'm sure the problem is between the monitor and chair (i.e. I've typed in an odd value somewhere), as your code looks self-explanatory and the manual makes sense.
[EDIT: Yes, I was missing something obvious... I'm making progress now.]
I've been learning to use Blender but this is a great time-saver and I love that I'll be able to add my own path scripts too.
Just to prove that it's possible to get results right from the start, I roped in my ever-willing assistant to pose for this image. The frame uses a Gemologica tile (1 horizontal, 10 vertical gives me the best results).
in version Beta 6, there will be a variable named rcpt ( meaning repeat-counter ) which will increase by 1 each time a "repeat" is used so in the example below, i used this variable to position each arch The columns were also made using mcjBuilder Beta6
( see "TAHITI Love Sick M/V" for the real life columns and arches )
Comments
my mcasualsdazscripts3 is quite full in fact i had to delete the mcjBox pdf manual and a few images
to have space for the mcjBuilderA manual updates
for now i converted the manual .... which is not completed --- it's a 10 MB PDF and i placed it here
https://sites.google.com/site/mcasualsdazscripts4/bric-a-brac/mcjBuilderABeta3_manual.pdf?attredirects=0&d=1
the final manual will probably be more compact, like 5 MB and will be on mcjBuilderA's page ... someday :)
my mcasualsdazscripts3 is quite full in fact i had to delete the mcjBox pdf manual and a few images
to have space for the mcjBuilderA manual updates
for now i converted the manual .... which is not completed --- it's a 10 MB PDF and i placed it here
https://sites.google.com/site/mcasualsdazscripts4/bric-a-brac/mcjBuilderABeta3_manual.pdf?attredirects=0&d=1
the final manual will probably be more compact, like 5 MB and will be on mcjBuilderA's page ... someday :)
Thank you kind sir. :coolsmile: This makes things easier for working off-lline.
Oh, thanks so much . I think then I'll just hold off for the full final of this. :-)
For some reason this is all I get:
Log file says:
Executing DAZ Script file: C:/Users/Wes/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjBuilderA.dsa
WARNING: Script Error: Line 2307
WARNING: SyntaxError: Parse error
WARNING: Stack Trace:
()@:2307
Error in script execution!
Using Windows 7 64 bit
DS 4.6.2.120 64bit
see below
sorry !!
it’s a tiny bug affecting only paths that include the “closePath” command and i didn’t use this recently
in the image shown below you can see line 2307 which was mentioned in your error message
you could use notepad/wordpad to change the ’ character with the ; character
but ... 5 or 10 minutes from now i’ll post the corrected version as version “Beta 4” on mcjBluilderA’s web page
the new version will also include the “square” extrusion path which is the default extrusion path -
the first time you start mcjBuilderA it must search for it and be worried
Image Attachments
the 84 moldings / extrusion profiles
one could print them
though one could also simply save it to disk
Thanks for the update, but I'm still getting an error, this time:
Executing DAZ Script file: C:/Users/Wes/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjBuilderA.dsa
WARNING: Script Error: Line 1785
WARNING: TypeError: Result of expression 'extrusionPathCurves[0]' [undefined] is not an object.
WARNING: Stack Trace:
()@:1785
Error in script execution!
I opened it up in Notepad, but I have no idea what's wrong now.
1785 var n = extrusionPathCurves[0].length;
EDIT:
Okay, I just deleted the ".length", but then I got another error in 1787, which seemed to be fixed by changing "o" to "0", now I'm getting this:
Error in script execution!
Executing DAZ Script file: C:/Users/Wes/Documents/DAZ 3D/Studio/My Library/Scripts/mcasual/mcjBuilderA.dsa
WARNING: Script Error: Line 1791
WARNING: TypeError: Result of expression 'edges' [undefined] is not an object.
WARNING: Stack Trace:
()@:1791
Error in script execution!
1791 var p0 = extrusionPathVertices[edges[0]];
the manual for mcjBuilderA Beta4 in PDF format, only 2 megs is right here
https://sites.google.com/site/mcasualsdazscripts3/mcjbuildera/mcjBuilderA_Beta4_Manual.pdf?attredirects=0&d=1
sorry again
you are probably trying to open an extrusion-path file which is in .obj format
unfortunately ( yeah lets blame Fortune ) that's another option i didn't test recently and it's bugged !
you could replace the code with
this should at least prevent the mcjBuilder from halting
then you should only load path files in .txt format from the mcjBuilder\paths\txt folder
or write one
later today i'll fix the script so it can handle .obj paths correctly
that version will be named Beta 5
not far from there is a line that reads
wLog.append( "Move\t" + shorter( d ) + "\t" + "0" );
changing it to this would improve things to
wLog.append( "Move\t" + shorter( d ) );
--------
Beta 5 will be posted in the next 5 minutes !
* * mcjBuilderA Beta 5 ** * * mcjBuilderA Beta 5 ** * * mcjBuilderA Beta 5 **
fixed the issue with extrusion path scripts that were Loaded/Imported in .obj format
same bat time same bat site --> https://sites.google.com/site/mcasualsdazscripts3/mcjbuildera
Well, I don't know what I'm trying, because these errors stop the script from even loading. It's not just halting, it's not starting in the first place. Just tried Beta 5, am getting the same thing, script won't start up. I haven't checked the log file to see yet what the problem is.
Thanks for your hard work, this looks like an awesome script, I just can't get it to work for me.
EDIT: Ok, I deleted the entire mcjbuildera folder, then reinstalled the new beta 5, now it seems to work.
yay!
if someday the script stops working, and if you are acquainted with regedit
you could delete the registry section for mcjBuilderA
which is something like HKEY_USERS\ ... \Software\DAZ\Studio3\mcjBuilderA
---
down the road i'll improve things :)
I have to find time to play with this! I have to find time . . . I have to . . .
OK I downloaded Beta5, and REALLY need to find time to play with this. :coolsmile:
next version ( Beta 6 ) will have mathematical operators ( + - * / being the most used )
here it was used to set the position of the corner of the frame, based on the size of the frame
( - width/2 , height /2 )
also the next version will stop trying to re-load the last saved path file on startup to reduce possibilities you get stuck!
instead it will always start with the path script for a frame
other mathematical functions like random() and sin() will let us do some pretty fancy stuff !! to be continued
( feature for the upcoming Beta 6 )
here you see a path script using the sine function and the "fr" variable to modulate the X and Z position of the extrusion nozzle
"fr" variable means "frame" its increases as the extrusion progresses , 1 frame per "ring".
you will also have access to the current extrusion path length
What can I say... just took this for a test drive (with your manual at my side) and it's great! Very hand script for quickly building this kind of thing and shaders went on nicely too.
I've only done simple rectangular frames so far but looking forward to exploring further.
Thank you for making it and sharing with us. :)
thanks for testing it ! you were brave :)
Only in that I'm cautious about downloading and installing scripts... but one look at your avatar and I knew that was a face I could trust. ;)
I will need to spend some time with this, right now I'm having trouble going beyond the rectangular and square frames (though that alone is a nice feature and textures go on beautifully). I'm sure the problem is between the monitor and chair (i.e. I've typed in an odd value somewhere), as your code looks self-explanatory and the manual makes sense.
[EDIT: Yes, I was missing something obvious... I'm making progress now.]
I've been learning to use Blender but this is a great time-saver and I love that I'll be able to add my own path scripts too.
Just to prove that it's possible to get results right from the start, I roped in my ever-willing assistant to pose for this image. The frame uses a Gemologica tile (1 horizontal, 10 vertical gives me the best results).
in version Beta 6, there will be a variable named rcpt ( meaning repeat-counter ) which will increase by 1 each time a "repeat" is used
so in the example below, i used this variable to position each arch
The columns were also made using mcjBuilder Beta6
( see "TAHITI Love Sick M/V" for the real life columns and arches )
=======
figure 2 - Beta 6 will possibly include the ability to make complex path-caps ( the upper wall )
a short tutorial that can help you figure how to proceed when writing your extrusion path scripts
i tried to concentrate on the essentials
https://sites.google.com/site/mcasualsdazscripts4/mcjbuilteratutorial1
Thank you sir. Those arches look wonderful!! :coolsmile:
thanks they'll be packaged with the next version as path files and maybe as props too
----
maybe the tutorial will be extended to cover them ( which was the plan but /// time you know )
mcjSuperLathe which is similar to mcjBuilder
had "cutouts" or "lids" so mcjBuilder Beta 6 will have them too
http://www.daz3d.com/forums/discussion/1785/P30
so you'll have handrails with closed ends
or guitars
the "ear-cutting" triangulation code comes from Bill Overman
// http://www.codeplex.com/PolygonTriangulation
Very cool Casual!
It's definitely getting better and better. :coolsmile:
works ! kinda but the UVs on the floor are not ok yet
Excited at the way this continues to progress! Thanks for the tutorial, I must grab that although might be a few days before I can work through it.
oops incomplete triangulation
guess i was lucky in a way, the test case revealed a rarely occurring problem