[Plugin Library] LibFredo6 - v14.8a - 26 Nov 24
-
It seems that 'LIBFREDO06_DATA_Dir' and 'SCF' folder always shows up under my instead of my users folder. is this expected behavior?
kinda annoying as I would expect drive to not fill up like that.
-
@josephkim626 said:
It seems that 'LIBFREDO06_DATA_Dir' and 'SCF' folder always shows up under my instead of my users folder. is this expected behavior?
kinda annoying as I would expect drive to not fill up like that.
This is due to the fact that your TEMP directory is not defined in your Windows Set up
Could you check in the Ruby console
ENV["TEMP"]
Fredo
-
Fredo - are you checking only TEMP? I found that it was more reliable to check multiple possibilities:
TEMP_PATH = File.expand_path( ENV['TMPDIR'] || ENV['TMP'] || ENV['TEMP'] ).freeze
However, since SU2014 there is a method in the SU API - so I'd use this:
if Sketchup.respond_to?(;temp_dir) Sketchup.temp_dir else File.expand_path(ENV['TMPDIR'] || ENV['TMP'] || ENV['TEMP']) end
-
I made a mistake. Actually, the problem is about App Data folder, that is
ENV["APPDATA"]
(orENV["LOCALAPPDATA"]
)"Fredo
-
hm... that's a bit worse. I guess one could fall back to making some Win32 API calls?
-
@thomthom said:
hm... that's a bit worse. I guess one could fall back to making some Win32 API calls?
I really think that Sketchup itself should take (and should have taken) of these problems of environment since long, instead of letting programmers rely of environment variables which may not be properly set in the native OS.
There are also many basic system information that should be part of the native Sketchup API. Having users install Win32 API, and programmers using it, is really a challenge, and not a stable avenue across the recent versions of Sketchup and its Ruby interpretor.
Fredo
-
I'm not so sure it belongs to the API. Any API design book will argue against adding too much stuff. These things are very system dependent and doesn't relate to the domain of SketchUp itself.
That being said - it's probably something that would be good to have in a repository of examples. Almost like a library - I say almost because a library would have the issue of dependencies. But using pattern which exist elsewhere - by having dependency/library managers that will pull packages into your extension project and install it to your extension namespace. Something that would encourage more sharing and collaboration among SU devs. Sure, we help each other on the forums - but we reinvent the wheel a lot. When we look at other dev communities there is a much better infrastructure of sharing code packages and development tools.
This kind of infrastructure would provide a foundation of creating reusable bundles that we can all build upon. That's where stuff like these system specific wrappers fit in.
APIs are minimal and much less flexible. Libraries are higher level abstractions that should be much more adaptable and easier to update and release.
Got some ideas that I want to try out. Stay tuned. -
Hi guys
new to all this but know my way round a pc OK
My issue is I cannot find the download link for
LibFred06 v6.9 or any version come to that...??
People are saying it is at the end of the first post but all I can see are the user manuals no download button like there was for Joint push pull which is now reminding me to get LibFred06 v6.9 each time I start it.. any suggestions??John
-
@in2 said:
Hi guys
new to all this but know my way round a pc OK
My issue is I cannot find the download link for
LibFred06 v6.9 or any version come to that...??
People are saying it is at the end of the first post but all I can see are the user manuals no download button like there was for Joint push pull which is now reminding me to get LibFred06 v6.9 each time I start it.. any suggestions??John
So you don't see the links in the first post?
-
Install the sketchucation store plugin from Resources at the top of the page and you'll be able to install and manage many plugins from there.
-
Thanks guys.
Have to say nicely hidden though about the smallest text on the page....
Dunn why I was expecting a big download buttonThanks again
John
-
@in2 said:
Thanks guys.
Have to say nicely hidden though about the smallest text on the page....All that large bold print is too small? Maybe Fredo will have to make it larger.
-
I keep getting the same Message: LibFredo6 will be updated at the next startup...
I have already changed the permissions and took ownership of the whole Sketchup folder. After that message the SketchUcation Toolset one appears. The extension and plugins manager won't open, but the store was updated properly. LibFredo seems to be up to date as well and I can open its windows. I am still on Sketchup 8 btw. -
Please. I installed the libfredo6 in 2016 sketchup correctly, I have long been trying to use it, but I can not open tools, how can you open?, Is there tutorial ?.
-
@cxerach said:
Please. I installed the libfredo6 in 2016 sketchup correctly, I have long been trying to use it, but I can not open tools, how can you open?, Is there tutorial ?.
What tools are you trying open? Please be specific. LibFredo6 is a package of support files that many of Fredo6's tools are dependent upon but it isn't useful by itself.
-
I reinstalled the whole set after manually removing them from the plugins folder, same message pops up, but now the tools do not work, non of the windows open. What am I doing wrong?
-
thx
-
hola esta biblioteca no es gratis?
-
@karlicamel said:
hola esta biblioteca no es gratis?
Why do you think it is not free?
There is no charge for this although you can make a donation to Fredo6 for his hard work.
-
Dear Fredo ,
I have tried to upgrade to libfredo6 - v6.9b and although it appears to work I get this message upon opening my skp(pro15):/Users/richard/Desktop/Screen Shot 2016-02-29 at 3.12.28 PM.png
What does it mean: What am I missing?
Thanks in advance,Richard
Advertisement