Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] STL in Eclipse ICE

You're a machine. Well done.

Jay

On Mon, Jun 6, 2016 at 5:15 PM, kaspergam <kaspergam@xxxxxxxxxxxxx> wrote:
Attached is a screen shot of an STL file rendering in the Geometry Editor of ICE! The current implementation is far from what it should be, but this proves that it works and the implementation is not too difficult on our end.
I generated a parser for stl files from Xtext using some simple grammar, and was able to import that file into ICE. For rendering it in the Geometry Editor, I added another shape type- ComplexTriangular - to the current list, added a property to shape called triangles (an array of triangles), and then created a JavaFX TriangleMesh() on the backend to be the rendered shape.


_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev



--
Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings

Back to the top