SketchUcation Premium Membership

 

 

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

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby rv1974 » Sun Apr 15, 2012 12:19 pm

Fredo this is yet another pearl!
A couple of questions\wishes:
1/ How could I get back the native Alt-key eyedropper?
2/ How to correct the UVW mapping on the surface #1 (see attached)?
3/ If only the Thrupaint could bend the textures along selected curves (AB) (upon unquadrified surfaces (#2) it'd really amazing!
---
Thank you for your efforts!
Please, register (free) to access all the attachments on the forums.
rv1974
 
Posts: 523
Joined: Tue Nov 13, 2007 11:38 am
Name: rv1974
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby fredo6 » Sun Apr 15, 2012 2:57 pm

rv1974 wrote:1/ How could I get back the native Alt-key eyedropper?

You can call the native Paint Tool from ThruPaint (key F9 or small button on the right of palette).
SU Env native.png

There is a sampler in ThruPaint (press Enter when you mouseover a face), but it is restricted to the model and does not detect projected textures, as this is not available from Ruby.
Sampler ThruPaint.png

rv1974 wrote:2/ How to correct the UVW mapping on the surface #1 (see attached)?

Unfortunately, this is not possible, because Sketchup uses only Perspective mapping, not bilinear mapping.
Perspective mapping.png

This perspective effect is attenuated if you grid the face into smaller cells (quads or triangles), for instance with Curviloft.
Road ThruPaint.jpg


rv1974 wrote:3/ If only the Thrupaint could bend the textures along selected curves (AB) (upon unquadrified surfaces (#2) it'd really amazing!

I will need to find or develop a small algorithm for quadifying a face nicely. Then you are back to case 2) above. But with a mesh which is dense enough it should work.
Please, register (free) to access all the attachments on the forums.
fredo6
Top SketchUcator
 
Posts: 1676
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby rv1974 » Sun Apr 15, 2012 6:06 pm

what a comprehensive support! Frankly I don't deserve it )
The last sentence improvement would be a killer!
Thank you so much!
rv1974
 
Posts: 523
Joined: Tue Nov 13, 2007 11:38 am
Name: rv1974
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby Pilou » Sun Apr 15, 2012 6:28 pm

I will need to find or develop a small algorithm for quadifying a face nicely.

QuadfaceTools by Thomthom ?
Or the quadrilaterizer by TiG ?
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10078
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby fredo6 » Sun Apr 15, 2012 9:20 pm

rv1974 wrote:what a comprehensive support! Frankly I don't deserve it )

Just to be clearer, the density of the mesh is the only way to get the texture 'reasonably' distorted. When quads are too much like a triangle, the perspective distortion shifts the texture mapping.
Asphalt 1.png


In the case of your texture, that may help to do the trick, but it's a pity to have to generate so many faces
Asphalt 2.png


@Pilou
It is not so easy to generate the right mesh in the general case (and in this particular case).
Asphalt Quadrilaterizer.png


...and QuadFaceTools only manages quad meshes which it can triangulate, but not any polygon.

I think Whaat has developed an more adapted algorithm as part of SketchUV.

Fredo
Please, register (free) to access all the attachments on the forums.
Last edited by fredo6 on Sun Apr 15, 2012 9:30 pm, edited 4 times in total.
fredo6
Top SketchUcator
 
Posts: 1676
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby Pilou » Sun Apr 15, 2012 9:21 pm

La quadrature du cercle alors! ;)
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10078
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby alvis » Mon Apr 16, 2012 7:53 am

Thank you very very very very much. :berserk:
User avatar
alvis
Premium Member
Premium Member
 
Posts: 235
Joined: Wed Mar 18, 2009 8:30 pm
Location: Lithuania
Name: Alvydas
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: woodworking
Level of SketchUp: Intermediate

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby tina0603 » Mon Apr 16, 2012 8:11 am

thanks!!!!
tina0603
 
Posts: 2
Joined: Sat Jan 23, 2010 10:45 am
Name: jack

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby Pherim » Mon Apr 16, 2012 7:20 pm

Absolutely stunning! One of the best plugins I have seen so far (besides your others)! I think I will never use the native paint tool again.

And it's free! You are amazing! :berserk:
Pherim
 
Posts: 41
Joined: Sat Jun 12, 2010 8:40 am
Location: Germany

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby wolfy » Tue Apr 17, 2012 5:20 am

Fredo6 wrote:@wolfi,

It might be a conflict with another plugin, which you would not have in the PC at the office.
Do you have any plugins dealing with materials or UV mapping?

For this, ould you type in the Ruby Console Sketchup::Material.instance_methods.join("\n") and advise on what it returns.

Thanks

Fredo


Fredo,
Entered your code into ruby console and it returned the following (sorry in advance for the length):

dclone
write_thumbnail
profile_member?
methods
attribute_dictionaries
get_attributes
remove_observer
instance_variable_defined?
taint
name
name=
__id__
set_attribute
singleton_methods
respond_to?
entityID
nil?
__send__
protected_methods
get_attribute
tainted?
display_name
untaint
instance_of?
typename
equal?
method
hash
private_methods
attribute_dictionary
send
materialType
kind_of?
freeze
eql?
object_id
has_attributes?
id
public_methods
instance_eval
deleted?
is_a?
delete_attribute
type
valid?
instance_variables
use_alpha?
frozen?
alpha
to_a
alpha=
class
<=>
instance_variable_get
==
between?
===
parent
color
to_s
extend
>=
<=
color=
clone
instance_variable_set
=~
<
>
model
texture
inspect
texture=
display
add_observer
dup
wolfy
 
Posts: 46
Joined: Tue Oct 07, 2008 5:45 am

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby SpookyChick1013 » Tue Apr 17, 2012 11:26 am

Thank You Fredo. This looks like the answer to many of my prayers. Looks like it shall be an interesting week, finally revising some old projects.
SpookyChick1013
 
Posts: 53
Joined: Fri Jun 04, 2010 2:46 pm
Location: Someplace Dry in the western hemisphere
Name: Cathryn
Operating system: Windows
SketchUp version: 7
License type: Free/Make
SketchUp use: game and/or sci-fi modelling
Level of SketchUp: Intermediate

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby cmoreink » Tue Apr 17, 2012 2:07 pm

Amazing plugin Mr. Fredo! Thank you so much for all your plugins and hard work. Can't call you a G.O.D. but you are sitting right next to him ;)
cmoreink
 
Posts: 137
Joined: Wed Jan 13, 2010 5:19 pm
Location: Lublin, Poland
Name: Pawel

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby pep75 » Wed Apr 18, 2012 3:51 pm

Jiiiiiihhhaaaaaaaaaaaaaaa!!!!!!! :oops:
pep75
 
Posts: 87
Joined: Mon May 05, 2008 1:14 pm

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby Pherim » Wed Apr 18, 2012 6:56 pm

Played around with it for quite some time now and still I am amazed about what this plugin can do.

If I may ask, would it be possible to add an option that allows to chose the scale of the texture before applying it and then keep that value until it is changed? That would save a lot of time in comparison to changing the scale of each texture manually after it was applied.
Pherim
 
Posts: 41
Joined: Sat Jun 12, 2010 8:40 am
Location: Germany

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby fredo6 » Wed Apr 18, 2012 8:38 pm

Pherim wrote:Played around with it for quite some time now and still I am amazed about what this plugin can do.

If I may ask, would it be possible to add an option that allows to chose the scale of the texture before applying it and then keep that value until it is changed? That would save a lot of time in comparison to changing the scale of each texture manually after it was applied.

That's a good idea, but I would put it as an option.
Note you can also change the material definition (i.e. the dimensions).

Fredo
fredo6
Top SketchUcator
 
Posts: 1676
Joined: Mon Nov 12, 2007 9:07 pm

Re: [Plugin] FredoTools::ThruPaint 1.0m - 14 Apr 12

Postby Pherim » Wed Apr 18, 2012 9:41 pm

Fredo6 wrote:Note you can also change the material definition (i.e. the dimensions).


Of course you can but often enough I have a model where I wish to use the same material in different scales and having an option to choose a different scale before applying a material would be great!
Pherim
 
Posts: 41
Joined: Sat Jun 12, 2010 8:40 am
Location: Germany

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

Postby fredo6 » Sat Apr 21, 2012 7:51 pm

NEW RELEASE: ThruPaint v1.0n - 21 Apr 12

This update introduces 2 functional evolutions

1) Painting of a preselection of faces or edges
If you select faces or edges before launching ThruPaint, the painted faces or edges will be those of the preselection whenever you mouse over them (regardless of the face selection settings in the palette).
  • When the material is a color or for edge painting, the painting applies to the whole pre-selection
  • When the material is a texture, you have to paint by groups of faces in the preselection
ThruPaint Initial Selection.gif


2) Remembering of last scaling and rotation factors by material.
This is inspired from a request by Pherim

If you apply a textured material to a face and then scale it and/or rotate it, the scaling and rotation factors will be remembered the next time you apply this material.
Likewise, the sampling of material within the model also copy the scaling and rotation factors.
ThruPaint Keep Transfo.gif


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

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

Fredo
Please, register (free) to access all the attachments on the forums.
Last edited by fredo6 on Tue May 08, 2012 10:59 pm, edited 1 time in total.
fredo6
Top SketchUcator
 
Posts: 1676
Joined: Mon Nov 12, 2007 9:07 pm

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

Postby Krisidious » Sat Apr 21, 2012 7:55 pm

Remembering of last scaling and rotation factors by material.


OH MY... :berserk: AWESOMENESS.... :berserk:
Kristoff Rand
Home Designer
Custom House Plans with a Point of View
User avatar
Krisidious
 
Posts: 3285
Joined: Mon Oct 22, 2007 1:52 pm
Location: Springfield, Missouri. USA
Name: Krisidious
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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

Postby Pilou » Sat Apr 21, 2012 8:53 pm

About the first option
Yet existing for a multiple selection with normal use of SU?
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
Pilou
Top SketchUcator
 
Posts: 10078
Joined: Wed Jan 23, 2008 10:33 pm
Operating system: Windows
SketchUp version: 6
License type: Free/Make
SketchUp use: hobby
Level of SketchUp: Advanced

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

Postby jorge2011 » Sun Apr 22, 2012 2:17 pm

fredo, thank you very much for this new update.

A query. Is possible to copy the material properties (rotation, scale, etc ...) and paste those properties to other faces?
jorge2011
 
Posts: 156
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

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

Postby EarthMover » Sun Apr 22, 2012 3:21 pm

Great update Fredo! This was my only issue with the tool. Now it is perfection!
A designer is an emerging synthesis of artist, inventor, mechanic, objective economist and evolutionary strategist. - R. Buckminster Fuller
Some of my 3D crap
User avatar
EarthMover
Top SketchUcator
 
Posts: 1792
Joined: Fri Sep 12, 2008 9:06 pm
Location: Eastern Pennsylvania
Name: Adam Hails

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

Postby fredo6 » Sun Apr 22, 2012 6:13 pm

jorge2011 wrote:fredo, thank you very much for this new update.

A query. Is possible to copy the material properties (rotation, scale, etc ...) and paste those properties to other faces?

You have the transfer UV mode, which allows to substitute a texture by another without changing the UVs.

Otherwise, if the faces are adjacent to the painted faces, just click and drag to extend the painting.

Fredo
fredo6
Top SketchUcator
 
Posts: 1676
Joined: Mon Nov 12, 2007 9:07 pm

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

Postby thomthom » Sun Apr 22, 2012 9:44 pm

jorge2011 wrote:A query. Is possible to copy the material properties (rotation, scale, etc ...) and paste those properties to other faces?

If the mesh is made out of Quads you can use QuadFace Tools to copy and paste UV mapping.
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom
Global Moderator
 
Posts: 17673
Joined: Tue Nov 13, 2007 12:47 pm
Location: Trondheim, Norway
Name: thomthom
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: architecture
Level of SketchUp: Advanced

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

Postby jorge2011 » Sun Apr 22, 2012 11:39 pm

thank you very much
jorge2011
 
Posts: 156
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

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

Postby jorge2011 » Mon Apr 23, 2012 1:36 am

can be applied a methodology similar to native sketchup materials, using the "Alt" to copy the properties of a material?
jorge2011
 
Posts: 156
Joined: Thu Jun 02, 2011 5:01 pm
Name: jorge2011
Operating system: Windows
SketchUp version: 7
License type: Pro
SketchUp use: architecture
Level of SketchUp: Intermediate

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

Postby fredo6 » Mon Apr 23, 2012 6:21 am

jorge2011 wrote:can be applied a methodology similar to native sketchup materials, using the "Alt" to copy the properties of a material?

We cannot use ALT in scripts because when the key is UP it gives focus to the main Sketchup menu.
But I can do it on Shift

Note that you can also press the Enter key to sample the material under the mouse

Fredo
fredo6
Top SketchUcator
 
Posts: 1676
Joined: Mon Nov 12, 2007 9:07 pm

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

Postby Ken » Mon Apr 23, 2012 1:11 pm

Fredo

I have updated as required Fredo Tools to 1.1n and Thru:Paint to 1.0n, however the Check Plugin for Updates still list the two programs as Fredo Tools as 1.1m and Thru:Paint as 1.0m.

Am I making a mistake, or is the new programs not registering correctly?


Thanks

Ken
Government rushes to help the irresponsible and does little for the responsible.
User avatar
Ken
Premium Member
Premium Member
 
Posts: 708
Joined: Thu Nov 15, 2007 1:38 pm
Location: Fort Mill, SC
Operating system: Windows
SketchUp version: 8
License type: Pro
SketchUp use: engineering and mechanical design
Level of SketchUp: Advanced

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

Postby Oxer » Mon Apr 23, 2012 1:36 pm

Hi Fredo, i'm testing the last revision of ThruPaint 1.0n on Mac (OSX 10.6.8 & SU8) all works fine except that you say in the main post about Material Selector but i have found other problem the arrows don't work on Mac, it is not a big problem because i can introduce the values through the Measures or Visual Edition Mode.
Thanks for this great plugin!! :thumb:
"The result is the end what is important is the process" by Oxer
http://www.oxervision.blogspot.com/
User avatar
Oxer
 
Posts: 159
Joined: Thu Sep 10, 2009 1:13 am
Location: Benavente, Spain
Name: Oscar
Operating system: Mac
SketchUp version: 8
License type: Pro
SketchUp use: illustration, cartoons
Level of SketchUp: Advanced

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

Postby fredo6 » Mon Apr 23, 2012 4:14 pm

Oxer wrote:Hi Fredo, i'm testing the last revision of ThruPaint 1.0n on Mac (OSX 10.6.8 & SU8) all works fine except that you say in the main post about Material Selector but i have found other problem the arrows don't work on Mac, it is not a big problem because i can introduce the values through the Measures or Visual Edition Mode.
Thanks for this great plugin!! :thumb:

Oxer,

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

Thanks

Fredo
fredo6
Top SketchUcator
 
Posts: 1676
Joined: Mon Nov 12, 2007 9:07 pm

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

Postby Pherim » Mon Apr 23, 2012 4:34 pm

This is really great, thank you for fulfilling my request!

It works great, just how I wanted it to. [[Just one small thing: It would be perfect to me if the "sample material" tool could also adopt the scale of the sampled material.
I hope I don't bother you with my daydreams... :roll:]] edit: never mind, it works perfectly! :thumb:
Last edited by Pherim on Mon Apr 23, 2012 5:00 pm, edited 1 time in total.
Pherim
 
Posts: 41
Joined: Sat Jun 12, 2010 8:40 am
Location: Germany

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago

Need Authorised SketchUp Training by experts in various disciplines? Check out our Training details.

Ad Machine
Robot
 
Posts: 2012

PreviousNext

Return to Plugins

Who is online

Users browsing this forum: asep3suryana, bytor, gerciowski, moritard, rodman100, vantin and 11 guests