Code-GUI bidirectional editing via LSP
21–30 of 71 posts
Re: Code-GUI bidirectional editing via LSP
#22See https://new.rt.ht for bidi i⇄o sync demos! The PDF ones are especially fun! The whole playground is built for bidi sync!
Re: Code-GUI bidirectional editing via LSP
#23Isn’t the python based build123d the current best CAD in code solution? The problem with OpenSCAD is that it cannot export solid geometry, just a final mesh. More broadly, I was genuinely shocked to realize, when I was playing with it, that there is no cross CAD file format that captures even simple design concepts like “this hole is aligned to the center of this plate” or even “this is a 2mm fillet”. STEP (the file…
That is why STEP containing the final BREP manifold solid is the standard interchange that it is - it is a final representation of the solved output that IS portable, and anything else is... difficult.
Re: Code-GUI bidirectional editing via LSP
#24Hey nice - this stuff is so much fun to me. I've worked a number of experiments like this too, especially related to live coding. Love seeing it in the wild. I built a small project where you can live-code Love2D. The running program updates in real time (no saving needed) and see all values update in real-time, via LSP. https://github.com/jasonjmcghee/livelove And also added the same kind of interactivity like a num…
Re: Code-GUI bidirectional editing via LSP
#25Re: Code-GUI bidirectional editing via LSP
#26Re: Code-GUI bidirectional editing via LSP
#27Re: Code-GUI bidirectional editing via LSP
#28But well, the project is very cool and I love the idea of using LSP for something more!
Re: Code-GUI bidirectional editing via LSP
#29Re: Code-GUI bidirectional editing via LSP
#30This is a great idea: I'd never think of using LSP for this! As a software developer, I always get frustrated when I am doing some graphical work and struggle to neatly parametrize whatever I am drawing (wooden cabinets and furniture, room layouts, installation plans...) and switch between coding where that makes most sense and GUI where it doesn't. The best I've gotten was FreeCAD with Python bindings (I've got a co…