91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 40KB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2021-05-07
  • 語言: 其他
  • 標簽: zip??

資源簡介

laserengraver,一個激光擴展

資源截圖

代碼片段和文件信息

#!/usr/bin/env?python
‘‘‘
dxf_input.py?-?input?a?DXF?file?>=?(AutoCAD?Release?13?==?AC1012)

Copyright?(C)?2008?2009?Alvin?Penner?penner@vaxxine.com
Copyright?(C)?2009?Christian?Mayer?inkscape@christianmayer.de
-?thanks?to?Aaron?Spike?for?inkex.py?and?simplestyle.py
-?without?which?this?would?not?have?been?possible

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.?59?Temple?Place?Suite?330?Boston?MA??02111-1307??USA
‘‘‘

import?inkex?simplestyle?math
from?StringIO?import?StringIO
from?urllib?import?quote

def?export_MTEXT():
????#?mandatory?group?codes?:?(1?or?3?10?20)?(text?x?y)
????if?(vals[groups[‘1‘]]?or?vals[groups[‘3‘]])?and?vals[groups[‘10‘]]?and?vals[groups[‘20‘]]:
????????x?=?vals[groups[‘10‘]][0]
????????y?=?vals[groups[‘20‘]][0]
????????#?optional?group?codes?:?(21?40?50)?(direction?text?height?mm?text?angle)
????????size?=?12???????????????????????#?default?fontsize?in?px
????????if?vals[groups[‘40‘]]:
????????????size?=?scale*vals[groups[‘40‘]][0]
????????attribs?=?{‘x‘:?‘%f‘?%?x?‘y‘:?‘%f‘?%?y?‘style‘:?‘font-size:?%.1fpx;?fill:?%s‘?%?(size?color)}
????????angle?=?0???????????????????????#?default?angle?in?degrees
????????if?vals[groups[‘50‘]]:
????????????angle?=?vals[groups[‘50‘]][0]
????????????attribs.update({‘transform‘:?‘rotate?(%f?%f?%f)‘?%?(-angle?x?y)})
????????elif?vals[groups[‘21‘]]:
????????????if?vals[groups[‘21‘]][0]?==?1.0:
????????????????attribs.update({‘transform‘:?‘rotate?(%f?%f?%f)‘?%?(-90?x?y)})
????????????elif?vals[groups[‘21‘]][0]?==?-1.0:
????????????????attribs.update({‘transform‘:?‘rotate?(%f?%f?%f)‘?%?(90?x?y)})
????????attribs.update({inkex.addNS(‘linespacing‘‘sodipodi‘):?‘125%‘})
????????node?=?inkex.etree.SubElement(layer?‘text‘?attribs)
????????text?=?‘‘
????????if?vals[groups[‘3‘]]:
????????????for?i?in?range?(0?len(vals[groups[‘3‘]])):
????????????????text?+=?vals[groups[‘3‘]][i]
????????if?vals[groups[‘1‘]]:
????????????text?+=?vals[groups[‘1‘]][0]
????????found?=?text.find(‘\P‘)?????????#?new?line
????????while?found?>?-1:
????????????tspan?=?inkex.etree.SubElement(node??‘tspan‘?{inkex.addNS(‘role‘‘sodipodi‘):?‘line‘})
????????????tspan.text?=?text[:found]
????????????text?=?text[(found+2):]
????????????found?=?text.find(‘\P‘)
????????tspan?=?inkex.etree.SubElement(node??‘tspan‘?{inkex.addNS(‘role‘‘sodipodi‘):?‘line‘})
????????tspan.text?=?text

def?export_POINT():
????#?mandatory?group?codes?:?(10?20)?(

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1800??2011-03-05?15:04??dxf_input.inx
?????文件???????24775??2011-03-05?15:04??dxf_input.py
?????文件??????143951??2011-03-16?07:17??laserengraver.py
?????文件????????1771??2011-03-16?07:17??laserengraver_laser.inx

評論

共有 條評論