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$
  • 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 Sep 10 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 Sep 11 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 Sep 11 at 11:47
-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)

| improve this answer | |
$\endgroup$
  • $\begingroup$ The python script was written in the blender text editor. $\endgroup$ – nerak99 Sep 11 at 11:22
  • $\begingroup$ I have improved the wording of my question $\endgroup$ – nerak99 Sep 11 at 12:07
  • $\begingroup$ try opening it in notepad++ $\endgroup$ – SHikha Mittal Sep 12 at 4:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.