HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/inkscape/extensions/hpgl_output.pyc
�
��Yc@sidZddlZddlZddlZdejfd��YZedkree�Zej�ndS(s�
Copyright (C) 2013 Sebastian Wüst, sebi@timewaster.de

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
i����Nt
HpglOutputcBs#eZd�Zd�Zd�ZRS(cCs�tjj|�|jjddddddd�|jjddddd	dd
ddd
d�|jjddddd	ddddd
d�|jjdddddddddd
d�|jjdddddddddd
d�|jjdddddddddd
d�|jjddddddd dd!d
d"�|jjd#dddd$dd%dd&d
d'�|jjd(dddd$dd)dd&d
d*�|jjd+dddd$dd,dd&d
d-�|jjd.dddd	dd/dd0d
d1�|jjd2dddd	dd3dd4d
d5�|jjd6dddd$dd7dd8d
d9�|jjd:dddd	dd;dd<d
d=�|jjd>dddd$dd?dd8d
d@�dS(ANs--tabtactiontstorettypetstringtdestttabs
--resolutionXtfloattresolutionXtdefaultg��@thelpsResolution X (dpi)s
--resolutionYtresolutionYsResolution Y (dpi)s--pentinttpenis
Pen numbers--forcetforceis
Pen force (g)s--speedtspeedisPen speed (cm/s)s
--orientationtorientationt90sRotation (Clockwise)s	--mirrorXtinkbooltmirrorXtFALSEs
Mirror X axiss	--mirrorYtmirrorYs
Mirror Y axiss--centertcentersCenter zero points	--overcuttovercutg�?sOvercut (mm)s--toolOffsett
toolOffsetg�?s#Tool (Knife) offset correction (mm)s--precuttprecuttTRUEs
Use precuts--flattflatg333333�?sCurve flatnesss--autoAlignt	autoAligns
Auto align(tinkextEffectt__init__tOptionParsert
add_option(tself((s-/usr/share/inkscape/extensions/hpgl_output.pyRs ".............cCst|j_tj|�}y|j�\|_}Wnptk
r�}|jddkryt	j
td��d|_dStj
�\}}}td||f|�nXd}|jjdkr�|d|jj7}n|jjdkr�|d|jj7}n||jd|_dS(	NitNO_PATHSsMNo paths where found. Please convert all objects you want to save into paths.ttINs;FS%ds;VS%ds;SP0;PU0,0;IN; (tFalsetoptionstdebugthpgl_encoderthpglEncodertgetHpglthpglt	ExceptiontargsRterrormsgt_tsystexc_infot
ValueErrorRR(R"t
myHpglEncodertdebugObjecttinstRtvaluet	tracebackthpglInit((s-/usr/share/inkscape/extensions/hpgl_output.pyteffect/s"	cCs|jdkr|jGHndS(NR$(R,(R"((s-/usr/share/inkscape/extensions/hpgl_output.pytoutputFs(t__name__t
__module__RR:R;(((s-/usr/share/inkscape/extensions/hpgl_output.pyRs		t__main__(	t__doc__R1R)RRRR<tetaffect(((s-/usr/share/inkscape/extensions/hpgl_output.pyt<module>s0