Advanced Member rubeos Posted February 16, 2015 Advanced Member Report Share Posted February 16, 2015 Possibility to have the choice to have some default commands, opening 3DCoat or when start new project.- Brush radius (lock or not lock)- Simmetry (for me simmetry ON, and on specificy axis (X) as default) - Perspective/orthographic commandWhy? because every time I open 3Dcoat or start a new project I have to lose time to change those parameters. Quote Link to comment Share on other sites More sharing options...
Member coverman Posted February 16, 2015 Member Report Share Posted February 16, 2015 we can set these value with script. void main(){ SetSliderValue("$PEN_RADIUS",10.00);/*Pen Radius 10*/ SetBoolField("$SymmetryParams::EnableSymmetry",true);/*Enable Symmetry*/ SetBoolField("$SymmetryParams::SymmX",true);/*X - Axis*/ SetBoolField("$VIEW_ORTHO",true);/*Orthographic Projection*/ } If we can run this script then 3dcoat startup, I think it's usefull. Quote Link to comment Share on other sites More sharing options...
Contributor Tony Nemo Posted February 16, 2015 Contributor Report Share Posted February 16, 2015 In the immortal words of Audie Murphy, "A good idea, I'll go for it!" Quote Link to comment Share on other sites More sharing options...
Member coverman Posted February 16, 2015 Member Report Share Posted February 16, 2015 I forgot to talk about notes. This command can excute on V4.5 beta 10 higher. Structure of Symmetry command is changing at beta. Quote Link to comment Share on other sites More sharing options...
Carlosan Posted February 16, 2015 Report Share Posted February 16, 2015 Reported. ty 0001793: Run a script then 3dcoat startup Quote Link to comment Share on other sites More sharing options...
Advanced Member rubeos Posted February 16, 2015 Author Advanced Member Report Share Posted February 16, 2015 (edited) we can set these value with script. void main(){ SetSliderValue("$PEN_RADIUS",10.00);/*Pen Radius 10*/ SetBoolField("$SymmetryParams::EnableSymmetry",true);/*Enable Symmetry*/ SetBoolField("$SymmetryParams::SymmX",true);/*X - Axis*/ SetBoolField("$VIEW_ORTHO",true);/*Orthographic Projection*/ } If we can run this script then 3dcoat startup, I think it's usefull. I'm not able to use script.. .I did some tests on intuition but have not worked: scripts --> create your scripts, ecc. I think I messed up What is the correct procedure? where do I paste the text of the script? I use 3DCoat last beta version. Edited February 16, 2015 by rubeos Quote Link to comment Share on other sites More sharing options...
Member coverman Posted February 17, 2015 Member Report Share Posted February 17, 2015 1.Open this Path(It's OK anywhere like this D:\home\3dcoat\scripts) C:\Users\****\Documents\3D-CoatV4\Scripts 2.make new folder named "yzk" 3.create new text file named "yzk_startup.script.txt" 4.copy and paste this script. https://github.com/coverman03/3dcoat_script/blob/master/sample/yzk.sampleStartup.script.txt 5.save it. 6.In 3dcoat [scripts]-[Run Script] and select "yzk_startup.script.txt" ----completed 7.Let's see the [scripts]menu."yzk_startup.script.txt" has been added. you can excute this any time and define hotkey by "End key" Quote Link to comment Share on other sites More sharing options...
Advanced Member rubeos Posted February 17, 2015 Author Advanced Member Report Share Posted February 17, 2015 I tried but it does not work ... I have no symmetry at startup, brush radius and orthographic view.I do not know what I was wrong: ------------------------------ 1.Open this Path (It's OK anywhere like this D: \ home \ 3dcoat \ scripts)C: \ Users \ **** \ Documents \ 3D-CoatV4 \ Scripts I opened both of these paths, but I created the script only on this, right?:C: \ Users \ **** \ Documents \ 3D-CoatV4 \ Scripts 2.make new folder named "yzk" 3.Create new text file named "yzk_startup.script.txt" I created the new text named "yzk_startup.script.txt" in the 'scripts' folder...not into 'yzk' folder, correct? 4.copy and paste this script. https://github.com/c...rtup.script.txt 5.Save it. 6.In 3dcoat [Scripts] - [Run Script] and select "yzk_startup.script.txt"---- completed 7.Let's see the [Scripts] menu. "Yzk_startup.script.txt" has been added.you can excute this any time and define hotkey by "End key"I see "yzk_startup.script.txt" and I run it by clicking on it but on interface nothing happens, and even restarted 3dcoat. Quote Link to comment Share on other sites More sharing options...
Member coverman Posted February 17, 2015 Member Report Share Posted February 17, 2015 I think your procedure is correct. Please excute this most simple script. https://github.com/coverman03/3dcoat_script/blob/master/sample/yzk_helloWorld.script.txt Run script it will popup and show"HelloWorld" 3 seconds. If not work, wrong something... Quote Link to comment Share on other sites More sharing options...
Advanced Member rubeos Posted February 17, 2015 Author Advanced Member Report Share Posted February 17, 2015 Ok, the script 'hello world' works perfectly, I followed this procedure:1-Open C: \ Users \ **** \ Documents \ 3D-CoatV4 \ Scripts2.make new folder named "hello world"3.Create new text file named "yzk_helloWorld.script.txt"4.copy and paste the script5.Save it.6.In 3dcoat [Scripts] - [Run Script] and select "yzk_helloWorld.script.txt"------------------------------------------------------------------------------------------------------------------- I tried to repeat the same procedure again for "yzk_startup.script.txt"This time I noticed that some features are active and some not, when launch the script : - Perspective / orthographic - works good- Symmetry - works only if at least once I opened the window 'symmetry'- Radius lock - does not work in any condition Quote Link to comment Share on other sites More sharing options...
Member coverman Posted February 17, 2015 Member Report Share Posted February 17, 2015 It's ok, I see what happened. I'm update yzk_sampleStartup.script.txt https://github.com/coverman03/3dcoat_script/blob/master/sample/yzk.sampleStartup.script.txt Quote Link to comment Share on other sites More sharing options...
Advanced Member rubeos Posted February 17, 2015 Author Advanced Member Report Share Posted February 17, 2015 (edited) I have done update too, and now: - Perspective / orthographic - works good- Symmetry - works good- Radius lock - does not work If possibile I'd like also turn off simmetry plane, before I had forgotten this.. Edited February 17, 2015 by rubeos Quote Link to comment Share on other sites More sharing options...
Member coverman Posted February 17, 2015 Member Report Share Posted February 17, 2015 - Radius lock - does not work I had thought Radius Lock can be set with bool command. This is the command Toggle "Radius Lock" cmd("$LOCK_SCREEN_RADIUS"); It works as only Toggle, and can't get & set the status. so, looks like it's impossible. Quote Link to comment Share on other sites More sharing options...
Member coverman Posted February 17, 2015 Member Report Share Posted February 17, 2015 I know 3dcoat have same problem. I can't get & set SteadyStroke (bool & value) by script. Should I report it to mantis? Quote Link to comment Share on other sites More sharing options...
Advanced Member rubeos Posted February 17, 2015 Author Advanced Member Report Share Posted February 17, 2015 - Radius lock - does not work I had thought Radius Lock can be set with bool command. This is the command Toggle "Radius Lock" cmd("$LOCK_SCREEN_RADIUS"); It works as only Toggle, and can't get & set the status. so, looks like it's impossible. Ok, not really matter ------------------------------------- ok, the script way are good, but my first idea was to have a way to costumize, like shaders: right click on a shader and I can set my favorite shader to default. At the next reboot I will have the shader without need to press any hotkey. Similarly I would like these three commands ..and in general as possible all commands Should I report it to mantis? Are you asking me? I do not know, I suppose so Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.