Wykres commitów

36 Commity (main)

Autor SHA1 Wiadomość Data
Howard DaCosta d1ef25927c code cleanup, added util file
Make stitches file breaking with bezier import, look into this
2022-04-05 11:49:05 -04:00
Howard DaCosta 965cc5bab9 interpolation wiring is fixed
users can:
- specify arbitrary custom routing chains between any number of groups
- start interpolation routing at different parts of a wire group (not required to be the top and bottommost wires)

- v2 version: add logic to allow interpolation wires to route to different wires in other groups ( to allow for reverse routing)
2022-04-05 11:28:12 -04:00
Howard DaCosta 13596f9fcf db logic integrated to custom grid creation 2022-03-31 13:34:40 -04:00
Howard DaCosta 858529f128 integration of SQL db into wire combination logic
Inclusion of db allows for easier detection of wire groups and user-created interpolation wires. However, it seems to greatly increase the time of computation. Future work includes (1) investigating more efficient db methods and (2) doing garbage collection on irrelevant wire data
2022-03-31 12:46:34 -04:00
Howard DaCosta 7ac27e3e14 intersection and pitch checking for generated combination wires 2022-03-30 16:25:48 -04:00
Howard DaCosta ce3e56a5ee [V1] Custom routing for combination of wires
users now have the option to add "interpolation wires" when combining wire groujps, which creates custom routing wires. Logic needs to be refined a bit more to be more robust, also need to add line intersection/pitch detection to invalidate user inputs.
2022-03-16 15:38:28 -04:00
Howard DaCosta d9b2fb0c58 Refactored default stitch combination
Given new representation of stitches (that no longer need to wire together in a group), the default combination algorithm is much simpler
2022-03-15 20:49:05 -04:00
Howard DaCosta d5c7deffa8 Changed how stitches are created, added file dest input for make stitches 2022-03-15 19:58:28 -04:00
Howard DaCosta 0a08c8d4a4 Stitching of arbitrary curves and line segments
Next TODO: stitching of composite grids as well as rework of combine grids algorithm
2022-03-08 16:37:17 -05:00
Howard DaCosta 72a932b325 Grid generation for arbitrary 4 sided shapes
Functionality for creating wire grids on any 4-sided shape. This also works for any rotational axis. One bug here is that the extension does not work when the Rectangle tool is used.
2022-02-16 13:37:00 -05:00
Howard DaCosta 300bd332a9 fixed singular grid stitching.
Stitching for single horizontal grids now works, remapping to vertical is very simple and will being composite grid structures shortly
2022-02-08 14:16:30 -05:00
Howard DaCosta 96e9daf700 prototype for automatic stitching
initial code for automated stitching
2022-02-07 20:34:30 -05:00
Howard DaCosta 3fe0f76e70 combining grids works (on a basic level) w/o inkstitch 2022-01-06 14:47:39 -05:00
Howard DaCosta c41ccf9e4f can create grids without the need for inkstitch 2022-01-06 13:38:00 -05:00
Howard DaCosta e49be2df0e endpoint logic fixed 2021-12-21 11:53:03 -05:00
Howard DaCosta 912e54327a code cleanup 2021-12-20 15:21:32 -05:00
Howard DaCosta 99771ac8ae prototype code for partial routing
TODOs:
- logic for determining the number of wires in a grid needs to get changed to account for more complex wire configurations
- logic for connecting last wire to grid needs to get updated such that it works in all cases
- logic for pairing wires should (ideally) be combined with the logic for partial routing. It should be the same thing but some weird bug is keeping this from happening.
2021-12-20 15:17:30 -05:00
Howard DaCosta 456c8a35b1 support for grid connection in all 4 directions 2021-12-20 12:24:47 -05:00
Howard DaCosta a6a05a7eb1 vertical wire grid joins work
todo: allow all orientations of connectors to work (currently only works when connector is on the right of grids (for horizontal) or on the bottom of grids (for vertical)
2021-12-16 16:08:35 -05:00
Howard DaCosta 44950b93db routing of disjoint grids to connector pins works 2021-12-16 14:28:20 -05:00
Howard DaCosta 29b54f3086 connecting multiple grids to a connector works
current bug: grids with multiple joins do not hook up correctly
2021-12-15 14:54:02 -05:00
Howard DaCosta 49fc06d5ce vertical wire union works 2021-12-03 10:49:57 -05:00
Howard DaCosta 6c92bd5591 users can now choose to add 0 wires in a given direction, should make it easier to edit 2021-12-03 10:21:21 -05:00
Howard DaCosta 39cda7bffc horizontal joins work for components with the same number of wires 2021-12-02 17:20:40 -05:00
Howard DaCosta e7e98123f2 Added prelimary folder for solo extension
This folder contains the extension of intelligent textiles WITHOUT the need for inkstitch manual installation. Currently does not work as it cannot manipulate svg at all, but it is a good thing to have as it would make its usability much greater
2021-11-19 11:20:25 -05:00
Howard DaCosta 34f70c9aec scrap code for combining grids, will fix when design is fleshed out more 2021-11-17 20:48:48 -05:00
Howard DaCosta dc8d9f86f2 added new commands 2021-11-17 18:11:03 -05:00
Howard DaCosta a25c86c46e added code to separate sensor grid functionality. Create grid will be used to create a grid of uniform density on 1 selected object. 2021-11-16 20:08:16 -05:00
Howard DaCosta de537c80e1 Code cleanup 2021-11-09 20:43:26 -05:00
Howard DaCosta 52b4d747fb Script for generating sensor grid and routing to connectors
Beta Code for routing wires to connectors.
2021-11-08 20:54:28 -05:00
Howard DaCosta 6443f43a49 Parsed arbitrary polygon svg shape for path points
- serialized polygon into (1) series of points that make up its border and (2) its overall bounding box.

Next steps are to start wire routing from within shape and into other connectors
2021-11-03 13:09:09 -04:00
Howard DaCosta 6e8611e166 Wires are now grouped and move together
Created horizontal / vertical wire as one path each, so they can now be dragged together.
2021-10-27 16:44:50 -04:00
Howard DaCosta 4ca29cd708 adding relevant files for my extension
will add a README detailing how to put these files into inkstitch environment
2021-10-25 13:09:15 -04:00
Howard DaCosta 316f13687a adding intial code
copying inkstitch over, will get around to actually adding extension to the inkstitch repo
2021-10-25 12:56:09 -04:00
Howard DaCosta 1c48e37545 Adding initial code
Can currently draw lines using extension code
2021-10-25 12:50:09 -04:00
Howard DaCosta f434c54349
Initial commit 2021-10-25 12:03:45 -04:00