Page 1 of 1

changing the Save path for the exporter

Posted: Wed Jul 30, 2008 4:02 am
by Post
Hey,

Does anyone know how to change the default save path for the exporter? In the rendering setting window I'm unable to change the default.
I would like to change the path from C:/Program Files/Google/Google SketchUp 6/Plugins/indigo/renders:\ to \\master\renderings.
i have done a search on this topic, something that I thought would be covered by this stage of the game and came up with no hits.

thanks for all the help.
-Post-

Posted: Wed Jul 30, 2008 6:40 am
by Whaat
you can't change the save path I'm afraid...

You can only change the image name.

Posted: Wed Jul 30, 2008 1:26 pm
by Post
is there a way to change the code to allow for a different location?

Thanks and keep up the great work!!

Posted: Fri Aug 01, 2008 6:27 am
by Whaat
Look for this code:

Code: Select all

def image_path
	if @path
		return File.join(File.dirname(@path),"renders").gsub!(/\\/,"\/")
	else
		return nil
	end
end
Try changing to this:

Code: Select all

def image_path
	return "c:\\your\\path\\goes\\here".gsub!(/\\/,"\/")
end
I haven't tested this but it should work.

Posted: Fri Aug 01, 2008 11:46 am
by cpfresh
that alone doesn't seem to work for me.

that might set the image_path but it is never invoked or checked when starting the render (that i can tell anyway.) we need a way to get it called when hitting export.

help! :D

**edit**

ok so i got it to work by just adding it in right by the batch.puts for the autorender.bat

if we could make a new variable such as manual_image_path or mip or whatever that we could input (either manually or with a nice search function like when finding indigo.exe for the first use) then we can just do a file join, like it is done now, but add in the new path. anyway, i doubt this makes sense. if i knew how to declare variables i think this could be more helpful to everyone else. sorry for being confusing.

Posted: Fri Aug 01, 2008 12:54 pm
by Post
Whaat that code did not work for me neither.

cp: you have a lot more code knowledge then me. I'm just know to this whole indigo and ruby scripts thing.

But i did have an idea:
Is there a way to what the exporter accept a network name within the indigo_1_1_5path.txt file?
So right now it reads:
c:\Program Files\Google\Google SketchUp 6\Plugins\indigo\indigo.exe
are we able to get the skindigo to accept
\\master\Program Files\Google\Google SketchUp 6\Plugins\indigo\indigo.exe
if we are able to, i think the render button issue that I'm having would be solve. (the slaves are not able to find the path.)

I hope the above makes is not confusing, and yes cp i argee that it would be "nice :wink: " to have a variable such as manual_image_path in the render settings.

Thanks very much for all yours helps
-Post-

Posted: Fri Aug 01, 2008 3:02 pm
by cpfresh
Post, do you run indigo on your slaves machines from your master machine? the program should be run on each slave machine respectively ... so how is it they are looking for your master machines indigo.exe???

Posted: Sat Aug 09, 2008 3:59 am
by Post
i run indigo from each slave ()I walk to each computer to set it up)

I have just noticed a typo:
c:\Program Files\Google\Google SketchUp 6\Plugins\indigo\indigo.exe
are we able to get the skindigo to accept
\\master\Program Files\Google\Google SketchUp 6\Plugins\indigo\indigo.exe
Sould read
c:\Program Files\Google\Google SketchUp 6\Plugins\indigo\image.igi
are we able to get the skindigo to accept
\\master\Program Files\Google\Google SketchUp 6\Plugins\indigo\image.igi
I will try and map a drive as you suggested in another thread, when i get some time.

thanks.
-Post-