Exporting layers to Photoshop
-
Hi there,
let me first introduce myself: I'm Ivan, architect & teacher and Sketchup user...
My first question now:
I've modified thomthom's tt_export.rb script to get different layers of information for photoshop compositing.
When I load a specific style I have to do it twice to get sketchup to load it properly (i.e. no edges style to get only the shadows).Presently I'm doing it like this:
styles = Sketchup.active_model.styles styles.selected_style = styles["OnlyShadows"] UI.messagebox "Changing styles" styles.selected_style = styles["OnlyShadows"] UI.messagebox "Again..." filename_shadows = filename + "_shadows.png" UI.messagebox filename_shadows model = Sketchup.active_model shadowinfo = model.shadow_info value = shadowinfo["DisplayShadows"]=trueIf I try to do it straight away it doesn't turn edges off. Is this a bug or am I doing it wrong?
I would love to forget about clicking 'OK' twice for every layer I export...TIA
-
OK,I just didn't think about
view.refresh...
Now I get the first image & the profiles but: I don't get the shadows with 'no edges' as defined in the style... unless I repeat the command as in:
styles = Sketchup.active_model.styles styles.selected_style = styles["OnlyShadows"] refreshed_view = view.refresh styles.selected_style = styles["OnlyShadows"] refreshed_view = view.refresh filename_shadows = filename + "_shadows.png" value = shadowinfo["DisplayShadows"]=true refreshed_view = view.refreshIs this normal or am I missing something again?
Regards
-
I recommend you go read this PDF to get you started otherwise you will be tearing your hair out and nothing will make sense.
http://www.autosketchup.com/ -
That site isn't working for me. Is that Martin Reinhart's site?
-
@chris fullmer said:
That site isn't working for me. Is that Martin Reinhart's site?
No, it's a chap called Matthew Scarpino.
The site seems to work all right for me, if it still doesn't work and your interested in the PDF, I will email you a copy. -
Oh yeah, It's Matt's. Whatever was wrong before it seems to be back up and running now. Thanks
-
@brett mcallister said:
I recommend you go read this PDF to get you started otherwise you will be tearing your hair out and nothing will make sense.
http://www.autosketchup.com/OK, I will.
Thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement