sK1 Project :: OpenSource Solutions for Prepress
View Thread
 Print Thread
PLT export
iw2lsi
#1 Print Post
Posted on 03-04-2012 18:35
Member

Posts: 3
Joined: 30.03.12

Hi all

I'm new to UC and I found it really a great job

as I work a lot with PLT/HPGL files, I would suggest to improve the PLT export this way:

1) differentiate colors selecting different pens <HPGL SP command>
2) allow to set a precision factor for curve linearization
3) allow streaming (read source from stdin, output converted file to stdout)

what do you think ?

best regards

Giampaolo
 
Chevroletat42
#2 Print Post
Posted on 05-04-2012 10:57
Member

Posts: 1
Joined: 05.04.12

UniConvertor is a universal vector graphics translator. The project uses sK1 engine to convert one format to another. It has an import filters for: CDR, CDRX, CDT etc
 
http://www.amtecinc.com
iw2lsi
#3 Print Post
Posted on 05-04-2012 11:14
Member

Posts: 3
Joined: 30.03.12

Hello Chevroletat

I don't understand exacly your comments... anyway... of course... PLT files are also used on laser engraving machines, where the pen number normally is associated with some laser parameters as power, frequency, traveling speed and so on.

that's why merging all pens can be a problem... pen colors and or numbers are not important, but distinguish different pens is.

Best Regards

Giampaolo
 
igor
#4 Print Post
Posted on 05-04-2012 17:02
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

Hi Giampaolo,

Don't worry, "Chevroletat42" is a spam robot no more :) It posted meaningless text for one purpose only - store links in his signature to promote some commercial site. I have banned this account.

So concerning your suggestions.

differentiate colors selecting different pens <HPGL SP command>


current PLT import|export implementation is for cutting plotters only. I.e. it uses simplified HPGL language. I think later we will create normal variant of HPGL parser for conventional purposes.

allow to set a precision factor for curve linearization


This feature has been implemented in UniConvertor 2.0 and LinCutter - special GUI application for vinyl cutting plotter (something like Roland CutStudio). The applications will be released at the end of April.

allow streaming (read source from stdin, output converted file to stdout)


UniConvertor 2.0 general pattern is to read whole file, build format specific DOM model and translate this model to another model, for example SVG model. Each DOM model can parse file and save model objects into file. So stream reading is impossible, because it breaks generic application pattern. But you can implement this feature using bash commands:
Download source  Code

(some input stream)> file.svg
uniconvertor file.svg file.plt
cat file.plt | (output stream)




Regards,

Igor Novikov
sK1 Project
Edited by igor on 05-04-2012 17:04
 
iw2lsi
#5 Print Post
Posted on 10-04-2012 08:07
Member

Posts: 3
Joined: 30.03.12

Hello Igor

first of all, I appreciate your time and your works very much...

I'm just going to add support for svg and cdr into my qt program using uniconvertor as an external command-line application... as differentiating plt pens is important for me I'll do some tests on this directions as soon as possible... of course... I'll share this if I got something work (but I'm totally new to phyton :-()

thanks again for your great works

Giampaolo
 
igor
#6 Print Post
Posted on 11-04-2012 08:32
User Avatar

Super Administrator

Posts: 220
Joined: 09.02.09

Hi Giampaolo,

I would recommended you to wait for UniConvertor 2.0 release just because it has been designed as a python library uc2, i.e. it can be used like Python Image Library but not as an external command-line application.
Regards,

Igor Novikov
sK1 Project
 
Arun Sarkar
#7 Print Post
Posted on 23-04-2012 10:02
Member

Posts: 5
Joined: 16.10.10

igor wrote:
This feature has been implemented in UniConvertor 2.0 and LinCutter - special GUI application for vinyl cutting plotter (something like Roland CutStudio). The applications will be released at the end of April.
[/code]


Hello Wink

Is there any windows version on initial relese of UC2? or only Linux?

Thanks in advance

Arun Smile
 
Jump to Forum: