[Plugin] FredoTools::ThruPaint - v1.3a - 20 Oct 16

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby Oxer » Mon Apr 23, 2012 4:48 pm

Fredo6 wrote:Oxer,

Did it work in previous versions?
Or other Mac OS versions?

Thanks

Fredo

No, it doesn't work in previous version.
I haven't probed other Mac OS versions.
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby fredo6 » Mon Apr 23, 2012 10:05 pm

Oxer wrote:No, it doesn't work in previous version.
I haven't probed other Mac OS versions.

Oxer,

Strange because it works for some other Mac users

Could you type in the Ruby Console
- VK_DOWN
- VK_UP
- VK_LEFT
- VK_RIGHT

Thanks

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby Oxer » Mon Apr 23, 2012 11:44 pm

This is the result in the Ruby Console:
Ruby Console.jpg
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby moghamdi » Tue Apr 24, 2012 9:24 pm

Thank you Fredo for this nice Plugin.

I have a problem

I have a Mac 10.6.8 and I cannot transform the texture. I tried all 3 ways you mentioned but they did not work.
0

moghamdi 
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby fredo6 » Tue Apr 24, 2012 10:27 pm

moghamdi wrote:Thank you Fredo for this nice Plugin.

I have a problem

I have a Mac 10.6.8 and I cannot transform the texture. I tried all 3 ways you mentioned but they did not work.

Could you open the Ruby console and see if something is displayed.
It seems that the Arrows don't work on all Mac, but the VCB and Visual Editor should normally function correctly.

Thanks

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby fredo6 » Wed Apr 25, 2012 10:48 am

Oxer wrote:This is the result in the Ruby Console:
Ruby Console.jpg

Oxer,

Thanks. Interesting to see that the value may be different depending on the Mac versions (on the Mac I have access to, VK_DOWN = 63233

Anyway, ThruPaint only use the symbolic constant value VK_DOWN and therefore should not be impacted by the internal value of the Arrows constants.

It seems also that several Mac users don't have any problem with the Arrows on Mac.

Just in case, could you type in the Ruby Console Traductor.new_check_key(VK_DOWN, 0, 0).

Also, when you try to exercise transformation by arrows on texture, could you leave the Ruby console open to see if an error message is displayed. Also, make sure that the focus is on the Sketchup window when typing the arrows.

Thanks

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby TIG » Wed Apr 25, 2012 10:57 am

In my scripts that use arrows keys I use this
Code: Select all
if RUBY_PLATFORM=~/mswin32/ ### PC
  KALXMINUS = 37          # Arrow Left Key
  KARXPLUS  = 39          # Arrow Right Key
  KAUYPLUS  = 38          # Arrow Up Key
  KADYMINUS = 40          # Arrow Down Key
  KSHIFT    = 16          # Shift Key
else### MAC
  KALXMINUS = 63234       # Arrow Left Key
  KARXPLUS  = 63235       # Arrow Right Key
  KAUYPLUS  = 63232       # Arrow Up Key
  KADYMINUS = 63233       # Arrow Down Key
  KSHIFT    = 131072      # Shift Key
end#if
and then test key-down events etc against these 'constants'
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby thomthom » Wed Apr 25, 2012 12:10 pm

TIG wrote:In my scripts that use arrows keys I use this
Code: Select all
if RUBY_PLATFORM=~/mswin32/ ### PC
  KALXMINUS = 37          # Arrow Left Key
  KARXPLUS  = 39          # Arrow Right Key
  KAUYPLUS  = 38          # Arrow Up Key
  KADYMINUS = 40          # Arrow Down Key
  KSHIFT    = 16          # Shift Key
else### MAC
  KALXMINUS = 63234       # Arrow Left Key
  KARXPLUS  = 63235       # Arrow Right Key
  KAUYPLUS  = 63232       # Arrow Up Key
  KADYMINUS = 63233       # Arrow Down Key
  KSHIFT    = 131072      # Shift Key
end#if
and then test key-down events etc against these 'constants'

Why don't you use the built in constants? They should be reflecting the correct value based on the current OS. When you do it manually you have to keep updating it....
:?:
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby fredo6 » Wed Apr 25, 2012 1:24 pm

@Thomthom: I agree with you and my scripts do use the built-in constants for Arrow (and Shift, Ctrl). This is why I don't understand why it does not work. I was just wondering why the VK_constants for Oxer where in the range 123-126 whereas on the Mac I can have access to there are in the range of 63232... One possibility is that another script redefines the constants VK_.... because as far as I know, there is only a single Mac release of Sketchup, and therefore of the Ruby API (unless the Ruby API check itself the version of Mac OS).

@TIG: the values you show are correct for the Mac, as far as I knew them.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby thomthom » Wed Apr 25, 2012 1:26 pm

Fredo6 wrote:because as far as I know, there is only a single Mac release of Sketchup, and therefore of the Ruby API

I assumed that SketchUp got the key code values from the system when it initialized the Ruby interpreter and abstracted them into these system-safe constants...
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby redog » Wed Apr 25, 2012 11:12 pm

for me u are a genius in sketchup you can now manage the textures in an intelligent way. thanks fridoooooo. grazie :ecstatic: :thumb: :thumb: :ecstatic:
0

redog 
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby moghamdi » Thu Apr 26, 2012 1:55 am

This is the result in the Ruby Console:
I have Sketchup 8 Pro
0

moghamdi 
 

Re: [Plugin] FredoTools::ThruPaint 1.0n - 21 Apr 12

Postby fredo6 » Tue May 08, 2012 10:06 pm

NEW RELEASE: ThruPaint v1.2a - 08 May 12

This update fixes some bugs and introduces 2 functional evolutions

1) Painting of components / groups, text labels and dimensions
This is a new option in the palette, very similar to the native SU Paint tool. Originally, ThruPaint was painting faces within the boundaries of containers. There are however cases where you wish to assign a material to the component or group itself. This material becomes then the default material for the faces of the component

ThruPaint Container mode.gif


2) Modifier for Sampler
If you press Shift key, the cursor changes to sampling instead of painting. In the native SU Paint tool, this feature is covered by the Alt key (on Windows), but this is not possible in Ruby.


See main post of this thread for more information on ThruPaint.

See main post of FredoTools thread for download of FredoTools, which includes the ThruPaint script.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby tomislavm » Mon May 28, 2012 10:06 am

Thank You.
0

tomislavm 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby numerobis » Wed Jul 11, 2012 3:19 pm

Really a fantastic plugin! I have to say it again! Thanks a lot!

But i have noticed a problem with exporting textured object for rendering, maxwell in my case...
The problem is that the exporter writes a seperated material and texture for each face! So with a complex gepmetry this results in thousands of textures and materials.

My question is now, is it possible to avoid this behavior? I'm painting as QuadMesh.
Or is this problem maxwell related? I noticed the same thing when i use photomatch for texturing.

Can anyone say how this works with vray?


edit: ok, problem solved... disabling texture distortions in maxwell uv export options did it. I thought this would result in distorted mapping but for now it works.

Thanks again for this incredible tool, Fredo!!!
Trimble should buy this from you as standart mapping method! 8-)
0

numerobis 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby shri » Mon Jul 16, 2012 7:02 am

many many thanks for your great tool.. :thumb:
0

shri 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby majid » Wed Jul 18, 2012 5:42 am

unique genius Fredeo!!!!! many many thank you, this is greaaat
0
My perspective shortcuts book: https://bit.ly/30Tdbce
User avatar
majid 
Top SketchUcator
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby pieterv » Wed Oct 10, 2012 9:38 am

Hey Fredo,

Thanks a lot for the great plugin! You are a hero.

I have a slight problem tho. I used your plugin and in sketchup it looks like this



but when I render it in Maxwell Render it looks like this:



The yellow stones in the little wall have become much smaller and the middle part of the street has become darker. Do you have an idea what the problem could be?

Thanks!

Pieter
0
User avatar
pieterv 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby TIG » Wed Oct 10, 2012 9:45 am

Check if the two surfaces have the material applied in a different way.
I suspect that one has the material applied to the face itself while the other has the material applied to the 'container' [group/component-instance] - check this by using 'Entity Info' and selecting the actual faces in each case - the 'mapping' cannot persist into exported formats when applied to a container rather than the face itself... Of course it might be a Maxwell issue with it mis-handing the UVmapping ?
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby thomthom » Wed Oct 10, 2012 9:46 am

Contact Maxwell support - as this is their render engine that doesn't properly process the UV mapping.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby pieterv » Wed Oct 10, 2012 11:09 am

I have checked, and the two materials are axactly the same. I have the free version of Maxwell Render, so I'll repost this under "extensions & applications". Thanks for answering!
0
User avatar
pieterv 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby thomthom » Wed Oct 10, 2012 11:30 am

I'd still recommend you contact Maxwell - as this would then be something that presumably affects all users. Reporting issues to the developers is important - otherwise it'll never get fixed.
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby cadmunkey » Sat Oct 13, 2012 1:39 pm

Is this plugin for premium members only? If I click the download icon I get a banner.png.
0

cadmunkey 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby massimo » Sat Oct 13, 2012 1:48 pm

ThruPaint is installed as part of FredoTools.. It requires LibFredo6 4.4 or above.

See the main post for this plugin for Installation of FredoTools

So you have to go to Fredo tools thread to download the plugin. Scroll down the page and you'll find it below the "download" icon.
0
User avatar
massimo 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby cadmunkey » Sun Oct 14, 2012 9:57 am

massimo wrote:
ThruPaint is installed as part of FredoTools.. It requires LibFredo6 4.4 or above.

See the main post for this plugin for Installation of FredoTools

So you have to go to Fredo tools thread to download the plugin. Scroll down the page and you'll find it below the "download" icon.


Cheers!
0

cadmunkey 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby masterpaul » Sun Jan 06, 2013 4:41 am

I cant seem to texture this irregular surface, it just wont do it, textures wont align no matter what, and they also rotated differently everywhere.

Edit: Uploaded the file also.
0
User avatar
masterpaul 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby fredo6 » Wed Jan 09, 2013 9:20 pm

masterpaul wrote:I cant seem to texture this irregular surface, it just wont do it, textures wont align no matter what, and they also rotated differently everywhere.

Edit: Uploaded the file also.

The surafce is very 'irregular' actually. Unless it is made of Quads (with Thomthom's convention), I am afraid it cannot be properly mapped with ThruPaint.
I would recommend you try with SketchUV plugin, which is more specialized in UV-mapping any kind of surface.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby masterpaul » Wed Jan 09, 2013 10:37 pm

Fredo6 wrote:
masterpaul wrote:I cant seem to texture this irregular surface, it just wont do it, textures wont align no matter what, and they also rotated differently everywhere.

Edit: Uploaded the file also.

The surafce is very 'irregular' actually. Unless it is made of Quads (with Thomthom's convention), I am afraid it cannot be properly mapped with ThruPaint.
I would recommend you try with SketchUV plugin, which is more specialized in UV-mapping any kind of surface.

Fredo

Thanks :-)
0
User avatar
masterpaul 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby Oxer » Mon Feb 04, 2013 9:49 pm

Hi Fredo,
I'm user of Thea4SU plugin and I have found a conflict with your plugin, before to install Thea4SU, ThruPaint worked fine but after, it appears this Error in Ruby Console:
Thrupaint Error.png

I don't know if you can help me, I'll comment it to Tomasz (plugin developer) too.
0
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer 
 

Re: [Plugin] FredoTools::ThruPaint 1.2a - 08 May 12

Postby fredo6 » Tue Feb 05, 2013 4:12 am

Oxer,

Thanks for signaling.

Could you type the following in the Ruby console and send me the output
Sketchup.read_default "FredoTools_ThruPaint", "Param"

Thanks

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: Demilade36, DrScout, nateVoid, THE BEAST and 13 guests

Visit our sponsors: