Inkscape.org
Beginners' Questions Newbee Question. [laser box extension]
  1. #1
    DS Sampson DS Sampson @shwoodpilellc

    Hello All,  

    I sure this is answered somewhere, but I cannot seem to find.

    I would like to add the boxxes.py  box generator as an extension to Inkscape. 

    Also.  How does one ge the finger depth to match the thickness of the material such that the joint is flat and smooth.

     

    Thank you

    Deborah

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    I prefer this version: https://github.com/paulh-rnd/TabbedBoxMaker

    I have not used it to cut in v 1.0.1, but it seems to be functioning.

    The extension calculates the space required for the fingers & spaces, based on parameters including laser kerf.

  3. #3
    DS Sampson DS Sampson @shwoodpilellc

    Thank you

  4. #4
    DS Sampson DS Sampson @shwoodpilellc

    I just had the opportunity to download and try.  It is awesome.  I have been looking for.  Is there a way or another program that will make flex hinges.

    Thank you again for taking the time to answer my question.

    Best 

    Deborah

  5. #5
    Tyler Durden Tyler Durden @TylerDurden

    I'd look at this page: https://inkscape.org/~drphonon/%E2%98%85living-hinge-creator

    It seems Mario has updated the living-hinge extension for v1.0+.  I haven't tried it yet.

  6. #6
    DS Sampson DS Sampson @shwoodpilellc

    I checked out the living hinge creator and cannot get it to work.  I sure it's something that I'm doing or not doing cause of my limited knowledge.  I even uninstalled Inkscape 1.0+ and then installed an earlier version.  Still did't work.  This is what I get:

     

    living_hinge.py:49: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
      self.OptionParser.add_option('--unit',action='store',type='string', dest='unit',default='mm',help='units of measurement')
    living_hinge.py:50: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
      self.OptionParser.add_option('--cut_length',action='store',type='float', dest='cut_length',default=0,help='length of the cuts for the hinge.')
    living_hinge.py:51: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
      self.OptionParser.add_option('--gap_length',action='store',type='float', dest='gap_length',default=0,help='separation distance between successive hinge cuts.')
    living_hinge.py:52: DeprecationWarning: Effect.OptionParser or `optparse` has been deprecated and replaced with `argparser`.You must change `self.OptionParser.add_option` to `self.arg_parser.add_argument`; the arguments are similar.
      self.OptionParser.add_option('--sep_distance',action='store',type='float', dest='sep_distance',default=0,help='distance between successive lines of hinge cuts.')
    living_hinge.py:180: DeprecationWarning: Effect.affect is now `Effect.run()`. The `output` argument has changed.
      effect.affect()
    living_hinge.py:58: DeprecationWarning: Effect.unittouu is now a method in the svg document. Use `self.svg.unittouu(str)` instead.
      l = self.unittouu(str(self.options.cut_length) + unit)
    living_hinge.py:60: DeprecationWarning: Effect.unittouu is now a method in the svg document. Use `self.svg.unittouu(str)` instead.
      d = self.unittouu(str(self.options.gap_length) + unit)
    living_hinge.py:63: DeprecationWarning: Effect.unittouu is now a method in the svg document. Use `self.svg.unittouu(str)` instead.
      dd = self.unittouu(str(self.options.sep_distance) + unit)
    living_hinge.py:66: DeprecationWarning: Effect.selected is now a dict in the svg. Use `self.svg.selected`.
      if self.selected:
    living_hinge.py:68: DeprecationWarning: Effect.current_layer is now a method in the svg. Use `self.svg.get_current_layer()` instead.
      parent = self.current_layer
    living_hinge.py:69: DeprecationWarning: Effect.selected is now a dict in the svg. Use `self.svg.selected`.
      for id, node in self.selected.iteritems():
    Traceback (most recent call last):
      File "living_hinge.py", line 180, in <module>
        effect.affect()
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\deprecated.py", line 180, in affect
        return self.run(args=args)
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 123, in run
        self.save_raw(self.effect())
      File "living_hinge.py", line 69, in effect
        for id, node in self.selected.iteritems():
    AttributeError: 'collections.OrderedDict' object has no attribute 'iteritems'

  7. #7
    Tyler Durden Tyler Durden @TylerDurden
    *

    The updated extension won't work with an older Inkscape, nor will the older extension work with the newer (1.0+) versions of Inkscape.

    I downloaded Mario's updated extension version and it seems to work in 1.0+. They are in a new extension menu "Fablab Chemnitz".

    Attached are the needed files to be unzipped and placed in the user extensions folder.

    I'd ensure the older extensions are removed.

    Nomachine   Marty Imac, Linux Mint 19 Tara 2021 02 03 00 03
  8. #8
    DS Sampson DS Sampson @shwoodpilellc

    Thank you Tyler for taking your time to help me.  It is greatly appreciated.

    Best Deborah

  9. #9
    DS Sampson DS Sampson @shwoodpilellc
    👍

    Got it working!!!!  YEAH!!!!!

    I wanted this to make a urn for my cat who was very special......

    Thank you again!!!!

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Newbee Question. [laser box extension]