Inkscape.org
Beginners' Questions save to gcode
  1. #1
    electromeister electromeister @electromeister

    Traceback (most recent call last):
      File "unicorn.py", line 108, in <module>
        e.affect()
      File "inkex.py", line 283, in affect
        self.effect()
      File "unicorn.py", line 102, in effect
        parser.parse()
      File "unicorn/svg_parser.py", line 230, in parse
        self.svgWidth = self.getLength('width', 354) * 0.28222
    TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'

     
    How can I overcome this drawback (error)? I am a beginner and I am not good at programming. Thank you very much!
  2. #2
    brynn brynn @brynn

    Welcome to the forum!

    It looks like you must be using the  Makerbot Unicorn extension?  From what I've read in the forum, this extension is no longer supported by it's author (which means it's outdated, bugs won't get fixed and it won't be developed any further, at least not by the original author).  (Although some other extension maker might adopt it someday.)

    However, I've also heard that if you use pixels for  units, the extension will work.  So try switching to px.  Let us know if you need help with that.

  3. #3
    electromeister electromeister @electromeister
    Thanks! I will try!
  4. #4
    hossein101m hossein101m @hossein101m

    Hi

    use this version

    Inkscape-0.47  &

    https://github.com/martymcguire/inkscape-unicorn/tree/24d80d5b9ef60879112a6ca9644b119780182303

    oky