QuickJoint icon indicating copy to clipboard operation
QuickJoint copied to clipboard

Smart detection of rectangles or groups

Open firex726 opened this issue 3 years ago • 4 comments

Hello,

Please see the attached video. I'm using v1.0 of Inkscape and the latest build from the site here. I made a simple rectangle, pulled up the extension and changed the settings with no effect or errors in either "Live Preview" or when applying.

2020-08-02-10-55-26

firex726 avatar Aug 02 '20 16:08 firex726

Convert your rectangle to a path.

Path->Object to Path

JarrettR avatar Aug 02 '20 16:08 JarrettR

maybe some check would be neat:

  • check if one or more nodes in selection has no 'd' attribute. that would indicate that one or more elements are non-path objects like rectangle, arc, ellipsis
  • check for groups
  • check if selected items are unequal 1

vmario89 avatar Aug 02 '20 19:08 vmario89

Convert your rectangle to a path.

Path->Object to Path

Doh! Yep, that was it.

I don't suppose there is an easy way to "pair" the effect to the mate of the edge? Or apply it to all edges of a a single part?

firex726 avatar Aug 02 '20 21:08 firex726

you can duplicate the path using CTLR + D, and then run extension again to create the slots on the same path again. then you have some pairing :-)

vmario89 avatar Aug 02 '20 22:08 vmario89