[Scilab-users] trouble with vectorial export

Calixte Denizet calixte.denizet at scilab-enterprises.com
Fri Feb 8 11:02:07 CET 2013


Hi Adrien,

About vectorial export in 5.3: we used a thirdparty library (gl2ps) 
which used an opengl trick to make the export, so huge graphics could to 
lead to crash.
In 5.4, we completely rewrite the vectorial exporter (we removed gl2ps) 
and huge graphics are now ok (the export can be long in 3D since there 
is a lot of computation (intersecting triangle, intersecting segments, 
...)).
For the 2D, I found an easy solution to take into account the style 
(I'll implement it asap), but in 3D it is more complex, since a polyline 
can be behind and in front of a triangle the polyline need to be broken 
(even if it doens't meet the triangle). Actually a polyline is broken 
into segments and all the segments are drawn in a particular order 
(according to their positions) and the line style is broken... An idea, 
in 3D, could be to break the polyline into the segments corresponding to 
the line style, but the polyline entity is lost.
I hope to be able to propose a solution for 2D in the next week and for 
3D, I don't know.

Calixte

On 08/02/2013 10:09, Adrien Vogt-Schilb wrote:
> Hi Calixte
>
> It seems that this issue will take some time to be fixed then. 
> Moreover, if I understand well, Scilab 6 will use a completely 
> different approach to graphics?
> I'd like to use Scilab 5.3.3 meanwhile as a workaround, but I can't 
> because my new machine runs Windows 8. I can launch scilab in 
> compatibility mode, but then atoms doesn't work.
>
> I wonder whether it would be feasible  (with little effort) to 
> implement a 5.3.4 version, that would only bring 5.3.3 to windows 8 ?
>
> Best regards
>
>
> On 07/02/2013 16:43, Calixte Denizet wrote:
>> Hi
>>
>> About width, I'm currently writing a patch. But about style, it is 
>> more tricky and I need to find a way to do this (actually lines are 
>> broken in segments).
>>
>> Calixte
>>
>> On 07/02/2013 16:41, Dang, Christophe wrote:
>>> Hello
>>>
>>>> Styles and width in particular are not respected.
>>> I personally export as SVG
>>> and then edit the picture with Inkscape,
>>> which can export a PDF.
>>>
>>> Of course this does not solve the problem,
>>> but can be a turn around.
>>>
>>> Regards
>>>
>>
>>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users


-- 
Calixte Denizet
Software Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
http://www.scilab-enterprises.com




More information about the users mailing list