amir
  • Male
  • Presidio, TX
  • United States
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (14)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Amir's Friends

  • Riccardo Majewski

amir's Discussions

changing all my rhino model textures from png to jpg?
23 Replies

Hello alli've got a model (with a lot of textures.)all textures are png (.png's) and are working fine- visible in rhino etc.however for other reasons (the next application i'm exporting too) i need…Continue

Tags: material, batch, model, rhino, png

Started this discussion. Last reply by amir May 22.

importing OBJ with Mat file and textures ? not working...
2 Replies

Hello all,i've not been able to find (google and every other forum i could think of) an answer as to exactly how to import sucessfuly an OBJ file with all the textures.i've got the OBJ, the mat file,…Continue

Tags: 3ds, max, obj

Started this discussion. Last reply by amir May 7.

export to sketchup ?
1 Reply

Hello all, regarding the latest options and status of the export to sketchup:the export works fine, all layers are maintained.However, groups are not.this is crucial because all mesh are exploded in…Continue

Tags: skp, google, layers, groups, export

Started this discussion. Last reply by Pascal Golay Jan 17.

 

amir's Page

Latest Activity

amir replied to amir's discussion changing all my rhino model textures from png to jpg?
"so i've concluded this tread (as far as i'm concerned). thanks for all the help riccardo and Helvetosaur :) i've managed to move on in my project from this phase of exporting the textures. couldn't have done it without your…"
May 22
Riccardo Majewski replied to amir's discussion changing all my rhino model textures from png to jpg?
""cool story bro!" XD glad to hear it..."
May 20
amir replied to amir's discussion changing all my rhino model textures from png to jpg?
"hey riccardo  just wanted to keep you posted that i'm making progress with your scripts, for some reason not all the textures are being replaced, perhaps issues of groups, joint meshes etc.. i'll keep you posted soon  thanks :)"
May 20
Riccardo Majewski replied to amir's discussion changing all my rhino model textures from png to jpg?
"sure, instead using rhino.messagebox , add a text element with a different 3dpoint origin for each for/next cycle increase the value 100 if you still dont find something.... -runscript (sub listmaterials for i=0 to 100 Dim material_texture :…"
May 19
amir replied to amir's discussion changing all my rhino model textures from png to jpg?
"hey :) some good news, now it seems like it might be working, after i copied just 1 of the geometries out of the big rhino file and into a new one. still something weird that only 1 of 34 textures doesn't want to get chagned :) do you have by…"
May 18
Riccardo Majewski replied to amir's discussion changing all my rhino model textures from png to jpg?
"1. good to know 2. the script CAN change the material path/name to something that dont even exists in your computer, it works blindly!... but after, rhino would give you an error for missing texture... post the file :)"
May 18
amir replied to amir's discussion changing all my rhino model textures from png to jpg?
"Great tool, by the way- if you're a newbie- good on ya !!  so i guess i'm a newbier newbie. :)  so the tool works and i think it helped me understand something. 1. i've been going into the materialeditor to see how many…"
May 18
Riccardo Majewski replied to amir's discussion changing all my rhino model textures from png to jpg?
"if the script stops at the stard and nothing changes, it means that it stops at i=0 ... i think meaning the first slot of the material list is not a material with texture or simply the material does not exist.... (again i dont know how indexing…"
May 18
amir replied to amir's discussion changing all my rhino model textures from png to jpg?
"hey :) so first of all i've deleted all the "basic materials" without textures , just thinking that maybe those ones actually don't have paths for their textures (just colored materials etc..) so i was left with 4 materials with…"
May 18
Riccardo Majewski replied to amir's discussion changing all my rhino model textures from png to jpg?
"i've look better your screenshots... it say "string required" the function Rhino.MaterialTexture should always return a string as output, IF the material of that for/next cycle index EXIST... maybe some maretial in the index are…"
May 18
amir replied to amir's discussion changing all my rhino model textures from png to jpg?
"thanks riccardo,  the whole loop and index thing i understand actually that was not a problem.  but have you had a look at the error that was generated?  i have no idea what it could be. because it worked on my test rhino file with 2…"
May 18
Riccardo Majewski replied to amir's discussion changing all my rhino model textures from png to jpg?
"sry i'm not excelent in english .. XD are you saying that the script interrupt before finish it job? or just showing the error but everything is fine? the for/next cycle i used ... started from "i=0"... meaning it is already the…"
May 18
amir replied to amir's discussion changing all my rhino model textures from png to jpg?
"hey there guys ! so i've tested the script and it works on my test file :) many thanks and kudos! but.... on my actual file- error appears. i'm attaching 2 pics here- one to show the whole path of the png texture trying to replace, (no…"
May 18
Riccardo Majewski replied to amir's discussion changing all my rhino model textures from png to jpg?
"P.S. do a backup or similar before start the script.... just in case and after the script done his job... check the best you can, because the script, in fact, EDIT your rhino file.... so do all your precautions... please"
May 17
Helvetosaur replied to amir's discussion changing all my rhino model textures from png to jpg?
"Unfortunately, I tried something similar, but it didn't work here...  Still trying to figure out why. --H"
May 17
amir replied to amir's discussion changing all my rhino model textures from png to jpg?
"wow thanks so much  Riccardo Majewski :) i'll try this as soon as i get back home in a few hours  and i'll let you guys know asap thanks a million :)"
May 17

Profile Information

Company, School, or Organization
None
I am a
Hobbyist
Which operating system do you prefer?
Windows
Discipline/Occupation
Architectural Design

Comment Wall

You need to be a member of Rhino Community to add comments!

Join Rhino Community

  • No comments yet!
 
 
 

Translate

© 2013   Created by McNeel Admin.

Badges  |  Report an Issue  |  Terms of Service