0
$\begingroup$

Some time ago, I wrote some scripts to rotate vectors in blender. I am not a blender expert. I have the files. I want to see the python script that I wrote.

The files work fine but although I can see the console and blender runs the code, I can't find out how to see the code.

For completeness I wrote the script inside the python editor built into blender. When I open the .blend file, the script runs automatically and generates the 3D image.

Can I do this?

$\endgroup$
3
  • 1
    $\begingroup$ You wrote some script in where? Text editor or an external file? How did the code been run? Is it automatically been run? You have what files? $\endgroup$
    – HikariTW
    Commented Sep 10, 2020 at 13:30
  • $\begingroup$ I wrote the script inside the python editor built into blender. When I open then .blend file, the script runs automatically and generates the 3D image. I am happy to upload the file if I have somewhere I can do that. $\endgroup$
    – nerak99
    Commented Sep 11, 2020 at 11:20
  • $\begingroup$ When you create a text-editor region, and click the selector dropdown to the left of 'New' at the bottom of it, does your script appear as a text data-block in the ,blend file? $\endgroup$
    – Robin Betts
    Commented Sep 11, 2020 at 11:47

1 Answer 1

-1
$\begingroup$

split the screen and change the 3d viewport to text editor , click on the Open and select your python file , and you should get it , and i think you can also open them in notepad(not sure , try that for future)

$\endgroup$
3
  • $\begingroup$ The python script was written in the blender text editor. $\endgroup$
    – nerak99
    Commented Sep 11, 2020 at 11:22
  • $\begingroup$ I have improved the wording of my question $\endgroup$
    – nerak99
    Commented Sep 11, 2020 at 12:07
  • $\begingroup$ try opening it in notepad++ $\endgroup$ Commented Sep 12, 2020 at 4:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .