by 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: 173
- Joined: Sat Jun 12, 2010 8:40 am
- Location: Germany
- Name: Pherim
- Operating system: Windows
- SketchUp version: 2016
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
by fredo6 » Sat Apr 21, 2012 7:51 pm
NEW RELEASE: ThruPaint v1.0n - 21 Apr 12This update introduces 2 functional evolutions 1) Painting of a preselection of faces or edgesIf 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 PherimIf 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
Last edited by fredo6 on Tue May 08, 2012 10:59 pm, edited 1 time in total.
-

fredo6
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by Krisidious » Sat Apr 21, 2012 7:55 pm
Remembering of last scaling and rotation factors by material.
OH MY...  AWESOMENESS.... 
-

Krisidious
-
- Posts: 6048
- Joined: Mon Oct 22, 2007 1:52 pm
- Location: Springfield, Missouri. USA
- Name: Krisidious
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
-
by pilou » Sat Apr 21, 2012 8:53 pm
About the first option Yet existing for a multiple selection with normal use of SU?
-

pilou
- Top SketchUcator
-
- Posts: 21116
- Joined: Wed Jan 23, 2008 10:33 pm
- Name: Pilou
- Operating system: Windows
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
-
by 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: 159
- 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
by EarthMover » Sun Apr 22, 2012 3:21 pm
Great update Fredo! This was my only issue with the tool. Now it is perfection!
3D Artist at Clearstory 3D Imaging Guide Tool at Winning With Sketchup Content Creator at Skapeup
-

EarthMover
- Premium Member

-
- Posts: 1801
- Joined: Fri Sep 12, 2008 9:06 pm
- Location: Eastern Pennsylvania
- Name: EarthMover
- Operating system: Windows
- SketchUp version: 2016
- License type: Pro
- SketchUp use: landscape architecture
- Level of SketchUp: Advanced
-
by 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
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by 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.
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by jorge2011 » Sun Apr 22, 2012 11:39 pm
thank you very much
-
jorge2011
-
- Posts: 159
- 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
by 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: 159
- 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
by 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
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by 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
Fight like your the third monkey on Noah's Ark gangway.
-

ken
- Premium Member

-
- Posts: 1030
- Joined: Thu Nov 15, 2007 1:38 pm
- Location: Fort Mill, SC
- Name: Ken
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: engineering and mechanical design
- Level of SketchUp: Advanced
by 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!! 
-

Oxer
-
- Posts: 468
- Joined: Thu Sep 10, 2009 1:13 am
- Location: Benavente, Spain
- Name: Oscar
- Operating system: Mac
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: illustration, cartoons
- Level of SketchUp: Advanced
-
by 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!! 
Oxer, Did it work in previous versions? Or other Mac OS versions? Thanks Fredo
-

fredo6
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by 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...  ]] edit: never mind, it works perfectly! 
Last edited by Pherim on Mon Apr 23, 2012 5:00 pm, edited 1 time in total.
-
Pherim
-
- Posts: 173
- Joined: Sat Jun 12, 2010 8:40 am
- Location: Germany
- Name: Pherim
- Operating system: Windows
- SketchUp version: 2016
- License type: Free/Make
- SketchUp use: hobby
- Level of SketchUp: Advanced
by 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.
-

Oxer
-
- Posts: 468
- Joined: Thu Sep 10, 2009 1:13 am
- Location: Benavente, Spain
- Name: Oscar
- Operating system: Mac
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: illustration, cartoons
- Level of SketchUp: Advanced
-
by 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
-

fredo6
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by Oxer » Mon Apr 23, 2012 11:44 pm
This is the result in the Ruby Console: Ruby Console.jpg
-

Oxer
-
- Posts: 468
- Joined: Thu Sep 10, 2009 1:13 am
- Location: Benavente, Spain
- Name: Oscar
- Operating system: Mac
- SketchUp version: 2017
- License type: Free/Make
- SketchUp use: illustration, cartoons
- Level of SketchUp: Advanced
-
by 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.
-
moghamdi
-
- Posts: 30
- Joined: Wed Jul 30, 2008 9:08 pm
by 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
-

fredo6
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by 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
-

fredo6
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by 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'
TIG
-

TIG
- Global Moderator
-
- Posts: 20275
- Joined: Mon Nov 12, 2007 7:24 pm
- Location: Northumbria UK
- Name: TIG
- Operating system: Windows
- SketchUp version: 2021
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by 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.... 
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by 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
-

fredo6
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by 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...
-

thomthom
- PluginStore Author

-
- Posts: 19478
- Joined: Tue Nov 13, 2007 12:47 pm
- Location: Trondheim, Norway
- Name: Thomas Thomassen
- Operating system: Windows
- SketchUp version: 2019
- License type: Pro
- SketchUp use: other
- Level of SketchUp: Advanced
-
by redog » Wed Apr 25, 2012 11:12 pm
-
redog
-
- Posts: 1
- Joined: Tue Nov 17, 2009 1:13 pm
- Location: roma
- Name: redog
- Operating system: Windows
- SketchUp version: 2020
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by moghamdi » Thu Apr 26, 2012 1:55 am
This is the result in the Ruby Console: I have Sketchup 8 Pro
-
moghamdi
-
- Posts: 30
- Joined: Wed Jul 30, 2008 9:08 pm
by fredo6 » Tue May 08, 2012 10:06 pm
NEW RELEASE: ThruPaint v1.2a - 08 May 12This update fixes some bugs and introduces 2 functional evolutions 1) Painting of components / groups, text labels and dimensionsThis 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 SamplerIf 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
-

fredo6
- PluginStore Author

-
- Posts: 4313
- Joined: Mon Nov 12, 2007 9:07 pm
- Location: France
- Name: Fredo6
- Operating system: Windows
- SketchUp version: 2018
- License type: Pro
- SketchUp use: interior design
- Level of SketchUp: Intermediate
by tomislavm » Mon May 28, 2012 10:06 am
Thank You.
-
tomislavm
-
- Posts: 430
- Joined: Wed Nov 21, 2007 9:35 am
- Location: Croatia,Osijek
- Operating system: Windows
- SketchUp version: 8
- License type: Free/Make
- SketchUp use: historical reconstruction
- Level of SketchUp: Advanced
by 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! 
-
numerobis
-
- Posts: 823
- Joined: Sat Apr 12, 2008 1:27 pm
- Location: Germany
- Operating system: Windows
- SketchUp version: 2015
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Advanced
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|