sketchucation logo sketchucation
    • Login
    1. Home
    2. bomastudio
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 29
    • Posts 109
    • Groups 2

    bomastudio

    @bomastudio

    10
    Reputation
    2
    Profile views
    109
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    bomastudio Unfollow Follow
    Extension Creator registered-users

    Latest posts made by bomastudio

    • HtmlDialog position

      In a dual monitor config, how can I check in which monitor SU is running, so I can locate correctly a HTMLDialog?

      For example, immagine the following config:

      MONITOR 1 on right
      MONITOR 2 on left (where SU is running)

      and the following code

      
      dialog = UI;;HtmlDialog.new({
      			  ;dialog_title => "MyWindow",
      			  ;scrollable => true,
      			  ;resizable => true,
      			  ;width => 300,
      			  ;height => 250,
      			  ;left => 0,
      			  ;top =>0,
      			  ;style => UI;;HtmlDialog;;STYLE_UTILITY
      			})
      
      

      The dialog will apper outside from SU, in the MONITOR 1 instead of MONITOR 2 where is SU.

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • GUI without decorations

      Hi guys, I'm guessing how to build a GUI without any decorations (frame, toolbar, statusbas, etc) like Fredo's Toposhaper does. Any ideas?


      toposhaper.jpg

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • Unscramble my own old plugin

      HI guys,
      after a very long silence now I'm here... again! πŸ˜†
      I want to resume a very old plugin of mine, but I can find nowhere the original source.... I can find only 12 copy of the *rbs files.... I'm going crazy... I'm quite sure that those files died with a HD broken...

      I tried to ask to Trimble some help to unscramlbe my own *.rbs but no answer after 3 weeks.... any idea how to solve this terrible issue?

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • Kernel.system asynchronous on OSX?

      I want to run an external software (that create a txt file to be post-processed by me) with system() call.

      On Windows all fine. The system(cmd1,...) works, creates the txt file and then my ruby-code processes it as I want.

      On OsX, on the other hand, it seems to work asynchronous: the system(cmd1,...) works and creates the txt BUT my ruby-code try to process the txt file IMMEDIATELY after the system call without waiting for its existence. I have to re-lauch my script, and then it finds the *.txt file and works ok....

      Do you have some experience of it?

      SketchUp 2014,2015,2016,2017 + Windows7 (all ok)
      SketchUp 2015 + OsX 10.8 (bad)

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • RE: Add something to my *.rbs file

      Thanks for reply. I'm a bit confused ... resuming everythings:

      I have my ruby *.rb extension. I want to protect it form piracy. So I scramble it (I discovered with my surprise that SU>2015+ has new APIs for it.....waiting for Trimble approval of my Developer status).....

      But meanwhile, using the "old" *.rbs files..... each user needs to get a personalized, with its own datas (personal and hardware), rbs file.

      So, I think to use my personal server, hosting the Scrambler.exe, and using PHP+POST methods retrieve user infos, send it to the server, work on it somewhat, scramble the extension and finally return it to the user ONE-PER-USER....

      Theorically it seems to be good (to me) but my trouble starts as I have a Linux server and the Scrambler is and *.exe..... but.... Linux+Wine works like a charm (tested by me)..... so the final question was "How I can build everythings in PHP?".... making it simple.... RaspberryPI can use Wine ONLY into a chrooted environment....and PHP seems not to like it.....

      So I'm looking for a different strategy....

      I have read all your suggestions and ..... I'm trying to design a way to work.....

      Why I decided to be a software developer?..... I have to design airplane.....I have to design airplane.... 😠 😠 😠 😠

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • RE: Add something to my *.rbs file

      Dan you are definitely the best teacher on Programming I've ever meet! "Show why to do something rather than show HOW to do it!" πŸ‘

      OK. So I can modify a lots of in-memory stuff from my main *.rbs "on runtime".

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • Add something to my *.rbs file

      As in title, can I add some command (something like

      
      @@a="my text"
      run_my_function(@@a)
      end
      end
      
      

      to my already scrambled plugin?

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • RE: Cross-platform hardware detection

      I need to retrieve some alpha-numeric code to locate a pc as unique worldwide, so I thought to get serial numbers (physical) of CPU and/or hardisk and/or MAC address...

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • RE: Cross-platform hardware detection

      I need to get CPU, Network, Harddisk infos

      posted in Developers' Forum
      bomastudioB
      bomastudio
    • Cross-platform hardware detection

      On Win I'm using WIN32OLE to get HW info (till now I can get only harddisk datas, I need a good doc reference for WIN32OLE) .....but any cross-platform way to get these infos?

      posted in Developers' Forum
      bomastudioB
      bomastudio