I’m trying to load skp from (Ruby on rails) local web server
url = "http://localhost:3000/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBa29CIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--fd47c681580ce0a515c75792125af20b2e063afb/FXCEE.skp" definition = Sketchup.active_model.definitions.load_from_url url#, load_handler
when I use this code inside my .rb file Sketchup freeze by loading infinitely. I have to force my mac to stop Sketchup app.
If I copy and past this code in console its works perfectly ! ?
I try with and without load_handler.
I’m on Sketchup 2020.1 on mac OS 10.15.4
Find the complete file:
02_componsant_loader.rb (2,8 Ko)