Bricksmith 3.0: Oh so Flexible!


Re: Bricksmith 3.0: Oh so Flexible!
#3
Hi Willy,

I did the LSynth integration work. The short version of 'how' is:

LSynth was modified so that rather than using files it can also accept input via StdIn and produce synthesized output on StdOut.
Bricksmith then runs its own modified copy of LSynth whenever a constraint changes, writing a version of the part to be synthesized to its StdIn, and reading the StdOut output. This is then parsed and replaces the previous version inside Bricksmith.

We read a (user-configurable) version of the LSynth config file so we know about the various constraints available.

It's fast enough to appear - almost - interactive.

Bricksmith's internal architecture gets in the way of truly interactive draggable constraints but it's still an improvement over the workflow I was previously using.

Niceties like partial transparency and selection are handled by Bricksmith, with actual colours being correctly saved to file when necessary. The (minimal) LSynth modifications are available in the Bricksmith repo if anyone wants to merge them back.

The video idea's a good one. When I have the time...

R
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Bricksmith 3.0: Oh so Flexible! - by robinmacharg - 2014-04-14, 12:45

Forum Jump:


Users browsing this thread: 2 Guest(s)