forked from miho/JCSG
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Updated an STL, then cleared Vitamins cache. Old STL still loading. Created a renamed version, which works. Prety sure it's aggressive caching. I can just add something to Vitamins.clear(), if that's the answer. I think Vitamins.clear() should work here, though.
Despite having the same SHA hash, these two STLs now load different geometries:

The updated STL has the bottom-left and bottom-right fresco panels swapped.
println "Clearing the Vitamins cache to make sure current geometry is being used (only run this operation when the STL has changed)"
Vitamins.clear()
println "Trying to download "+piece_url
// Load the .CSG from the disk and cache it in memory
CSG piece = ScriptingEngine.gitScriptRun(
"https://github.com/JansenSmith/downloadSTL.git", // git location of the library
"downloadSTL.groovy" , // file to load
// Parameters passed to the function
[piece_url]
)
but here's what i get:
