Wykres commitów

621 Commity (813ee20cfce5509896dfd876671a56e41c0e7e9c)

Autor SHA1 Wiadomość Data
Kaalleen 13c8c81be8
divide zero in satin column (#1151) 2021-04-15 18:39:36 +02:00
Kaalleen a14b02de1e
kerning corrections (#1138) 2021-04-13 17:23:10 +02:00
Kaalleen 6af3473c96
Extend Satin Rungs (#1130)
Co-authored-by: Lex Neva <github.com@lexneva.name>
2021-04-13 17:22:37 +02:00
Kaalleen 7ce3c8e7a0
output a warning in params if simulation cannot load (#1143) 2021-04-10 19:55:48 +02:00
Kaalleen d713c86492
rename transfer params to duplicate params (#1128) 2021-04-05 18:54:09 +02:00
Kaalleen 767ead9081
Delete Command Group on Auto-Route and Cut Satin (#1125) 2021-04-05 11:45:57 +02:00
Kaalleen 8a696e1871
Lettering: ability to force letter case (#1113) 2021-04-02 19:05:34 +02:00
Kaalleen 354759b6ca
Add Transfer Params Extension (#1096) 2021-04-02 10:22:04 +02:00
Lex Neva f787121080
Merge pull request #1083 from inkstitch/lexelby/license-headers
add license headers
2021-03-28 18:11:15 -04:00
Lex Neva 399a2a8cc8
Merge pull request #1082 from inkstitch/lexelby/params-fixes
params fixes
2021-03-28 18:10:09 -04:00
Kaalleen 5f8109b3c3
set min size for params dialog (#1107) 2021-03-28 10:55:31 +02:00
Kaalleen 71a5d4772a
Catch Palette IndexError (#1100)
* thread palette catch indexerror
* export threadlist with utf-8
2021-03-27 16:55:08 +01:00
Kaalleen 7f8e9412ab
pythoncom coinitialize (#1102) 2021-03-24 19:54:02 +01:00
Kaalleen 183b2451fd
update font tools etc (#1086)
* update font tools
* fix tie error
* ignore duplicated commands
2021-03-22 17:06:48 +01:00
Kaalleen 142b3a71d8
read legacy base64 encoded lettering params (#1088) 2021-03-15 18:06:22 +01:00
Kaalleen 21614c7c3a
add lock stitches select box (#1076)
Co-authored-by: Lex Neva <github.com@lexneva.name>
2021-03-14 09:38:36 +01:00
Lex Neva 3b3f890c12 add copyright headers 2021-03-11 23:17:19 -05:00
Lex Neva f1265801b4 fix two issues with node classification 2021-03-11 20:34:29 -05:00
Lex Neva 5edae9fe75 remove unused local variable 2021-03-11 20:34:20 -05:00
Kaalleen e84a86d4ac
Update for Inkscape 1.0 (#880)
* update for inkscape 1.0
* add about extension
* Build improvements for the inkscape1.0 branch (#985)
* zip: export real svg not stitch plan
* #411 and #726
* Tools for Font Creators (#1018)
* ignore very small holes in fills
* remove embroider (#1026)
* auto_fill: ignore shrink_or_grow if result is empty (#589)
* break apart: do not ignore small fills

Co-authored-by: Hagen Fritsch <rumpeltux-github@irgendwo.org>
Co-authored-by: Lex Neva <github.com@lexneva.name>
2021-03-04 18:40:53 +01:00
Kaalleen 40320ce7ee
reduce crossing border issues (#993) 2021-02-06 17:54:00 +01:00
LaureFR38 1cb501986f
Update font.py (#848)
* Add new fonts
* Update old fonts
* Update lettering gui

Co-authored-by: Lex Neva
Co-authored-by: kalleen
2021-02-04 16:40:02 +01:00
Kaalleen bda9389670
stroke width calculation (#940)
Co-authored-by: Lex Neva <lexelby@users.noreply.github.com>
2021-01-23 09:39:33 +01:00
Kaalleen f31e09312a
fix min_arg() is an empty sequence (#941) 2020-12-28 07:13:16 +01:00
Kaalleen fc8f1d0aae
Prevent Auto Route Satin Without Satin Columns (#942) 2020-12-28 07:12:26 +01:00
Kaalleen 41c25ffe14
fix print pdf when svg contains comments (#939) 2020-12-28 07:11:38 +01:00
Kaalleen a21e1113c9
break apart with evenodd rule (#931) 2020-12-22 17:37:11 +01:00
Lex Neva 433b2c401c remove obselete simulate extension 2020-08-19 22:05:34 -04:00
Lex Neva e1fdc254d6 implement install extension in electron/vuetify 2020-08-19 21:16:13 -04:00
Lex Neva 690ee0c416 wip: move install extension to electron 2020-08-19 14:53:01 -04:00
Lex Neva cc5273006c
Merge pull request #736 from inkstitch/kaalleen/link-transforms
transforms on links
2020-08-18 16:16:34 -04:00
Lex Neva e5e16edc0d
Merge pull request #732 from inkstitch/kaalleen/fix-break-apart-small-path-issue
fix break apart small path issue
2020-08-18 16:15:11 -04:00
Lex Neva 811f1714d0
Merge pull request #722 from inkstitch/kaalleen/empty-d
Ignore Empty D
2020-08-18 14:42:14 -04:00
Kaalleen c22035cf27 clone style 2020-06-04 19:15:16 +02:00
Kaalleen 7d44992aea transforms on links 2020-06-04 17:04:47 +02:00
Kaalleen 514d8cd358 fix break apart small path issue 2020-06-01 19:58:52 +02:00
Kaalleen 67482fdfe0
fix non rounded rect path (#727) 2020-05-30 20:04:18 +02:00
Kaalleen 2f27d6af16 ignore empty d 2020-05-27 18:39:04 +02:00
Kaalleen 455b02847f
cleanup extension (#713)
Co-authored-by: Lex Neva <github.com@lexneva.name>
2020-05-27 16:08:19 +02:00
Kaalleen b461b2d85b
fix parse style bug (#709) 2020-05-27 16:07:07 +02:00
Kaalleen 5c7b97c9fe
fix corrupted presets error (#715) 2020-05-20 20:08:59 +02:00
Kaalleen c65b437cae
render single point elements (#701) 2020-05-18 18:46:26 +02:00
Kaalleen 1006476946
fix untranslatable string (#708) 2020-05-18 17:57:37 +02:00
Kaalleen e03b032f85
break apart loops (#690) 2020-05-16 23:12:06 +02:00
Kaalleen a308db7ae1
support svg objects (#643) 2020-05-16 23:01:00 +02:00
Kaalleen 8695198e21
parse unicode color names (#686) 2020-05-15 14:56:02 +02:00
Kaalleen d9c61f4f3f
fix stagger zero division error (#700) 2020-05-15 14:30:58 +02:00
Kaalleen 2df11b5ac5
Add Fonts (#683)
* add geneva fonts
* add dejavu font
* adjust stroke-width
2020-05-15 14:21:20 +02:00
Kaalleen 2aebae6826
fix troubleshoot pointer position (#696) 2020-05-10 13:48:00 +02:00
Kaalleen a67eace2cd
inherit styles (#673) 2020-05-02 15:00:42 +02:00
Lex Neva cb2b4e3522
electron simulator (#531) 2020-04-28 18:34:05 +02:00
Lex Neva eb526927e1
Merge pull request #607 from inkstitch/lexelby/satin-fix
new way better satin algo
2020-04-26 16:12:32 -04:00
Kaalleen 3199050876
Namespaced Attributes (#657) 2020-04-25 14:45:27 +02:00
Kaalleen 1d3b89111e
import threadlist (#666) 2020-04-25 14:24:01 +02:00
Kaalleen 3b2c7ba1a9
fix parse style (#667) 2020-04-25 14:22:17 +02:00
Kaalleen dce3ffa68f
update unconnected shapes message (#668) 2020-04-25 14:16:05 +02:00
Kaalleen b44ca4ebac
threadlist in zip (#664) 2020-04-20 20:53:39 +02:00
Kaalleen 2f4ca0cf10
New Extension: Break Apart and Retain Holes (#653) 2020-04-19 18:38:28 +02:00
Kaalleen d640c928d4
fix palette issues (#660) 2020-04-19 18:37:41 +02:00
Kaalleen cf23f33180
do not translate internal command names (#645) 2020-04-02 18:35:43 +02:00
Kaalleen 7dcd04cc91
preserve aspect ratio (#646) 2020-04-01 18:52:39 +02:00
Kaalleen facf181792
Option to include SVG in ZIP file (#648) 2020-04-01 18:50:14 +02:00
Kaalleen a1c2139521
preserveAspectRatio (#641) 2020-03-28 11:18:52 +01:00
Kaalleen 88ba830a99
add stitch plan extension (#640) 2020-03-22 09:16:28 +01:00
Lex Neva c955803cf1
Merge pull request #608 from inkstitch/lexelby/convert-satin-with-loops
handle self-intersecting paths in convert to satin
2020-03-21 15:59:43 -04:00
Kaalleen 6a012b64ee
add ties checkbox (#619) 2020-03-19 17:37:47 +01:00
Lex Neva 515f2a059e avoid infinite recursion 2020-03-18 23:07:36 -04:00
Lex Neva babd4884dd avoid math domain error 2020-03-18 22:54:25 -04:00
Lex Neva 88a38cce98
Merge pull request #606 from inkstitch/lexelby/fill-fix
avoid jumps when not underpathing autofill
2020-03-18 22:39:55 -04:00
Lex Neva 79542c0d13
Merge pull request #629 from inkstitch/lexelby/no-stub
remove stub
2020-03-18 14:50:29 -04:00
Lex Neva 46dbe4668e actually split outline edge 2020-03-16 23:00:19 -04:00
Lex Neva c81c11eb53 ensure starting point is on the border 2020-03-16 23:00:19 -04:00
Lex Neva 9bb4686df7 fix NetworkXNoPath error 2020-03-16 23:00:19 -04:00
Lex Neva 502f20d6f8 avoid jumps when not underpathing autofill 2020-03-16 23:00:19 -04:00
Lex Neva a06976b654 remove obselete compensation parameter 2020-03-16 22:59:28 -04:00
Lex Neva 6d4a36f1a6 new way better satin algo 2020-03-16 22:59:28 -04:00
Lex Neva d52373a32a handle self-intersecting paths in convert to satin 2020-03-16 22:58:33 -04:00
Kaalleen 9756918933
multiple underlays for fill 2020-03-16 18:38:10 +01:00
Lex Neva a4277d19a6 remove stub 2020-03-06 22:39:25 -05:00
Kaalleen 7cc8b0c14e
fix remove commands for foreign languages (#618) 2020-03-05 18:15:34 +01:00
Lex Neva 8e590d069b
Merge pull request #573 from inkstitch/lneva/stdout-encoding
fixes
2020-02-18 20:30:40 -05:00
Kaalleen 0c0874b91c
reset embroidery settings (#506) 2020-02-02 20:08:00 +01:00
Lex Neva 6873098dee
Merge pull request #524 from inkstitch/lexelby/fix-auto-satin
fix 'LineString has no method geoms' error
2020-01-31 20:09:39 -05:00
Lex Neva 7b8a5a2c25
Merge pull request #557 from inkstitch/lexelby/no-commands-in-print
don't show visual commands in print preview
2020-01-31 20:06:50 -05:00
Lex Neva c08d838ade mac: wait for electron window to close 2020-01-29 01:29:49 -05:00
Kaalleen 5375945def
Fix Default Origin Position (#576)
fix default origin position
2019-11-14 07:15:38 +01:00
Lex Neva 468ed07c33 don't show visual commands in print preview 2019-10-21 20:20:45 -04:00
Lex Neva 1f7c6a6c29 fix 'LineString has no method geoms' error 2019-08-15 22:49:37 -04:00
Lex Neva dafc3b9782 ignore single-point point lists too 2019-08-10 22:22:46 -04:00
Lex Neva 0c9f13d766 remove STOP at the end 2019-08-10 22:16:08 -04:00
Lex Neva 09bf8bd1cb allow unicode filenames again 2019-08-10 22:14:47 -04:00
Lex Neva 363e052097 input: read STOP commands too 2019-08-10 22:14:47 -04:00
Kaalleen 077f7ea72b add Troubleshoot extension (#465)
adds an extension to help you understand what's wrong with an object and how to fix it, e.g. "invalid" fill shapes
2019-08-05 22:42:48 -04:00
Kaalleen 956ec51a8b
Fix simulator scale in macOS (#504) 2019-08-03 07:51:04 +02:00
Kaalleen d5e873f8c5
Merge pull request #481
show various bugs the door
2019-07-28 10:02:28 +02:00
Lex Neva 833a8a971d
Merge pull request #487 from inkstitch/no_import_jumps
remove additional jump stitches on import
2019-07-27 15:48:50 -04:00
Lex Neva 03af8b3727
add grbl laser options for g-code output (#450)
add grbl laser options for g-code output
2019-07-27 15:45:12 -04:00
Momo 7ce4387ff6 trim >= 3 jumps 2019-07-10 08:08:39 +02:00
Lex Neva cff12ce18f remove all empty color blocks 2019-07-09 20:39:07 -04:00
Momo 0cd562a4fc delete empty color block 2019-07-07 16:25:21 +02:00
Kaalleen fccefb3e0d
rescue VP3 2019-07-07 15:55:48 +02:00
Kaalleen 1b18d915a9
use get_pattern_interpolate_trim
This has the same inaccuracy as the previous version, but we can actually use a pyembroidery function to turn a specific number of jumps into trims.
2019-07-06 11:24:56 +02:00
Kaalleen 62d4e35be9
fix layer commands 2019-07-06 10:18:01 +02:00
Lex Neva bec33656ec add trim commands in import and stitch plan 2019-07-04 17:22:46 -04:00
Kaalleen 3ef2ad9be4 fix style 2019-07-04 10:52:30 -04:00
Kaalleen f039ef4c8d respect trim commands 2019-07-04 10:52:30 -04:00
Kaalleen 23ac0a4f7f Ignore commands on input files 2019-07-04 10:52:30 -04:00
Lex Neva 32548e8e51
lettering features (#399)
lettering features
2019-07-04 10:51:22 -04:00
Kaalleen 4db305a36d
unicode export 2019-07-02 18:12:20 +02:00
Kaalleen e81e819602
fix unicode error message 2019-06-24 18:54:43 +02:00
Kaalleen e478ec10d8
fix unicode import (#482) 2019-06-23 20:26:57 +02:00
Lex Neva 54179d76bc fix style 2019-06-22 19:05:57 -04:00
Lex Neva 2258bf76ca partial fix for unicode filenames (#478) 2019-06-22 18:46:39 -04:00
Lex Neva 18f50a93eb handle unicode node names (fixes #467) 2019-06-22 18:12:50 -04:00
Lex Neva 46fc95eea5 handle document width/height of 100% (fixes #476) 2019-06-22 18:13:05 -04:00
Lex Neva e8bd745dfc handle single linestrings properly (fixes #471) 2019-06-22 18:13:01 -04:00
Lex Neva 249c876ef5 better message for unconnected fill shapes (fixes #463) 2019-06-22 18:12:57 -04:00
Lex Neva f031560429 update embroider_satin_column in all cases (fixes #466) 2019-06-22 18:12:50 -04:00
Lex Neva ebb4ebb42c rework fill shape parsing code (fixes #469) 2019-06-22 18:12:50 -04:00
Lex Neva 68609cc912 don't treat objects without stroke as SatinColumn (fixes #460) 2019-06-22 18:12:54 -04:00
Lex Neva 6a8f385d13 fix IndexError for single-path satin columns (fixes #366) 2019-06-22 18:12:50 -04:00
Lex Neva 57e0c0b79b rephrase/verbosify 'no embroiderable paths' error 2019-05-08 20:17:49 -04:00
Lex Neva 013b4c2739 speed up startup by lazy-loading glyphs 2019-04-30 20:15:58 -04:00
Lex Neva 43a385ea0a Merge branch 'master' into lexelby/lettering-features 2019-04-30 19:57:31 -04:00
Lex Neva 155e1ed165 remove unnecessary check 2019-04-30 19:56:14 -04:00
Lex Neva febf98a2d3 add grbl laser options for g-code output 2019-04-30 19:46:12 -04:00
Lex Neva 352aebad5e comment to explain sleep 2019-04-23 19:57:49 -04:00
katee a3b7d8eb42
Refactor electron to always pipe stdout to /dev/null 2019-04-22 21:42:17 -04:00
Lex Neva b307b8e824 fix style 2019-04-20 22:01:58 -04:00
Lex Neva d61b998912 Merge remote-tracking branch 'origin/master' into lexelby/electron 2019-04-20 21:46:28 -04:00
Lex Neva fee43e0941 fix parameter management 2019-04-18 11:35:29 -04:00
Kate Murphy 67027f0704
Fix crashed caused by Inkscape reading message from stdout 2019-04-17 21:48:44 -04:00
Kate Murphy 944834593d
Build inx files in locale folders and build release for each locale 2019-04-17 19:40:49 -04:00
Lex Neva 30d80ab41b add scale bar to simulator for comparison 2019-04-16 21:01:25 -04:00
Lex Neva 313cd44483 don't overwrite user's positioning of text when re-editing 2019-04-15 20:26:30 -04:00
Lex Neva 9b2a47136b enable print button 2019-04-12 17:57:07 -04:00
Lex Neva 5b5cde330f fix dev path 2019-04-12 16:48:25 -04:00
Lex Neva 3a3c9e5406 fix style 2019-04-12 15:32:37 -04:00
Lex Neva 0d54c828d0 use docker for windows 2019-04-12 02:26:02 -04:00
Lex Neva 28ffc8692c launch electron properly on macos 2019-04-11 01:18:50 -04:00
Lex Neva 7e04b879c2 wait for server to (probably) be up 2019-04-11 00:03:33 -04:00
Lex Neva d52dc8d5fc fix electron path 2019-04-11 00:03:23 -04:00
Lex Neva 9ccf2f552b switch print pdf gui to electron 2019-04-10 23:37:16 -04:00
Lex Neva 98e59f2550 add support for scaling text 2019-04-10 20:23:11 -04:00
Kaalleen 75fdfe22de
fix base file name bug 2019-04-10 17:42:49 +02:00
Lex Neva 2c39fbc8cf Merge branch 'master' into lexelby/revamp-fill 2019-04-10 00:07:55 -04:00
Lex Neva 9d4441b700 remove unnecessary comparisons to None 2019-04-10 00:00:44 -04:00
Lex Neva a766e4e408 make error message more readable 2019-04-09 23:49:54 -04:00
Lex Neva 92541eb760 split up long function 2019-04-09 23:47:24 -04:00
Kaalleen c94a28756d
simulate needle penetration points 2019-04-07 21:00:14 +02:00
Lex Neva f204366347 try harder to avoid traveling around the border 2019-04-04 19:58:35 -04:00
Lex Neva 1f7b69980c render graphs as a single path to avoid killing inkscape 2019-04-04 19:57:40 -04:00
Lex Neva 6c5e57d39c implement lettering presets 2019-04-02 23:39:54 -04:00
Lex Neva a6a86973dd add localization for font names and descriptions 2019-04-02 23:07:38 -04:00
Lex Neva a9cf553066 add font description to font selector dropdown 2019-04-02 22:36:54 -04:00
Lex Neva 5550536949 implement font chooser 2019-04-02 20:15:06 -04:00
Kaalleen 211561eabc
simulator stitch box improvement (#402) 2019-04-02 06:27:33 +02:00
Lex Neva f5f0ce49a8 fix 'too many values to unpack' exception 2019-03-30 22:20:46 -04:00
Lex Neva d0ce93649d
Merge pull request #401 from inkstitch/lexelby/satin-density-fix
don't do density compensation in underlay
2019-03-30 21:57:19 -04:00
Lex Neva 37722b7ddf fix underlay underpath checkbox 2019-03-30 21:56:39 -04:00
Lex Neva 284ef6afcb avoid parsing forward slashes in docstring 2019-03-29 20:24:24 -04:00
Lex Neva 513850c975 add vertical travel edges for less jagged travel paths 2019-03-29 20:19:25 -04:00
Lex Neva 90a16fb7f9 more debug logging 2019-03-29 15:03:28 -04:00
Lex Neva 1995015021 add SVG debugging with LineStrings 2019-03-28 15:52:42 -04:00
Lex Neva 56f1d85647 add timing logging for auto-fill 2019-03-28 15:22:11 -04:00
Lex Neva 8aa86f6619 set up debug logging 2019-03-28 15:21:50 -04:00
Kaalleen f435520663
Add Custom Page to Print PDF (#418) 2019-03-26 18:24:02 +01:00
Lex Neva f6e6d099d2 penalize outline edges more 2019-03-24 14:57:47 -04:00
Lex Neva af6588a442 'fix' style 2019-03-24 14:50:49 -04:00
Lex Neva cf6621d0dd make travel stitch prefer the center of the shape 2019-03-22 20:08:47 -04:00
Lex Neva e54b9d7d8d default underlay underpathing to enabled as well 2019-03-22 19:34:03 -04:00
Lex Neva e7a8a3677b put underlay underpath checkbox in the right tab 2019-03-21 21:09:03 -04:00
Lex Neva eada4bed7e don't let simulator preview thread crash 2019-03-21 21:09:03 -04:00
Lex Neva 90fe045169 don't try to end inside the shape 2019-03-21 21:09:03 -04:00
Lex Neva 97ced89e87 switch to multigraph to avoid accidentally deleting outline edges 2019-03-20 22:41:57 -04:00
Lex Neva 1e5733bbcd add first stitch 2019-03-20 20:46:26 -04:00
Lex Neva 4c1f1bc2bb tidy up start/end travel code 2019-03-20 20:45:29 -04:00
Lex Neva 69df0271b5 protect against shapely error 2019-03-20 20:35:54 -04:00
Lex Neva 685df3b3f0 fix start/end at top or bottom of shape 2019-03-19 23:28:19 -04:00
Lex Neva 68590492f5 allow starting and ending on the border of a hole 2019-03-19 22:36:05 -04:00
Lex Neva 6b8121fb04 add underpath checkboxes for underlay and top stitching 2019-03-19 22:30:07 -04:00
Lex Neva 8520d4e63c avoid cutting corners 2019-03-19 20:26:25 -04:00
Lex Neva ba2b78d349 use blazing-fast STRtree for intersection detection 2019-03-19 20:02:42 -04:00
Lex Neva 2ba333c8a7 avoid putting underpathing on top 2019-03-18 20:57:05 -04:00
Lex Neva ec14fe7343 more cleanup 2019-03-14 21:54:51 -04:00
Lex Neva 200e2ac5f7 deduplicate and comment code 2019-03-14 21:46:44 -04:00
Lex Neva e616061e85 underpathing! 2019-03-14 21:02:47 -04:00
Lex Neva 30ea54dc6d tidy up the code a bit 2019-03-13 20:11:07 -04:00
Lex Neva 8323bd5f0f remove unused code 2019-03-13 06:18:27 -04:00
Lex Neva 8ffa9ca90e faster, simpler auto-fill algorithm 2019-03-12 23:03:22 -04:00
Lex Neva 0a06fa740c shapely.geometry -> shgeo for brevity 2019-03-12 22:32:56 -04:00
Lex Neva 110dca3c9a make debugging auto-fill easier 2019-03-10 18:24:10 -04:00
Lex Neva 13b6c67644 less haphazard positioning for commands 2019-03-08 20:51:58 -05:00
Lex Neva d1c001857d get root properly 2019-03-08 20:51:58 -05:00
Lex Neva fb3c8186d2 lower trim threshold to 0.75mm 2019-03-08 20:06:36 -05:00
Lex Neva a14ed903cf auto satin should trim at the end too 2019-03-08 19:59:28 -05:00
Lex Neva 602f201cb6 implement trim option for lettering 2019-03-08 19:57:11 -05:00
Lex Neva 53a9bd6b31 add trims in stitches.auto_satin 2019-03-08 19:57:11 -05:00
Lex Neva 4ba3cd7085 refactor add_commands() out into commands module 2019-03-08 19:57:11 -05:00
Lex Neva aea7b846a2 correct for viewbox 2019-03-08 19:57:11 -05:00
Lex Neva 003ee406a5 add trim checkbox 2019-03-08 19:57:11 -05:00
Lex Neva f30dba6728 don't do density compensation in underlay 2019-03-08 19:55:13 -05:00
Kaalleen 0b9f95ed88
keep color when convert to satin column 2019-03-06 17:49:43 +01:00
Lex Neva b63fe4aa84 avoid gaps at the end 2019-03-01 21:31:20 -05:00
Lex Neva bf40f01b5d compensate for non-parallel rails
This uses some trig to try to reduce the excess density we were seeing with
rails that expand or contract from each other.  While I was in there I
redid the satin algorithm, making it much simpler and less magical-seeming.
2019-03-01 21:31:20 -05:00
Lex Neva fa3236372b fix style 2019-02-16 16:53:38 -05:00
Lex Neva be7d0af82d improve error message when trying to autofill tiny shapes 2019-02-16 16:53:38 -05:00
Lex Neva 4c7f8f32fd show inkscape label in error messages 2019-02-16 16:53:38 -05:00
Lex Neva 52bf2c80b6 fix style 2019-02-16 16:53:38 -05:00
Lex Neva fdd9a74fd6 fix argument bug in auto-satin 2019-02-16 16:53:38 -05:00
redhat421 f3cdcfbdfa Remove extra self param from store_preset call. (#381)
It looks like an extra "self" parameter was added to the store_preset call in the add_preset function.

This prevents add_preset from working.
2019-02-16 16:53:38 -05:00
Kaalleen 7b04eb1234 Fix print metadata (#372) 2019-02-16 16:53:38 -05:00
Lex Neva 3d99377852 don't add jump stitches between satin column fill and top stitching 2019-01-17 19:55:51 -05:00
Lex Neva 6a8edfc1cd fix crash if fill start and end points are very close 2019-01-04 20:22:10 -05:00
Lex Neva 04ed93cb25 ability to stitch a single-point running stitch path 2019-01-04 20:08:11 -05:00
Lex Neva 004df12e88 don't crash on a design with no stitches 2018-12-30 20:15:32 -05:00
Lex Neva c8d354a2fc print error message correctly 2018-12-22 22:12:23 -05:00
Lex Neva 32458c619a fix fill == none detection 2018-12-19 14:39:47 -05:00
Lex Neva 9f4f6d85a0 fix duplicate point handling 2018-12-19 12:46:31 -05:00
Lex Neva 3cf7f1547c fix error message 2018-12-18 20:32:14 -05:00
Lex Neva dc77f5cebc fix style 2018-12-18 20:25:08 -05:00
Lex Neva ef45f4b740 Merge branch 'master' into lexelby/bugs 2018-12-18 20:23:04 -05:00
Lex Neva 1e0280db10
basic lettering GUI (#351) 2018-12-15 20:21:41 -05:00
Lex Neva 8f3c922011 fix style 2018-12-13 20:10:50 -05:00
Lex Neva 9ae97154d6 add option to skip last stitch in fill rows 2018-12-12 20:55:04 -05:00
Lex Neva 7a73b20115 tidy imports 2018-12-12 20:55:04 -05:00
Lex Neva 74e6dac011 avoid creating paths with empty 'd' in stitch plan (#363) 2018-12-12 20:55:04 -05:00
Lex Neva e47fcaa8da tidy up imports 2018-12-12 20:55:04 -05:00
Lex Neva ef83ff75a0 use proper defaults for fill and stroke in Params (#362) 2018-12-12 20:55:04 -05:00
Kaalleen 8389d792ad
Fix encoding 2018-11-23 22:09:40 +01:00
Lex Neva f5c85183d9
basic lettering (#344)
Can handle multiple lines of text and routes the stitching in alternating directions on each line.
2018-11-14 20:23:06 -05:00
Lex Neva be833f898f
new extension: Auto-Route Satin Columns (#330)
**video demo:** https://www.youtube.com/watch?v=tbghtqziB1g

This branch adds a new extension, Auto-Route Satin Columns, implementing #214!  This is a huge new feature that opens the door wide for exciting stuff like lettering (#142).

To use it, select some satin columns and run the extension.  After a few seconds, it will replace your satins with a new set with a logical stitching order.  Under-pathing and jump-stitches will be added as necessary, and satins will be broken to facilitate jumps.  The resulting satins will retain all of the parameters you had set on the original satins, including underlay, zig-zag spacing, etc.

By default, it will choose the left-most extreme as the starting point and the right-most extreme as the ending point (even if these occur partway through a satin such as the left edge of a letter "o").  You can override this by attaching the new "Auto-route satin stitch starting/ending position" commands.

There's also an option to add trims instead of jump stitches.  Any jump stitch over 1mm is trimmed.  I might make this configurable in the future but in my tests it seems to do a good job.  Trim commands are added to the SVG, so it's easy enough to modify/delete as you see fit.
2018-10-30 17:43:21 -06:00
Lex Neva d9525968a2
fix manual stitch and add debugging support (#339)
* add debugging support using pydev

* fix: don't add tie stitches for manual stitch

* fix style
2018-10-23 18:08:46 -06:00
Lex Neva 1d55716f26
add g-code output format (#336) 2018-10-20 17:50:39 -06:00
Lex Neva 8830eb7d40
new extension: split satin (#315)
This branch adds a new command to split a satin column at a specified point.  The split happens at a stitch boundary to ensure that the two resulting satins sew just like the original.  All parameters set on the original satin remain set on the two new satins, and all rungs are retained.  If one of the satins would have no rungs left, a new rung is added.

How to use:

1. Select a satin column (simple satin doesn't work)
2. Attach the "Satin split point" command using the "Attach commands to selected objects" extension.
3. Move the symbol (or just the connector line's endpoint) to point to the exact spot you want the satin to be split at.
4. Select the satin column again.
5. Run "Split Satin Column".
6. The split point command and connector line disappear, and nothing else appears to have happened.  Select your satin and you'll see that it's been split.

This extension is a by-product of my initial work on #214.  Ink/Stitch will need the ability to split a satin at an arbitrary point, and I figured, why not go ahead and release that functionality as an extension while I'm at it? :)
2018-09-29 14:00:36 -06:00
Lex Neva 5139c13fd7
Merge pull request #316 from inkstitch/lexelby/bug-fixes
more bug fixes
2018-09-29 13:22:05 -06:00
Kaalleen efc2816f3c
update simulator (#318)
* fix change direction button
* pause animation when going one step forward or backward
* add button tool tips to inform about shortcut keys
2018-09-22 07:59:20 +02:00
Lex Neva ac77a72f3f bullets require unicode strings 2018-09-18 20:39:54 -04:00
Lex Neva 9203283081 use ugettext() instead of gettext() 2018-09-18 20:24:53 -04:00
Lex Neva 5e9cb83a93 remove code style exemption for params.py and simulator.py 2018-09-16 13:09:49 -04:00
Lex Neva fa125ff27e remove obselete 'fake color change' code 2018-09-16 13:09:00 -04:00
Lex Neva 9b619de228 use faster algorithm for ties 2018-09-15 21:35:04 -04:00
Lex Neva bdf98a7e91 handle SVGs without bounding box 2018-09-15 21:03:42 -04:00
Lex Neva d30507171b Merge remote-tracking branch 'origin/master' into lexelby/bug-fixes 2018-09-12 20:51:16 -04:00
Lex Neva d398e10b85 Merge remote-tracking branch 'origin/master' into lexelby/bug-fixes 2018-09-12 20:31:06 -04:00
Lex Neva a876066c75 Merge remote-tracking branch 'origin/master' into simulator-timeline 2018-09-12 20:30:13 -04:00
Lex Neva ba1c2ea78f fix lint 2018-09-12 20:25:15 -04:00
Lex Neva 7b5995c705 fix logic 2018-09-10 23:06:18 -04:00
Lex Neva 944022ee53 proper running stitch for big row spacing 2018-09-10 23:04:08 -04:00
Lex Neva b437b8403c fix pencil icon path 2018-09-09 00:07:59 -04:00