changing the Save path for the exporter

Announcements, requests and support regarding SkIndigo - the Sketchup / Indigo exporter.
Post Reply
8 posts • Page 1 of 1
Post
Posts: 38
Joined: Sun Apr 27, 2008 4:56 pm

changing the Save path for the exporter

Post by Post » Wed Jul 30, 2008 4:02 am

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-

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Wed Jul 30, 2008 6:40 am

you can't change the save path I'm afraid...

You can only change the image name.

Post
Posts: 38
Joined: Sun Apr 27, 2008 4:56 pm

Post by Post » Wed Jul 30, 2008 1:26 pm

is there a way to change the code to allow for a different location?

Thanks and keep up the great work!!

User avatar
Whaat
Developer
Posts: 1827
Joined: Fri Dec 22, 2006 6:15 am
Location: Canada
Contact:

Post by Whaat » Fri Aug 01, 2008 6:27 am

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.

User avatar
cpfresh
Posts: 501
Joined: Thu Jun 14, 2007 12:20 pm
Location: California, USA
Contact:

Post by cpfresh » Fri Aug 01, 2008 11:46 am

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.

Post
Posts: 38
Joined: Sun Apr 27, 2008 4:56 pm

Post by Post » Fri Aug 01, 2008 12:54 pm

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-

User avatar
cpfresh
Posts: 501
Joined: Thu Jun 14, 2007 12:20 pm
Location: California, USA
Contact:

Post by cpfresh » Fri Aug 01, 2008 3:02 pm

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???

Post
Posts: 38
Joined: Sun Apr 27, 2008 4:56 pm

Post by Post » Sat Aug 09, 2008 3:59 am

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-

Post Reply
8 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 17 guests