| 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�? � @ sd d Z ddlZddlmZ ddlmZmZ dd� Zdd� ZG d d
� d
ej�Z e
dkr0e � �� dS dS )aK
This extension allow you to draw a isometric grid with inkscape
There is some options including subdivision, subsubdivions and custom line width
All elements are grouped with similar elements
These grid are used for isometric view in mechanical drawing or piping schematic
!!! Y Divisions can't be smaller than half the X Divions
� N)� Rectangle)�Move�Linec C sF |� t�� �}dt|�dd�|_|�d|� t| |�t||�g|_d S )N�#000000�none��strokezstroke-width�fill�inkscape:label) �add�inkex�PathElement�str�style�setr r �path)�x1�y1�x2�y2�width�name�parent�elem� r �0/usr/share/inkscape/extensions/grid_isometric.py� draw_line s r c C sB t t| �t|�t|�t|�d�}dt|�|d�|_|�d|� |S )N)�x�yr �heightr r r
)r r r r )r r �w�hr r r r r r r � draw_rect&