Jump to content
3DCoat Forums

coverman

Member
  • Posts

    23
  • Joined

  • Last visited

Everything posted by coverman

  1. I read the script manual & updated. https://github.com/coverman03/3dcoat_script/blob/master/surface/yzk_decimateAndClean.script.txt
  2. I know 3dcoat have same problem. I can't get & set SteadyStroke (bool & value) by script. Should I report it to mantis?
  3. - 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.
  4. Answer to 1. Enter key is assigned "SetCurVolumeMode(change surface or voxel)" So, I think it's excuted... Answer to 2. please add this command like this. cmd("$DialogButton#1");/*press ok button*/ void main(){ ShowFloatingMessage("decimate&clean", 3); InstallToMenu("Geometry","decimate+clean"); cmd("$Decimate");/*Decimate*/ cmd("$DialogButton#1"); Step(1); cmd("$CleanSurface");/*Clean Surface*/ cmd("$DialogButton#1"); Step(1); } maybe it will work as you like. but the decimate command need user input on my PC. I don't know why...
  5. 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
  6. 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...
  7. 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"
  8. I forgot to talk about notes. This command can excute on V4.5 beta 10 higher. Structure of Symmetry command is changing at beta.
  9. This is it. we can assign this command as hotkey. void main(){ InstallToMenu("Geometry","decimate+clean"); cmd("$Decimate");/*Decimate*/ Step(1); cmd("$CleanSurface");/*Clean Surface*/ Step(1); }
  10. 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.
  11. I has released some short scripts for beginner like me. https://github.com/coverman03/3dcoat_script
  12. And next, ・I want to get Current Voxel Layer sort number in Boxel Tree. ・I want to get how many childs current Voxel Layer have. --Voxel-- array GetVoxTreeBranch();/*get voxel tree array(string, array(string1, string2), string, string)*/ int GetCurVoxChildsCount(); /*get current voxel childs count*/ int GetCurVoxSortNumber();/*get current voxel sort position*/ SetCurVoxSortNumber(int);/*set current voxel sort position*/ I can not sort the voxel layer by script.
  13. I think 3dcoat need these simple commands. --Voxlel-- GetCurVoxParent("string"); /*get current voxel parent*/ SetCurVoxParent("string"); /*Set current voxel parent*/ --Retopo-- cmd("$UnhideAllRetopo");/*Unhide All retopo groups*/ cmd("$ShowAllRetopo");/*Show All Hidden Retopo groups*/ cmd("$InvertHideRetopo");/*Invert Hidden Retopo*/ cmd("$HideButCurrentRetopo");/*Retopo Isolate*/ cmd("$Toggle_Retopo_visibility");/*Toggle Retopo Visibility*/ cmd("$MergeVisibleRetopo");/*Merge Visible Retopo*/ cmd("$CloneRetopo");/*Clone*/ cmd("$CloneSymmRetopo");/*Clone w/ Symmetry*/ cmd("$FlipNormalsRetopo");/*FlipNormals*/ cmd("$DecomposeRetopo");/*Object-ify (separate to each retopo groups)*/ I don't know how to use mantis. Please consider this idea and add task for mantis.
  14. I think all cause of Sticky keys problem is in hotkey setting. Hotkey XML is delicate but simple, so I think It is graphic draw lag or somthing like that. The problem you face, is cased at simple New scene? At least, you would be better to set these settings. ・[View]-[ReliefOnly] select ・[Geometry]-[CastaShadow] Off ・[Geometry]-[incrementalRender] Off Advice form me is all...
  15. I think you already custom your hotkey, maybe UserDefined number was modifeid. You just want to disable all sticky keys, you should set <UserDefined>0</UserDefined> in the hotkey file. <userDefined>number manages the order sort of Stacked keys. please try do this.
  16. I was having the same problem. I read help manual and it is written like this. Sticky keys does not work with Stacked Keys. So I export my hotkeys from [Edit] - [save hotkeys]. Open it with text editor, replace all <AllowStack>false</AllowStack> to <AllowStack>true</AllowStack> And reimport. I was released from that problem.
  17. Step1. Export your retopo mesh form tool bar menu [Retopo]-[Export]. Step2. Create new retopo layer. [Windows]-[Popups]-[Groups] Step3. Import & move mesh [Retopo]-[import] maybe you can transfom in this step. If you want to move other retopo mesh. use select tool & transform tool. (rectangle brush is the best to select all faces)
  18. Thanks to your reply and script ajz3d. I also agree with your opinion. The values returned by GetCurrentToolID() is very accurate but cannot be used anywhere. The ID is clearly translated like this. "VOX_SCULPT_TOOL::SCULP_GROW" to "$[Page4]Grow" So if we want to get ID and change Tool with a script, we need retranslation like your script. I was just surprised.Really!? I just have a surprise, but I'm not troubled at all. So I do not send any mail to Andrew. I prefer this type string ID "VOX_SCULPT_TOOL::SCULP_GROW" It's long, but it looks like common format in 3D-Coat and accurate.
  19. I write an easy script to get current tool ID. ------------- void main(){ string ID = GetCurrentToolID(); ShowFloatingMessage(ID, 10); } ------------- This is the result. VOX_SCULPT_TOOL::SCULP_GROW I think this is the command ID! ------------- bool cmd(string &in ID); This is main command that you will use. It performs any action from user interface. To get the command ID hover your mouse cursor over required item and press MMB+RMB simultaneously. The command ID will be copied to clipboard. Pay attention that if a command is not present in current UV layout it will not be performed. ------------- So I write two script. cmd("$[Page4]Grow); //Yes!it is working! cmd("$VOX_SCULPT_TOOL::SCULP_GROW); //No!it is not working. What is the meaning of this command exists? GetCurrentToolID();
  20. Thank you for replying ajz3d. I was probably understand that it's impossible to make the change parent script. I want to simplify the reconstucting of subtree, so I'm going to think about my needs carefully. Thank you.
  21. Thank you for a great script. I read scripting Manual and ajz scripts. It became the great help of my script learning. Now,I am would like to create a similar script to change the voxel parent. I am looking for a way to get the parent of voxel or to count the number of subTree. I know these selection and adding voxel scripts will work. cmd("$VoxTreeBranch::Root[1][0]"); cmd("$VoxTreeBranch::+[5]"); Do you know something about VoxTreeBranch command? Is it exist like this Function? GetCurVoxParent("childVolume1"); SetCurVoxParent("Root");
×
×
  • Create New...