Thursday, December 7, 2023
Home3D ModelingElectron app extension - Ruby API

Electron app extension – Ruby API


Im having some issues to attach my electron app to the sketchup extension by an IPC. Any leads on how to do this?
Thanks!


I moved your matter to Builders class, maybe you’re going to get higher advise right here…

I don’t know about your query, however positive the SketchUp Free (internet) – as you acknowledged in your profile – doesn’t permit to make use of any extension. Anyway, the net app is version-less (at all times precise), and I don’t know any one who have such an working system and graphic card that you’ve.

Sketchup internet doesn’t permits to put in extensions, solely within the professional and studio model you are able to do it, additionally your profile info have to be corrected, 2022 isn’t an operative system and Mac isn’t a graphics card.

@francisquitof, thanks for the “translation”… I’m at all times completely happy when somebody interprets it appropriately. :stuck_out_tongue_winking_eye: :beers:

Im utilizing Sketchup professional, and each the extension and the electron app are already created, however I want to attach them utilizing named pipes, and my downside is I dont know easy methods to name the named pipes referred within the typescript electron app from the ruby extension script.

Thanks for clarifying, and updating your profile. :+1: Now I moved once more your matter to Ruby API class, which appears extra related.


( Once more, I don’t now about “typescript electron app” however whether it is related than JavaScript that may be an concept to make use of JavaScript Object Notation (JSON) for information interchange. )

Pipes do work nicely on MacOS, however not nicely on Home windows platform due to the way in which that SketchUp “steals” normal IO for it’s personal Ruby Console.

In case you are solely going to run your extension and app on Mac, then have a look at:


In the event you additionally must run on Home windows platform you have to an alternate. Sockets, an area server, or write output to a file and have SketchUp Ruby learn the file.

See earlier dialogue on pipes and IO from exterior processes:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments