[Plugin] Silhouette to Plane v1.1
32 posts
• Page 1 of 2 • 1, 2
[Plugin] Silhouette to Plane v1.1(c) TIG 2010
Permission to use, copy, modify, and distribute this software for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ___________________________________________________________________________ You need this file #SilhouetteToPlane.rb >>> Plugins Folder You must also have this file #WorkPlane.rb >>> Plugins Folder ___________________________________________________________________________ Usage: Make or choose a 'WorkPlane' that is located on the 'plane' onto which you want to project your 'flattened' Geometry. Select the 'WorkPlane' and the required Geometry [Edges etc, note that Faces etc will be ignored], and/or Groups, and/or Component_Instances. Run this Tool from the menu 'Plugins' > 'Silhouette to Plane' or type 'silhouettetoplane' in the Ruby Console. If there is no 'WorkPlane' and/or other objects in the Selection you get an error message. Assuming it runs... All Edges in the Selection that are not 'hidden' or not on 'off layers' are projected onto that 'plane'. The new 'flattened' Edges are put into a new Group named 'SIL_123456.789' [it has a 'date/time' suffix]. Each new Edge takes the original Edge's layer. The new Edges are inspected and only those that are needed to form a fully faced 'silhouette' WITHOUT cut-outs are retained. With this version internal 'hole' cut-outs in silhouettes are NOT formed. On completion the new Group ['SIL_123456.789'] is left highlighted. ___________________________________________________________________________ Donations: by PayPal to info @ revitrev.org ___________________________________________________________________________ Version: 1.0 20101022 First release. 1.1 20101023 The correct Plane of a 'WorkPlane' is now used even if it has been Transformed inside its own Group. Speed and reliability improved. Title fixed. ___________________________________________________________________________ TIG
Re: [Plugin] Silhouette to Planevery good idea TIG! Although, I am getting some errors here - with a single loop of edges it works fine, but for several faces it gets messed up:
btw, would it be possible to have the projection lines run all to the same focal point, similar to Radial Lines plugin? Like this we could also have a flattened picture of a perspective view. Re: [Plugin] Silhouette to PlaneThis is the first [buggy] release!
Can you post and example SKP so that I can see the errors... TIG
Re: [Plugin] Silhouette to PlaneSU 7.1 on Vista, have tons of plugins but only one error so far (wxfsu) ...
Re: [Plugin] Silhouette to PlaneTIG, How many plugin, and point releases are you currently averaging? 1 a week?-)
And, you still find time to help us. Thanks!!!!!
Re: [Plugin] Silhouette to Plane
1 a day is more appropriated ![]() Is beautiful that please without concept!
My Little site :)
Re: [Plugin] Silhouette to PlaneHi TIG,
I suggest you change line #63 to: @model.start_operation("Silhouette to Plane") ![]() Thanks for all your hard work ! Didier Bur
Re: [Plugin] Silhouette to Plane v1.1Here's v1.1 viewtopic.php?p=281445#p281445
The correct Plane of a 'WorkPlane' is now used even if it has been Transformed inside its own Group. Speed and reliability improved. Title fixed. TIG
Re: [Plugin] Silhouette to Plane v1.1Great Script!
![]() 3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup Content Creator at Skapeup
Re: [Plugin] Silhouette to Plane v1.1
You could always make a quick WorkPlane on the ground... TIG
Re: [Plugin] Silhouette to Plane v1.1Just great! You are a hero, hats off to thee!
Re: [Plugin] Silhouette to Plane v1.1This sort of image must be at each first post
![]() Is beautiful that please without concept!
My Little site :)
Re: [Plugin] Silhouette to Plane v1.1Here's another example.
Silhouette to plane is also great for flattening a set of looped edges you want to be planar to form a face, but cant seem to find the vert that's out of whack. 3D Artist at Clearstory 3D Imaging
Guide Tool at Winning With Sketchup Content Creator at Skapeup
Re: [Plugin] Silhouette to Plane v1.1this could be great for making face me components! render the 3d version then apply as texture to the 2d.
![]() “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”
http://www.Twilightrender.com try it! Re: [Plugin] Silhouette to Plane v1.1TIG, fabulous! Thank you for the flatten to plane script as well. You are very generous, and gifted.
Re: [Plugin] Silhouette to Plane v1.1Thanks, TIG. Amazing script.
Does this plugin do the flatten to plane, or is that a separate plugin? I can't seem to find the command for flatten to plane. (Silhouette to Plane is working great) Re: [Plugin] Silhouette to Plane v1.1Just to point out again what Adam already said, Silhouette to Workplane makes closing difficult outlines sooo easy. Brought back the faith in freehand tool to me.
Rocky, that is a pretty smart idea. I am having thoughts about this kind of matte painting tricks all the time. (like here: viewtopic.php?f=79&t=31069) thanks again for your generosity TIG! Re: [Plugin] Silhouette to Plane v1.1TIG:
When I click on the script's download button the #SilhoutteTpoPlane.rb downloads. I put the script in the plugins directory of SU8. When I open SU8 I get the following error: Error Loading File #SilhouetteToPlane.rb no such file to load -- #WorkPlane.rb Should #WorkPlane.rb also have been downloaded? Regards, John John | Illustrator | Beaverton, Oregon
Re: [Plugin] Silhouette to Plane v1.1
John IF you had read the notes you'd see that you need 'WorkPlane.rb'... because you must first make and then select a 'WorkPlane' with your other parts you want to project - that's how it knows what plane to project its result on to... ![]() TIG
Re: [Plugin] Silhouette to Plane v1.1Thanks
![]() but I found some error happen, when I test by simple cylinder ,which was rotated a bit from origin , there are 1 error time of total 4 time I love this script , and hope it could been tune-up ,but I am begin to learn for SU plugin codding , shame to less helping ![]() Re: [Plugin] Silhouette to Plane v1.1TIG, not sure if this is how you intended the script to work or not.
Using SU8. If I select a bunch of standalone geometry and a couple of groups, only the standalone geometry gets project to the working plane. Each group has to be selected individually to be projected. John | Illustrator | Beaverton, Oregon
Re: [Plugin] Silhouette to Plane v1.1
Everything should project I'll check into it... Do you get the same 'error' with components too ? TIG
Re: [Plugin] Silhouette to Plane v1.1Hi TIG:
Yes, the script works with SU8 and with components. However, the selection set seems to require that it include all of one type of geometry only, either: all loose geometry or all groups or all components. Attached is the test .skp I used. John John | Illustrator | Beaverton, Oregon
Re: [Plugin] Silhouette to Plane v1.1this could be extremely useful!! i will try it out later today! thanks Tig!
32 posts
• Page 1 of 2 • 1, 2
|