[OpenSCAD] Feature Requests

R. Mark Adams, Ph.D. rmadams at epotential.com
Sat Feb 13 19:50:53 CET 2010

I like the TCP socket idea- that would work great.  I have to admit that 
what I had in mind was also the Unix domain socket- since I use Linux 
and OSX, it would work for both, but I was missing the Windows 

As for integrating Eclipse, here is a pointer to a good description of 
how to integrate new programming languages like OpenSCAD into the 
Eclipse platform:


I have not done it before, but I am going to hack around a bit to see if 
I can get at least the first couple layers working...


Christian Starkjohann wrote:
> On Feb 13, 2010, at 00:08, Marius Kintel wrote:
>> On Feb 12, 2010, at 19:19 , R. Mark Adams, PhD wrote:
>>> I wonder if an Eclipse plug-in [...] I would say emacs could do the
>>> same [...]
>> I use Emacs for everything but Java, for which I use Eclipe ;)
>> I agree that external editors is the way to go.
>> I implemented an extremely quick and dirty AppleScript hack for
>> reloading an externally edited file in OpenSCAD. It's very painful to
>> implement this for Qt apps, so if there exist a multi-plaform way of
>> talking to an (Qt) app from the outside, I'd be interested in any
>> pointers.
> On Unix operating systems (i.e. all except Windows), you could use a  
> Unix domain socket in the user's home directory and send commands  
> through this socket. I have code for that, if you want it.
> In a more general environment (if you want the same code on all  
> platforms), you could use a TCP or UDP socket on for the  
> communication. OpenSCAD would bind to a port where it listens and  
> write the port number to a file in a well known location (e.g. the  
> user's home).
> I should have old code snippets for that, too...
> It's even possible to cope with multiple instances of OpenSCAD running  
> under the same user ID. Just append the PID to the file/socket name.  
> The client library can then look for any file/socket or address a  
> particular PID.
> Ciao -- Christian.

| R. Mark Adams, Ph.D.       |   "Information is light.      |
| Computational Biologist    |    Information in itself,     |
| http://www.epotential.com  |    about anything, is light." |
| rmadams at epotential.com     |       - Tom Stoppard          |

More information about the Openscad mailing list