Hello,
What is the best way to export a 2D Rhino drawing to .xaml format? The xaml code would contain rectang, lines, ellipse, etc. The Rhino7 export currently exports mesh objects. Should I export it as a dxf, then find an importer to get it into xaml format, or ?
Hi Drew -
Does the target application also read other file formats?
-wim
Wim, Thanks for the response.
It ultimately would need to be an .xaml format, to be used in WPF as a static resource. So, the target application is really Visual Studio and a custom Windows application. It won’t read any other cad files etc.
Kind of like this (but without the bindings):
<Path.Data>
<GeometryGroup>
<RectangleGeometry Rect="0,0 100,100"></RectangleGeometry>
<EllipseGeometry Center="{Binding Center}" RadiusX="{Binding Radius}" RadiusY="{Binding Radius}"></EllipseGeometry>
</GeometryGroup>
</Path.Data>