fablabnbg / inkscape-silhouette

An extension to drive Silhouette vinyl cutters (e.g. Cameo, Portrait, Curio series) from within inkscape.
GNU General Public License v2.0
493 stars 113 forks source link

squewed output on a portrai #306

Closed mike-brandt closed 3 days ago

mike-brandt commented 4 days ago

I have a portrait silhouette i have got it to recognize registration marks when cutting 4 small corner marks that are set as the corners of a rectangle) the cut of the top end and bottom are at about a 7 degree angle rotated ccw they seem to be parallel the vertical are rotated about 1 degree ccw on the left and 2 degrees on the right

the top registration mark is also being cut the orientation is good left to right but the up to down is displaced down about 3/8 inches 4 mm there seems to be an issue with the afine transform either calculating the "adjusted cutting frame" or problem collecting the position of the registration mark probably the upper left registration mark

background i started with registration-marks-robo-portrait modified it in inkscape to change it from an a4 to a letter format reduced the distance from the edge for the registration marks because the portrait would not recognize the marks if they were over 11 mm from the top edge changed the distance from the left edge to match the top edge extended out the bottom distance to maximize printable area ( turned out only 1 mm more) added cut marks as listed above.

log file Inkscape 1.3.2 (1:1.3.2+202311252150+091e20ef0f) Inkex: 1.3.1 Inkscape-Silhouette: 1.28 Path: /usr/share/inkscape/extensions/sendto_silhouette.py Python: /usr/bin/python3 Version: 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] Platform: linux Arguments: sendto_silhouette.py --active-tab=reg --x_off=0.60 --y_off=0.50 --cuttingmat=no_mat --toolholder=1 --tool=autoblade --media=134 --speed=6 --pressure=8 --depth=3 --preview=true --dashes=false --autocrop=false --bbox-only=false --multipass=1 --reversetoggle=false --endposition=start --end_offset=0.0 --regmark=true --regsearch=true --regwidth=186.9 --reglength=242.0 --regoriginx=10.5 --regoriginy=10.5 --wait_done=false --sharpencorners=false --sharpencorners_start=0.1 --sharpencorners_end=0.1 --overcut=0.5 --strategy=zorder --orient_paths=natural --fuse_paths=true --sw_clipping=true --logfile=/home/mike/Desktop/sihlouette --log_paths=false --append_logs=false --cmdfile=/home/mike/Desktop/sihlouette --inc_queries=false --dry_run=false --force_hardware=DETECT --bladediameter=0.9 /tmp/ink_ext_XXXXXX.svgW1L5T2 Silhouette_Portrait3 found on usb bus=1 addr=19 status=ready device version: 'Portrait 3 V5.02 ' Device Version: 'Portrait 3 V5.02 ' TB71: ' 0, 0' FA: ' 0, 0' Media=134, cap='blue', name='Sticker Sheet' toolholder: 1 pressure: 8 speed: 6 pressure: 8 depth: 3 mediabox: (0,0)-(203,279.4) bb regoriginx=10.5 regoriginy=10.5 Final bounding box and point counts: {'clip': {'urx': 186.9, 'ury': 0, 'llx': 0, 'lly': 242.0, 'count': 21}, 'only': False, 'count': 45, 'llx': -15.233338541666667, 'urx': 187.73173791666667, 'lly': 245.73169791666666, 'ury': -15.333338541666667}

status=moving done. 0 min 40 sec

mike-brandt commented 3 days ago

changed to silhouette-cameo-registration-marks-a4.svg as template every thing is good now