France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: It is possible modify export to SVG format ?
If you want to change SVG export, you should change the implementation of exportToSVG method in the PlanComponent class. In your case, maybe you could simply modify the end of paintFurniture method, to draw your rectangle when the paintMode is equal to PaintMode.EXPORT (you'll see there are already some similar tests for PAINT mode).
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: It is possible modify export to SVG format ?
Look at exportToSVG code, you'll see that SVGGraphics2D class coming from FreeHep library is used to generate SVG code. No idea what you can override there.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator