[Plugin][$] ThruPaint - v2.8a - 09 Nov 24
-
Fredo,
Great plugin as always.
I hate to be the first one with a troubleshooting question but it seems to take a long time loading and gets stuck or stops at 75%.
Error: #<RuntimeError: failed to import material to model> c:/users/z590-e/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:896:in
load'
c:/users/z590-e/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:896:inblock in matinfo_load_bulk' c:/users/z590-e/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:894:in
each'
c:/users/z590-e/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:894:inmatinfo_load_bulk' c:/users/z590-e/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:908:in
block in matinfo_load_bulk'` -
@gus r said:
I hate to be the first one with a troubleshooting question but it seems to take a long time loading and gets stuck or stops at 75%.
Do you have custom materials in your Sketchup environment?
-
Yes.
-
My materials are located in C:\ProgramData\SketchUp\SketchUp 2022\SketchUp. I copied those over to ...Users...\AppData... and disabled (just a random rename) the one under ProgramData and it loads. I undid the rename and it goes back to not being able to load. So it seems to be looking for materials under the Users folders. So it can read my skms but can't find them under the ProgramData directory.
Are materials/skms path dependent?
-
I sent you a PM with a version of LibFredo6 with traces.
Could you put back your materials as there were when you got the error and see in the Ruby console which material(s) is faulty.
-
That ruby wouldn't install. Tried twice. Sent you a PM with the ruby errors on the install.
-
not sure where the IMAGE_RickOBrien folder is or how to change it
also same error with the materials path. it's says the roaming profile path is the default even though the setting in SU is the ProgramData path.
error from console:
Error: #<NoMethodError: undefined method
[]' for nil:NilClass> c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:660:in
block (2 levels) in folder_sorting_all'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:660:insort!' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:660:in
block in folder_sorting_all'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:658:ineach' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:658:in
folder_sorting_all'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:884:inmatinfo_load_bulk_finish' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:875:in
matinfo_load_bulk_start'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:2342:indialog_dom_ready' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:2277:in
dialog_process_events'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_thrupaint/thrupaintmaindialog.rbe:1064:indialog_callback_exec' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_thrupaint/thrupaintmaindialog.rbe:1056:in
dialog_callback'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2428:incall' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2428:in
master_callback'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2206:inj_action' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2165:in
j_callback'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2151:inblock in j_dispatch' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2143:in
each'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2143:inj_dispatch' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:1428:in
block in create_dialog'
Error: #<NoMethodError: undefined method[]' for nil:NilClass> c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:660:in
block (2 levels) in folder_sorting_all'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:660:insort!' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:660:in
block in folder_sorting_all'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:658:ineach' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:658:in
folder_sorting_all'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:884:inmatinfo_load_bulk_finish' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:875:in
matinfo_load_bulk_start'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:2342:indialog_dom_ready' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6materialbrowser.rbe:2277:in
dialog_process_events'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_thrupaint/thrupaintmaindialog.rbe:1064:indialog_callback_exec' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_thrupaint/thrupaintmaindialog.rbe:1081:in
dialog_callback_exec'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_thrupaint/thrupaintmaindialog.rbe:1056:indialog_callback' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:646:in
call'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:646:inwonload_initial_adjust' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:667:in
wonload_sequence'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2261:inmaster_callback' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2206:in
j_action'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2165:inj_callback' c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2151:in
block in j_dispatch'
c:/users/gullf/appdata/roaming/sketchup/sketchup 2022/sketchup/plugins/fredo6_!libfredo6/body_lib6chromiumwdlg.rbe:2143:in `each'
...
-
It works but only when my materials are under ...AppData\Roaming\SketchUp\SketchUp 2022\SketchUp and not under C:\ProgramData.
-
@gullfo said:
not sure where the IMAGE_RickOBrien folder is or how to change it
The ImageRichOBrien is simply an alternate set of icons and cursors. After choosing it, you need to restart Sketchup
@gullfo said:
also same error with the materials path. it's says the roaming profile path is the default even though the setting in SU is the ProgramData path.
Do you mean that this is what you set in the Preferences dialog, Filestab, Materials?
Normally Sketchup loads all materials in ProgramData at startup. The directory you indicate for Materials in the Preference dialog is simply the folder that will open first when you load materials from the Sketchup material browser.
-
@gus r said:
It works but only when my materials are under ...AppData\Roaming\SketchUp\SketchUp 2022\SketchUp and not under C:\ProgramData.
This is where you should put your custom materials. However, you need to manually load them from the Sketchup Material Browser once.
The ProgramData directory is only for the native Sketchup materials and can be overriden at Sketchup installation.
-
@gullfo said:
not sure where the IMAGE_RickOBrien folder is or how to change it
It's an alternate icon set that you check on and restart SketchUp to activate. It is located here...
..\AppData\Roaming\SketchUp\SketchUp 2022\SketchUp\Plugins\Fredo6_ThruPaint
-
Fredo,
The top bar or title bar in the window shows up for a split second then collapses making it difficult or impossible to move the window. There's just a sliver showing up and you have to precisely click on that.
-
@gus r said:
Fredo,
The top bar or title bar in the window shows up for a split second then collapses making it difficult or impossible to move the window. There's just a sliver showing up and you have to precisely click on that.
In principle you can click within the background of the window (for instance right of the tabs) and drag the window.
-
Fredo, is it possible to have ability to see custom material collections I alreadyhave in standard material browser? Thanks
-
@rv1974 said:
Fredo, is it possible to have ability to see custom material collections I alreadyhave in standard material browser? Thanks
If you have directories with skm files (or subfolders containing skm files), you can integrate these materials to the browser, by defining
- either create a top folder as the top directory where you have your custom collections. The directory will appear at the top of the Materials hierarchy. You will be prompted to give it a friendly name.
- or put your custom materials and subfolder in the preferred Material Directory, which is C:\Users<username>\AppData\Roaming\SketchUp\SketchUp 2022\SketchUp\Material. These materials (and subfolders) will automatically load. I think it is the same for the native Sketchup Material Browser. The menu entry Open Preferred Material Directory open this directory.
Click on the menu of the browser for the two options:
-
Is it possible to get the UV without distortion on an object like this with Thrupaint? It's a pretty simple shape and I attached the skp file.
-
A cube, although simple, cannot have all its faces painted in continuity. This is just a matter of geometry.
If you wish control on where to pu the seams, then you need a texture wrapping tool (like WrapR), or a manual approach.
Also, in the case of a cube, you may want to first paint the cube, and then use FredoCorner. This gives a better management of the zones of non-continuity.
Fredo
-
Thanks Fredo. UV mapping in Sketchup is difficult sometimes even for simple forms.
I have an issue where Thrupaint is invoked when I double click on Thea Render for Sketchup materials. It oddly happens on the second attempt to change the Thea material. If I close down Thrupaint I then can't change the Thea materials unless Thrupaint is turned on. The same thing happens with Sketchup materials after this happens. The paint bucket stops working. I can then only paint an object unless Thrupaint is turned on.
-
Continuing with the Thea Render materials problem the sequence goes like this:
- Double click Thea material and apply material to object.
- Double click again to change material and Thrupaint turns on.
- Paint with Thea material using Thrupaint and it changes.
- Then when I try to paint the object using the Paint Bucket tool it does not change.
- After that I can only change the material through Thrupaint.
I can't change the material in a grouped object unless I use Thrupaint. This only happens in groups. I haven't tried a component yet. Either way I go back to the Thea materials and Thrupaint gets turned on at a second material change.
-
This is due to a feature part of ThruPaint: when the native Bucket tool is active and you call it again (say typing B and then B) you start ThruPaint.
With ThruPaint v2.1b (just published), it is now an option, and the default is that it is not enabled.
Thanks to confirm this is now OK with Thea.
Advertisement