Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - ludi

Pages: [1]
1
Hello,

Is there any documentation about "Auto-unwrap" via command Lines ?
How can I create new project with mesh that have no Uvs..

before the last relase, if we imported a mesh without uvs, the unwraping was done automatically.
Now it indicates an error.

Nothing here :
https://docs.substance3d.com/spdoc/command-lines-98959411.html

thank you,

2
Substance PainterSubstance Painter - Scripting - [Python] Export Mesh
 on: April 28, 2020, 06:29:21 pm 
Hi,

is it possible to export Mesh with the Python Api ?
I did'nt find anything in the documentation..

thank you,

3
Substance PainterSubstance Painter - Scripting - Python - add_dock_widget
 on: April 27, 2020, 09:47:08 am 
Hello,

I am trying to create a very simple interface (a QGridLayout that contains a button) with the new python API.

IF I create a button, it works :
Code: [Select]
self.btn_createNote = QtWidgets.QPushButton("Créer une note")
self.btn_createNote.clicked.connect(self.create_note)
substance_painter.ui.add_dock_widget(self.btn_createNote)


But when I try via a QGridLayout, Painter immediately crashes :
Code: [Select]
self.btn_createNote = QtWidgets.QPushButton("Créer une note")
self.main_layout = QtWidgets.QGridLayout()
self.main_layout.addWidget(self.btn_createNote, 0, 0, 1, 1)
self.btn_createNote.clicked.connect(self.create_note)
substance_painter.ui.add_dock_widget(self.main_layout)

Any ideas for creating an Ui containing more than one button ? :)

thank you,

4
Substance PainterSubstance Painter - Scripting - Reload plugin onClicked
 on: March 30, 2020, 01:45:08 pm 
Hello,

I made a plugin and in my ui I use variables (project.url, project.name, etc.)
I use to create the ouptput path of textures, but it only works if I do "reload plugin" ..
So is there a way to reload the plugin as soon as it is launched ?

thanks,

Pages: [1]