[Plugin] Front Face - 1.2
-
I find it works 50% of the time, sometimes textures are mapped wrongly, maybe I am doing something wrong?
-
LOOK AT MY USER NAME, ENOUGH SAID. Need2SeeAttachments.
I WANT TO DOWNLOAD, NOW BYE FOREVER SKETCHUCATION.
Meant no offence, k thx bai. -
Bye bye.
-
Thank you for plugin this
-
Hi Tomasz,
I was installed Fredo Additional Plugin folder plugin http://sketchucation.com/forums/viewtopic.php?p=345150#p345150
and have a problem with finding icons if I use your plugin in another dir.Its only work with Sketchup 2013/Plugins place. Can you look at this?
Regards,
Daniel -
@dancho said:
Hi Tomasz,
I was installed Fredo Additional Plugin folder plugin http://sketchucation.com/forums/viewtopic.php?p=345150#p345150
and have a problem with finding icons if I use your plugin in another dir.Its only work with Sketchup 2013/Plugins place. Can you look at this?
Regards,
Daniel
This is an old script...
You are unlikely to get it chnaged now...
BUT you can adjust the tool's code yourself.
It is quite easy...
Open the filefrontface.rb
using Notepad, or another plain text editor like Notepad++ - BUT NEVER USE a word-processor!Near the beginning there are three lines that setup the button icons [#36/40/44]
The first line reads:
cursor_path = Sketchup.find_support_file("FrontFaceCursor.png", "Plugins/FrontFace_files")
You must rewrite it to read:
cursor_path = File.join(File.dirname(__FILE__), "FrontFace_files", "FrontFaceCursor.png")
so it now looks in a folder namedFrontFace_files
that is in the folder with the .rb file [wherever that is located], rather than always the main Plugins folder as the original code sets.
The other two entries forcursor_path =
need to be similarly recast, using:FrontFaceCursorOff
andFrontFace_OnDef
for the .png respectively... -
Hi TIG,
thanks for help, I do it like you wroteclass FrontFaceTool
def initialize
@ip = Sketchup::InputPoint.newcursor_path = File.join(File.dirname(__FILE__) ,"FrontFace_files","FrontFaceCursor.png" if cursor_path @cursor_on = UI.create_cursor(cursor_path, 12, 12) end cursor_path = File.join(File.dirname(__FILE__) ,"FrontFace_files","FrontFaceCursorOff.png" if cursor_path @cursor_off = UI.create_cursor(cursor_path, 12, 12) end cursor_path = File.join(File.dirname(__FILE__) ,"FrontFace_files","FrontFace_OnDef.png" if cursor_path @cursor_on_def= UI.create_cursor(cursor_path, 12, 12) end
end
and receive this error message, have you any idea?
THX
Dancho
-
You have mistyped.
It should be:
cursor_path = File.join(File.dirname(__FILE__), "FrontFace_files", "FrontFaceCursor.png"**)**
The error message tells you the error...
Add the final)
to the three lines and it will work OK... -
A great THANK YOU Tomasz !!!
-
Is the current FaceFront ruby current with SU 2015 version? I downloaded it and installed it in my Plug in file but it doesn't show up. Any thoughts
-
@tcalvinsimmons said:
Is the current FaceFront ruby current with SU 2015 version? I downloaded it and installed it in my Plug in file but it doesn't show up. Any thoughts
Hi Tom,
Small world.
So did you try installing it with the SCF PluginStore plugin? Or did you download the file as .rbz from here?
Advertisement