Inkscape.org
Creating New Extensions Kako snimiti file u G codu
  1. #1
    Aleksandar-1979 Aleksandar-1979 @Aleksandar-1979

    Постовани,

    Молио бих за помоћ.

    Нов сам у свему овоме и тек уцим.

    Покусавам да направим г цод и никако ми не успева.

    Пратио сам упуства са јутуб видеа и никако неце да ус ими г цод.

    Веc ми избаци  греску.

    Inkscape has received additional data from the script

    executed. The script did not return an error, but this may

    indicate the results will not be as expected.

    Traceback (most recent call last):

    File "C:\Program Files\Inkscape\share\inkscape\extensions unicorn.py", line

    23, in <module>

    from unicorn.context import GCodeContext File "C:\Program

    Files\Inkscape\sharelinkscapelextensionslunicorn\context.py", line 104

    print line SyntaxError: Missing parentheses in call to 'print'. Did you mean print(line)?

     

     

  2. #2
    Scott Pakin Scott Pakin @pakin

    It sounds like your script is using Python 2 syntax (print 'Hello') but is being run from a Python 3 interpreter (which expects to see print('Hello')).