Jump to content
3DCoat Forums

Andrew Shpagin

3DCoat Developer
  • Posts

    7,666
  • Joined

  • Last visited

Everything posted by Andrew Shpagin

  1. I recommend using Python API or Core API, it is constantly developed and cleaned up, Angelscript is deprecated. But I don't understand exactly what you need. You want to sat value for the input box of your custom dialog? Look the "Dialog" example in the Python API.
  2. Fixed in 35. You need to hover the object to drop to root and press hotkey.
  3. Solved it, now all packages like numpy, cv2, pytorch work correctly. Of course, need install it using Scripts->Install python packages
  4. I am working on all those Python problems. It will be solved, for sure. Not only this is an issue. The 3.8.10 was chosen because it is the last version compatible with Win 7. If we use a later version of Python, we should cancel Win 7 support.
  5. The source of problems is that script ends and class CmdPanel does not exist anymore after the end of the script. The correct script is below. The key is the registering the proxy tool that forces the script to keep being in memory. Pay attention you need to show the window manually using Windows->Palels->Command panel. In 2023.23 this last action no longer needed, and the proxy tool will not appear as well. #include <CoreAPI.h> #include <coat\PopupWindows.h> class CmdPanel :public PopupWindow { public: CmdPanel() { } virtual const char* GetWindowID() override { return "Command Panel"; } void Button1() { coat::ui::cmd("$MENU_INVERT_FREEZE"); } void Button2() { coat::ui::cmd("$InvertHide"); } // etc... SERIALIZE() { { UI_LAYOUT("1"); FUNCTION_CALL(Button1, "Invert Freeze"); FUNCTION_CALL(Button2, "Invert Hidden"); // etc... } } }; class Keeper :public VoxelExtension { public: CmdPanel* panel; Keeper() { panel = new CmdPanel(); PopupWindow::Register(panel); panel->Show(); } ~Keeper() { delete panel; } }; EXPORT int main() { VoxelExtension::Register(new Keeper); return 0; }
  6. This is definitely bug (will be fixed), but there is workaround: Don't press Apply UV set, just go to Paint room and agree. In this case all works correctly.
  7. 200K as result is too much for autopo. It is better to use lower value and subdivide if need. After setting clusters you need to press UNWRAP, not just Pack UV because pack UP packs existing islands.
  8. Thanks for presentation! First step - I re-made gizmo plane controls.
  9. Looks like this is Relax algorithm problem. I improved it in 27 (soon), now it works definitely better.
  10. Introducing Python requires big portion of hardwork from the Mac/Linux programmer... But it is on the way.
  11. It is intended to work this way. I seen this in other apps. If it will select only edges between selected verts then what in case of single vertex selected?
  12. If there is no (learning) in the window header then all should work correctly. Maybe at the moment of initial (buggy) tests it was not activated?
  13. I don't change the work folder because all files are compatible between 22-23. The only known issue related to scripts that I mentioned, it will be resolved.
  14. This happens because no license activated. So the export is limited to 4K polygons. This is the snapshot from the video: There is warning message about this. What you seen is that remaining polygons. Activate license and all should work as expected. Getting back to older versions may trigger some issues (script errors) that may be resolved deleting the folder User/Documents/UserData/Rooms/
  15. Reproduced and fixed, thanks!
×
×
  • Create New...