by TIG » Sat Dec 18, 2010 10:36 am
IMPORTANT NOTICE! There has been a lone report of these tools not working - with a '.jar' file 'opening' rather than 'running'! Many of these tools use small Java '.jar' executable files that do specific tasks like zip/unzip and image manipulation. I have found that I can reproduce this weirdness IF I let a 'zip/unzip' application like AlZip or WinRar 'poach' the '.jar' file-type as one that it will open. If so then when Ruby tries to 'open' a '.jar' file instead of it 'executing' in Java [like it should], it 'opens' in the decompression application... The solution = look at your WinRar etc settings and ensure '.jar' is NOT one of its file-types for opening... 
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Mon Dec 20, 2010 10:31 pm
Here's an update viewtopic.php?p=293677#p293677A stupid typo preventing ImageTrimmer working properly on MAC is now corrected. 
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Tue Dec 21, 2010 9:08 pm
Here's an update viewtopic.php?p=293677#p293677The time-out for ImageTrimmer file creation extended to 60secs to cater for larger files being slow to complete...
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Wed Dec 22, 2010 1:25 pm
Here's an update viewtopic.php?p=293677#p293677Some scripts have been recast to address glitches with MAC file paths. Everyone should update to these new versions...
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Wed Dec 22, 2010 9:52 pm
Here's another update viewtopic.php?p=293677#p293677ImageTrimmer time-out for larger .dat files extended, EdgeDetector.jar improved...
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Wed Jan 05, 2011 10:04 am
Here's an update - some minor issues fixed... viewtopic.php?p=293677#p293677
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Wed Jan 05, 2011 2:52 pm
Here's another update - ImageTrimmer processing speed has been improved and 'hanging' is now much less likely... viewtopic.php?p=293677#p293677
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 Ben Ritter » Wed Jan 05, 2011 3:45 pm
Thank you TIG
-
Ben Ritter
-
- Posts: 468
- Joined: Wed Nov 14, 2007 4:55 pm
- Name: Ben Ritter
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by TIG » Thu Jan 06, 2011 12:04 pm
Here's another update viewtopic.php?p=293677#p293677The Image and Material class extended methods will now only load if not already defined by SUp itself [==future-proofing since there's no medium-term hope of them doing this themselves?].
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Tue Jan 11, 2011 10:50 am
Here's an update viewtopic.php?p=293677#p293677ImageTrimmer - glitches with simplify etc addressed and speed improved.
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Sun Jan 16, 2011 1:54 pm
Here's an update viewtopic.php?p=293677#p293677Following the inclusion of mew methods in SUp's v8-M1... Material.class extensions - aliases added for save_thumbnail()==.write_thumbnail() and .delete==.remove. The .name='' and .delete methods now match SUp >=v8-M1 returned values. To allow the methods to work in pre-v8-M1 SUp versions... with the new SUp method names / syntax.
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Sun Jan 16, 2011 2:39 pm
Here's another update viewtopic.php?p=293677#p293677Following the inclusion of mew methods in SUp's v8-M1... Material.class extensions - aliases added for save_thumbnail()==.write_thumbnail() and .delete==.remove. The .name='' and .delete methods now match SUp >=v8-M1 returned values. To allow the methods to work in pre-v8-M1 SUp versions... with the new SUp method names / syntax. The 'aliases' have be slightly recast to avoid removing the new methods.
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Thu Jan 20, 2011 12:22 pm
Here's an update viewtopic.php?p=293677#p293677The ImageTrimmer tool has an added option to 'flatten' the new materia's texture PNG [i.e. remove its transparency] so that it will then receive shadows. Note that there is also a new jar FlattenPNG.jar that is used to do this.
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Fri Jan 21, 2011 1:58 pm
Here's an update viewtopic.php?p=293677#p293677A new tool has been added 'pngwhite2transparent.rb' and its matching jar file. See its new thread for more details...
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 Mr Tee » Fri Jan 21, 2011 2:28 pm
Thanks alot TIG!
-
Mr Tee
-
- Posts: 21
- Joined: Tue Oct 19, 2010 1:37 pm
by TIG » Fri Jan 21, 2011 7:14 pm
Here's an minor update viewtopic.php?p=293677#p293677The new tool 'pngwhite2transparent.rb' transparent color made by the .jar file is now 'white' [although you don't see it!]. See its new thread for more details...
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Tue Jan 25, 2011 11:12 am
Here's an minor update viewtopic.php?p=293677#p293677For ImageTrimmer - 'Simplified image' - a rare error on delete edge is now trapped.
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Sun Feb 13, 2011 3:40 pm
Here's a major update viewtopic.php?p=293677#p293677The MAC execution of the jar files has been addressed - it affects most tools/methods. You need Java installed/enabled and appropriate permissions to execute files and read/write to the ../Plugins/SKMtools folder. On a MAC you might be prompted to allow a jar file to run - if so answer 'yes' - this should only get asked the once for each jar-type... 
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 TIG » Fri Feb 25, 2011 12:56 pm
Here's an update viewtopic.php?p=293677#p293677 which fixes a minor glitch with the ImageAnimationAppObserver - it was working OK but could sometimes give spurious error messages in an open Ruby Console until this fix...
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 Adasiekkk » Sat Apr 09, 2011 2:36 pm
Hi! Congrats on an amazing plugin, but there is one major issue I have. When I decide to undo the previous action (Ctrl+Z or Edit->Undo), in the place where animation was I now have all pictures tiled next to each other.
Thanks, Adam
-
Adasiekkk
-
- Posts: 1
- Joined: Sun Apr 03, 2011 4:04 pm
by TIG » Sat Apr 09, 2011 10:12 pm
Rather than try to undo Image Animations you must just stop all animations. To get back to an original Imgage's start-frame you need to start that individual Image's animation... angd then stop it when the frame you want appears...
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 billberet » Wed Nov 30, 2011 3:56 pm
hey everyone. I am new to this forum so please be gentle. i just built my first maker-bot and it is working great printing all my 3d models.
i have installed google sketchup, free version, v8 i installed the plugin, and everything is fine so far. i have the image trimmer menu item under the tools dropdown.
so i want to create a 3d model of a 2d image. i import a greyscale .png file with transparencies, then i run the IMAGE TRIMMER plugin. when i do this, i get the notifications on the bottom saying 'making edges files' the dots scroll as it processes ...............
then that's it, the process finishes and nothing happens. i am running on a win7 machine 64bit.
does anyone have any ideas that can point me in the right direction?
thanks again bill
-
billberet
-
- Posts: 2
- Joined: Wed Nov 30, 2011 3:44 pm
- Name: bill
by TIG » Wed Nov 30, 2011 8:42 pm
Billberet
Read back through the posts... esp. about ensuring Java, and thereby .jar files, are enabled, AND that the .jar extension isn't hijacked by a compression app. Also see a recent post about how a PNG Image must have solid and transparent areas - otherwise semi-transparent areas are taken as transparent too...
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 billberet » Wed Nov 30, 2011 10:04 pm
thanks, just had to right click, run as administrator!!! then poof, i had access to the jar files!!!!
thanks again -bb
-
billberet
-
- Posts: 2
- Joined: Wed Nov 30, 2011 3:44 pm
- Name: bill
by marchorg » Sat Jan 21, 2012 3:31 pm
Hi,
Trimmer appears in the tools menu. I use the french version. I import a PNG image "use as image" (Utiliser comme image) in sketchup 8.
While the image still selected I select "Trimmer" but nothing seems to happen.
Any help welcome,
Kind regards
Marc
-
marchorg
-
- Posts: 3
- Joined: Mon Sep 19, 2011 1:19 pm
- Name: marchorg
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: hobby
- Level of SketchUp: Intermediate
by TIG » Sat Jan 21, 2012 6:42 pm
Have you installed all of the files in the subfolder as they come packaged in the zip file ? The imported Image MUST be a PNG file, and have a transparent background [note semi-transparent pixels within the image are regarded as 'to be removed' too... so edit the image file before importing it; flatten it, add a transparent layer back, pick the background color[s] using a magic-wand and delete those pixels so the background shows as fully transparent, tidy up loose pixels, very thing parts etc, save it and import!]. The PNG Image needs to be a reasonable size... Do you get error messages in the Ruby Console. Is Java properly enabled on your computer [Control-panel > Java] ? Are .jar files set to be be allowed to execute locally ? Are .jar files associated with Java and not erroneously with some 'Compression' software ? Do you have full-permissions to your Plugins folder and all of its subfolders ? Do you have access-permissions to execute the '.jar' files needed to process the image ? Is anything made in a subfolder in the folder with the SKP - if so what ? Have you tried running Sketchup as administrator ? There are many possibilities. If you real the posts in this thread you will see the list of mess ups. and how fixing the issues, that has allowed every user to get things working properly [eventually]... 
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 marchorg » Sat Jan 21, 2012 9:31 pm
I tried to make Java the default program to open .jar files. Got an error message. I tried to open Sketchup as administrator. The trimmer seemed to fail once but did work the second time ? Anyway it did work! Thank you very much for your help Marchorg
-
marchorg
-
- Posts: 3
- Joined: Mon Sep 19, 2011 1:19 pm
- Name: marchorg
- Operating system: Windows
- SketchUp version: 8
- License type: Pro
- SketchUp use: hobby
- Level of SketchUp: Intermediate
by pbacot » Wed Feb 08, 2012 7:32 am
I wonder if anyone can tell what I am doing wrong with Image Trimmer.
If I run the image in the attached SU file. I get a component. Image Trimmer seems to complete all operations. But the component is just a few scattered dots. The rest of the image is gone.
MacOSX Mojave High Sierra SketchUp Pro v19 Twilight v2 Thea v2 PowerCADD
-

pbacot
- Top SketchUcator
-
- Posts: 6697
- Joined: Sun Jul 20, 2008 7:26 pm
- Location: Sonoma
- Name: pbacot
- Operating system: Mac
- SketchUp version: 2016
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by TIG » Wed Feb 08, 2012 10:22 am
It's useful if you supply the original Image file too... For some reason it's failing to make a proper loop of the main 'face' - there a one pixel gap in the crook of her arm/hand [also a non-transparent white gap between the hands that needs sorting]... Capture.PNG To fix this, edit the component. Edit > Select-All Entity Info > untick 'hidden' so that all edges are now visible. Draw in some large diagonals and make faces [as above]. You can quickly zoom into the problem area. Add in the missing edge to heal that gap and make all needed faces. To tidy up, use a 'DeleteCoplanarEdges' tool to remove the diagonal lines you've just added - or Erase them. Now open the Material Browser and find the image-material. Paint it onto the front AND back faces of the now-faced cutout. Select-All again, and deselect the Faces - either using a 'SelectionTool' or by holding ctrl+shift and clicking on the face[s]. Use the Context-menu to Hide the still selected Edges. I'm unsure as to why it can't cope with this particular image - that one pixel seems to have scuppered it ! Perhaps editing the Image in Gimp osa would reveal an odd combo of solid and transparent pixels around this area - the simpler the PNG Image's outline is then the less prone ImageTrimmer is to errors Capture2.PNG Shown here with all edges still unhidden for clarity... EDIT:I've edited the exported Image and made that 'crook' less sharp, also tidied up hair/hands, cropped it to optimize its size etc; Re-imported it etc... Now it ImageTrims quickly and faultlessly... Capture3.PNG ImgTrimRedo.skp
TIG
-

TIG
- Global Moderator
-
- Posts: 20265
- 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 pbacot » Wed Feb 08, 2012 4:18 pm
TIG,
Thank you so much for the explanation. I thought it was something more basically wrong with my usage. I did see that some of the shape could close and not other parts, and applied the texture but it looked wrong and I felt I was going the wrong direction with this.
After previous tries I took the image into GIMP and applied a solid mask of the shape,looked for holes and flattened, trimmed again, and still got the result you saw. I now know that it WILL work but may need to reprocess some shapes further. The original image had a lot of translucent pixels in that crook area. Some GIMP process to make hard and simplified edges would help. I see you were able to put back in some of the holes, which I had filled, thinking they were part of the problem.
Excellent plugin! Sorry I was such a bother.
Peter
MacOSX Mojave High Sierra SketchUp Pro v19 Twilight v2 Thea v2 PowerCADD
-

pbacot
- Top SketchUcator
-
- Posts: 6697
- Joined: Sun Jul 20, 2008 7:26 pm
- Location: Sonoma
- Name: pbacot
- Operating system: Mac
- SketchUp version: 2016
- License type: Pro
- SketchUp use: architecture
- Level of SketchUp: Intermediate
by Ad Machine » 5 minutes ago
-
Ad Machine
- Robot
-
- Posts: 2012
-
Return to Plugins
|