Jump to content
3DCoat Forums

Search the Community

Showing results for tags 'script'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Development
    • Announcements and new feature demos
    • New Releases, Bugs Reports & Development Discussion
    • Linux Releases
    • 3DCoat AppLinks
    • Coding scripts & addons
    • Feature requests
  • General
    • General 3DCoat
    • Tutorials, Tips and Tricks
    • CG & Hardware Discussion
    • SOS! If you need urgent help for 3DCoat
  • Artwork
    • Finished Projects
  • Community
    • Resources
    • Marketplace
    • Contest
  • International
    • Brazil Forum - falamos português
    • Chinese forum - 3DCoat用户讨论组
    • Japanese forum - 日本のフォーラム
    • German Forum - Man spricht Deutsch
    • French Forum - Forum Francophone
    • Russian Forum
  • 3DC's Topics
  • 3DC's Tips
  • 3DC's Topics
  • 3DC's Paint
  • 3DC's Hipoly
  • 3DC's Lowpoly

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Google+


YouTube


Vimeo


Facebook


Location


Interests

Found 4 results

  1. Hello, I am new to 3D-Coat and want to create some scripts to execute some basic operations which I normally would have to execute manually. What I try to do is: -- i) Import Object(s) from STL ii) Convert "Surface" to "Voxel" with a distinct resolution (depends on object) iii) Subtract Voxel-Object(s) from each other iv) Export result to STL What I have done so far is something like this: void main(){ // next command is optional, just to keep control of execution in modal message boxes (see description of ModalDialogCallback below), if you are new you may delete or ignore next line //SetModalDialogCallback("ModalDialogCallback"); if(ModalDialogOkCancel("Create new project and import files?"," ")) { SetModalDialogCallback("ModalDialogCallbackDontSave"); cmd("$CLEARSCENE"); ToRoom("Sculpt"); string wMeshOne, wMeshTwo; if ( OpenDialog("*.stl",wMeshOne) ) { SetFileForFileDialogs(wMeshOne); cmd("$ImportForVoxelizing"); //cmd("$MERGEOBJ"); SetModalDialogCallback("ModalDialogCallbackKeepScale"); SetBoolField("Import w/o Voxelization",true); //SetBoolField("$RegularGizmo::MoveOnlyGizmo",true); apply(); cmd("$[Page4]Smooth");//select smooth just for testing } } } void ModalDialogCallbackDontSave() { cmd("$DialogButton#2"); } void ModalDialogCallbackKeepScale() { cmd("Yes");// or "$DialogButton#2" } Finally my concrete questions: * Which command should be used to import STLs as Surfaces? * How to programmatically convert them to Voxel with a certain resolution? * How to access the converted Voxel-objects and subtract them from each other * How to export the result to STL? A lot of questions, I know - I don't expect a ready-to-run script just some hints into the right direction. Regards, Reiner
  2. Hi, I was looking through the documentation but I couldn't find any method which returns the coordinates when one clicks on an object. Is there any way to get that? Thank you
  3. Source Nuitka is a Python compiler. It's fully compatible with Python 2.6, 2.7, 3.2 and 3.3. You feed it your Python app, it does a lot of clever things, and spits out an executable or extension module. Free license (Apache) Right now Nuitka is a good replacement for the Python interpreter and compiles every construct that CPython 2.6, 2.7, 3.2 and 3.3 offer. It translates the Python into a C++ program that then uses "libpython" to execute in the same way as CPython does, in a very compatible way.
  4. hi all, just a couple of simple yet useful batches.. Paint High Low Voxel batch // Adds two fill layers, first, with foreground color as "Less in cavity", second, with background color as "More in cavity". Smooth all volumes // Apply "Smooth all" to each volume in tree that is NOT in surface mode. have fun PaintHighLow.script.txt SmoothAllVolumes.script.txt
×
×
  • Create New...