dxfmaskgenerator

所属分类:CAD
开发工具:Jupyter Notebook
文件大小:0KB
下载次数:0
上传日期:2024-02-12 21:16:28
上 传 者sh-1993
说明:  掩模dxf发生器
(dxf generator for masks)

文件列表:
.virtual_documents/
results/
Generate_mask.ipynb
dimmensions.png
dxf_mask_generator_V1S0R0.py
ezdxf_kkutils.py
mask.png

# What it is? Repository provides function of mask dxf and prev-png generator ## how to configure?
Code Image
```py mask_details ={ 'mask_height': 25, #A width of entire mask body 'mask_width': 25, #B height of entire mask body 'spike_width': 1.0, #W width of one spike of mask 'spike_height': 10, #H height of one spike of mask 'spike_sep_h': 1.0, #Dh distance between spikes 'spike_sep_v': 1.0, #Dv distance between spike head and mask body 'spike_count': 4, #N count of spikes on one side 'spike_support': 2, #H height of collector electrode 'pad_width': 5, #PW width of pad 'pad_height': 3 #PH height of pad } ``` Alt text
## how to use? ```py # import the only one module You need from dxf_mask_generator_V1S0R0 import give_me_mask # define geometry variables, think in milimeters mask_details ={ 'mask_height': 25, 'mask_width': 25, 'spike_width': 1.0, 'spike_height': 10, 'spike_sep_h': 1.0, 'spike_sep_v': 1.0, 'spike_count': 4, 'spike_support': 2, 'pad_width': 5, 'pad_height': 3 } # ask whatever you wish, and it shall be done for you (J 15:7) give_me_mask(config=mask_details, filename='test') ``` # dependencies ```py pip install ezdxf[draw] ```

近期下载者

相关文件


收藏者