Jump to content


Photo

LightWave Applink


  • Please log in to reply
45 replies to this topic

#41 philnolan3d

philnolan3d

    Master

  • Moderator
  • PipPipPipPipPipPip
  • 6,201 posts
  • Gender:Male
  • Location:Philadelphia, PA, USA
  • Interests:3D, martial arts, anime, gaming, contact juggling

Posted 14 April 2013 - 11:35 AM

I didn't even know there was a Python console. Thanks. :)
Phil Nolan
Generalist
www.philnolan3d.com - Twitter - Google+
Desktop: Win8 Pro x64, Core 2 Quad 2.4 GHz, GeForce GTX 470, 8GB RAM
Laptop: Vista Home Prem x86, Core 2 Duo, 1.5 GHz, GeForce 8600M GS, 2GB RAM

#42 lardbros

lardbros

    Neophyte

  • Member
  • Pip
  • 23 posts

Posted 14 April 2013 - 12:55 PM

Hmmm... just been trying this at home, and it all works fine!

Must be some lockdowns on the OS at work.

Does anyone here know how 3d coat communicates or 'watches' the folders for importing automatically? I can ask for this to be unblocked if it's a firewall issue :D

#43 Styler

Styler

    Neophyte

  • Applink Developer
  • Pip
  • 63 posts
  • Gender:Male

Posted 14 April 2013 - 03:52 PM

LW applink makes i/o operation with files in next folders:

C:/Users/xxx/Documents/
C:/Users/xxx/Documents/3D-CoatVX/Exchange/
C:/Users/xxx/Documents/3D-CoatVX/Exchange/LightWave/
../ProjectName/Objects/ - in project folder

If you have custom OS setting or restricted permit for write/read this might cause error. I'll submit new version in Monday, with full debugging info in cases like that..

Edited by Styler, 14 April 2013 - 03:52 PM.


#44 philnolan3d

philnolan3d

    Master

  • Moderator
  • PipPipPipPipPipPip
  • 6,201 posts
  • Gender:Male
  • Location:Philadelphia, PA, USA
  • Interests:3D, martial arts, anime, gaming, contact juggling

Posted 15 April 2013 - 12:53 AM

Here's a question. Does it actually look at C:/Users/xxx/Documents/ or does it look at the My Documents link? Somehow my "library" links like My Documents, My Pictures, etc., got corrupted and I just get an error when I try to open them, however if I manually go in via C:/Users it work fine. This has caused issues with a number of programs like Win Media Player. I sent a model to 3DC from LW, worked on the UV, painted a little, and sent it back to LW. In LW I didn't get any textures loaded at all, but the new UV info was there so I know the model was updated.
Phil Nolan
Generalist
www.philnolan3d.com - Twitter - Google+
Desktop: Win8 Pro x64, Core 2 Quad 2.4 GHz, GeForce GTX 470, 8GB RAM
Laptop: Vista Home Prem x86, Core 2 Duo, 1.5 GHz, GeForce 8600M GS, 2GB RAM

#45 Styler

Styler

    Neophyte

  • Applink Developer
  • Pip
  • 63 posts
  • Gender:Male

Posted 15 April 2013 - 02:38 AM

Does it actually look at C:/Users/xxx/Documents/ or does it look at the My Documents link?

Applink looks at 'My Documents' folder, and gets all paths by using system calls. If your change 'My Documents' path, it will be taken correctly.

I sent a model to 3DC from LW, worked on the UV, painted a little, and sent it back to LW. In LW I didn't get any textures loaded at all, but the new UV info was there so I know the model was updated.

In general, if you have any textures they have to be there. I use the same LWO object for i/o operations. This guaranties me that all textures will be in '/Project/Objects' folder and texture paths will be relative to LWO file.

#46 philnolan3d

philnolan3d

    Master

  • Moderator
  • PipPipPipPipPipPip
  • 6,201 posts
  • Gender:Male
  • Location:Philadelphia, PA, USA
  • Interests:3D, martial arts, anime, gaming, contact juggling

Posted 15 April 2013 - 06:55 AM

Looking at the Console it appears as if it does load the correct folder, C:/Users/Phil/Documents My problem folders are Desktop/Libraries/Documents
Phil Nolan
Generalist
www.philnolan3d.com - Twitter - Google+
Desktop: Win8 Pro x64, Core 2 Quad 2.4 GHz, GeForce GTX 470, 8GB RAM
Laptop: Vista Home Prem x86, Core 2 Duo, 1.5 GHz, GeForce 8600M GS, 2GB RAM




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users