| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/inkscape/extensions/__pycache__/ |
Upload File : |
o
0�a�
� @ s| d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl
Z
G dd� de
j�Ze
dkr<e� �� dS dS )z�
An extension to export multiple svg files from a single svg file containing layers.
Each defs is duplicated for each svg outputted.
� )�unicode_literalsNc @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
S )� TarLayersz Entry point to our layers exportc C s2 t �| j�}| �|�D ]\}}|�� �|� q|S )zGReturns the current document as a new empty document with the same defs)�copy�deepcopy�document�layers� getparent�remove)�self�newdoc�name�layer� r �,/usr/share/inkscape/extensions/tar_layers.py�
make_template&