Josh Holtrop
|
1d5f65bda8
|
use drawHandle() instead of drawConnect()
|
2011-10-03 21:36:43 -04:00 |
|
Josh Holtrop
|
76781b0ef6
|
install-deps: install openopt
|
2011-10-03 21:28:49 -04:00 |
|
Josh Holtrop
|
af826b32fe
|
fix gtkgl import
|
2011-10-03 21:22:49 -04:00 |
|
Josh Holtrop
|
096072e21d
|
download and extract OpenOpt
|
2011-10-03 21:22:37 -04:00 |
|
Josh Holtrop
|
3826686c96
|
install-deps: handle gtkgl dependency
|
2011-10-03 21:16:32 -04:00 |
|
Josh Holtrop
|
9be9335d8e
|
update install-deps to get numpy and FuncDesigner
|
2011-10-03 20:45:33 -04:00 |
|
Josh Holtrop
|
f84c9d4234
|
make use of PointRef.getPt(), silly
|
2011-10-03 18:01:49 -04:00 |
|
Josh Holtrop
|
a6ae3dd3a6
|
redraw when cancelling in ConnectMode
|
2011-10-03 17:59:16 -04:00 |
|
Josh Holtrop
|
599d21a272
|
always queue a redraw when changing modes
|
2011-10-03 17:58:12 -04:00 |
|
Josh Holtrop
|
bf340f12d9
|
add draw() to Mode; draw in-progress Connects
|
2011-10-03 17:55:28 -04:00 |
|
Josh Holtrop
|
751b063237
|
add XDim and YDim modes (no graphics yet)
|
2011-10-03 12:29:50 -04:00 |
|
Josh Holtrop
|
1585c8c9f2
|
add initial Dimension class
|
2011-10-03 11:09:00 -04:00 |
|
Josh Holtrop
|
075538442f
|
add initial install-deps script
|
2011-10-01 22:58:56 -04:00 |
|
Josh Holtrop
|
1c7c495914
|
HorizontalMode and VerticalMode inherit from ConnectMode
|
2011-09-30 15:25:47 -04:00 |
|
Josh Holtrop
|
62dcd76efc
|
draw horizontal/vertical constraints connecting multiple shapes
|
2011-09-30 14:58:00 -04:00 |
|
Josh Holtrop
|
a24179d38f
|
add Horiz/Vert contraint buttons and drawing modes
|
2011-09-30 14:40:09 -04:00 |
|
Josh Holtrop
|
6c6e7be7e4
|
update snap points after solving sketch
|
2011-09-30 14:22:10 -04:00 |
|
Josh Holtrop
|
49de2c6245
|
slight optimization for drawing circles
|
2011-09-09 14:18:06 -04:00 |
|
Josh Holtrop
|
c622bf671b
|
ConnectMode: right click to cancel connection
|
2011-09-09 14:01:29 -04:00 |
|
Josh Holtrop
|
155d04fc90
|
ConnectMode: clear first ptref when creating a Connect!
|
2011-09-09 09:13:13 -04:00 |
|
Josh Holtrop
|
e0491b7b1a
|
ConnectMode creates Connect object and re-solves sketch!
|
2011-09-08 16:32:26 -04:00 |
|
Josh Holtrop
|
702aa1eaf8
|
add ConnectMode class
|
2011-09-08 16:00:28 -04:00 |
|
Josh Holtrop
|
05c8627395
|
add Mode, LineMode, and CircleMode classes
|
2011-09-08 15:58:07 -04:00 |
|
Josh Holtrop
|
701b7db7ba
|
use "object" baseclass for unspecified superclasses
|
2011-09-08 15:29:51 -04:00 |
|
Josh Holtrop
|
fe5af49b39
|
create temporary addButton() method for text-based toolbar items
|
2011-09-08 15:21:35 -04:00 |
|
Josh Holtrop
|
7afe81f775
|
update status icon with sketch solve status
|
2011-09-08 14:41:51 -04:00 |
|
Josh Holtrop
|
f15c2dfd79
|
add invalidate(); call from merge_in_drawing_shape()
|
2011-09-08 14:25:57 -04:00 |
|
Josh Holtrop
|
1f98204b4a
|
solve() in reshape() instead of init()
|
2011-09-08 14:25:37 -04:00 |
|
Josh Holtrop
|
f9d9d9ebfb
|
add SketchWidget.solve(); Window.update_sketch_status()
|
2011-09-08 14:21:39 -04:00 |
|
Josh Holtrop
|
8066327ad9
|
change StatusBar to a VBox of individual status elements
|
2011-09-08 14:08:31 -04:00 |
|
Josh Holtrop
|
4a76120fce
|
right-click while not drawing will return to select mode
|
2011-09-06 16:01:01 -04:00 |
|
Josh Holtrop
|
7d256d4fe1
|
clean up shapes and constraits package imports to only import classes
|
2011-08-08 15:35:41 -04:00 |
|
Josh Holtrop
|
c69c7e3184
|
split set_hover_snap_point() from update_hover_snap_point()
|
2011-08-05 10:19:59 -04:00 |
|
Josh Holtrop
|
9f9747cbe8
|
add get_snap_ptrefs_within_range()
|
2011-08-04 18:51:37 -04:00 |
|
Josh Holtrop
|
e3c9d19e9a
|
connect to snap points when creating a circle
|
2011-08-04 14:39:15 -04:00 |
|
Josh Holtrop
|
f489d11a57
|
draw in-progress lines to snap point
|
2011-07-28 19:53:01 -04:00 |
|
Josh Holtrop
|
84f1e6585b
|
do not create a horizontal/vertical constraint when snapping lines
|
2011-07-28 18:10:38 -04:00 |
|
Josh Holtrop
|
f6b2b30910
|
add snap points for just-drawn shapes
|
2011-07-28 18:06:18 -04:00 |
|
Josh Holtrop
|
aebf7df80f
|
add PointRef class, convert snap points to PointRef instances
|
2011-07-28 18:01:16 -04:00 |
|
Josh Holtrop
|
de69e966cb
|
clear hover snap point when drawing a circle
|
2011-07-28 13:15:59 -04:00 |
|
Josh Holtrop
|
fdcb07003c
|
snap lines to shape handles while drawing
|
2011-07-28 10:28:57 -04:00 |
|
Josh Holtrop
|
c75fbc50ab
|
add Connect constraints for sequentially drawn lines
|
2011-07-28 09:19:19 -04:00 |
|
Josh Holtrop
|
b5080f14dd
|
change drawingConstraints to a hash for easier updating
|
2011-07-28 00:43:43 -04:00 |
|
Josh Holtrop
|
ada889ab5e
|
increase snap dist, store snap_dist^2
|
2011-07-28 00:00:23 -04:00 |
|
Josh Holtrop
|
6c91677c11
|
draw hover snap point
|
2011-07-27 23:57:32 -04:00 |
|
Josh Holtrop
|
a0fe5aa6aa
|
move glColor() out of individual draw routines
|
2011-07-27 23:17:35 -04:00 |
|
Josh Holtrop
|
03754f3cec
|
call do_*_motion() regardless of drawing status
|
2011-07-27 22:58:55 -04:00 |
|
Josh Holtrop
|
4a7e677bf3
|
added cancel_drawing_shape()
|
2011-07-27 22:42:36 -04:00 |
|
Josh Holtrop
|
47ac5cb3fd
|
clear drawingShape/drawingConstraints on new mode
|
2011-07-27 22:40:16 -04:00 |
|
Josh Holtrop
|
895fa54ed7
|
change cursor for drawing modes
|
2011-07-27 22:26:09 -04:00 |
|