Shamus Hammons [Thu, 21 Jun 2018 02:22:46 +0000 (21:22 -0500)]
Added miscellaneous features.
- Added ability to add Dimensions to drawing
- Added ability to scroll viewport by holding down <ALT>
- Fixed drawing load to handle OTText objects correctly
- Fixed Pen widget to allow setting attributes on objects correctly
Shamus Hammons [Fri, 12 May 2017 03:12:36 +0000 (22:12 -0500)]
Add pen toolbar widget.
Right now, you can change existing objects' attributes. Will probably
have to add code to make it so that new objects pick up the attributes
in the pen widget.
Shamus Hammons [Tue, 25 Aug 2015 14:49:25 +0000 (09:49 -0500)]
Fixes for the Layer widget.
All buttons are hooked up and working now, but there is still much to do
to get the Drawing working properly with it, such as putting objects into
the correct layer, hiding layers that the user set as hidden, disallow
editing for layers the user set as locked, & etc.
Initial work on bringing sanity to insane codebase.
Yup, we're chucking out the object oriented-ness from the code, as it
really didn't add anything but a layer of obfuscation that needlessly made
following/changing anything in the code a nightmare of parallel
modification. No more! We drank the OO Kool-Aid years ago, and it's
poison!
Shamus Hammons [Mon, 19 May 2014 18:36:53 +0000 (13:36 -0500)]
Added new triangulation tool, ability to snap to endpoints/intersections.
Note that the new snap functionality is not yet complete; there are still
gaps in functionality for different entities. It's almost in a usuable
state--just have to tweak a few things here and there and I can put out a
1.0.0 for general consumption. :-)
Shamus Hammons [Fri, 14 Feb 2014 19:38:28 +0000 (13:38 -0600)]
Added preliminary (i.e., non-functional) trim tool. Also:
- Bugfix for incorrect mirrored point in Geomtry::Mirror()
- Added miscellaneous missing icons
- Added auto-connect to add lines tool
- Fixed Dimension object to respond to where the dimension line actually is
Shamus Hammons [Tue, 4 Feb 2014 18:39:23 +0000 (12:39 -0600)]
Misc. fixes & additions
Fixed handedness of Vectors, added connections for Lines, added the ability
to move Dimensions (still needs user feedback though). Also, added
intersection checks to Geometry class.
Shamus Hammons [Tue, 27 Aug 2013 23:56:38 +0000 (18:56 -0500)]
Beginning to make the Layer widget functional.
Basically all you can do is add a layer; nothing else works though it
does notify the DrawingView when the selection changes. Also added
infrastructure to the Object class to support layers. Every Object now
has a layer attribute.
Shamus Hammons [Sun, 18 Aug 2013 19:24:25 +0000 (14:24 -0500)]
Fix object selection to work while in snap mode.
Turns out that unless the point on the object you were trying to select
fell on a grid point, you couldn't select it in snap mode. So moving the
grid snap code into the objects is what solved that, though
ungraciously. Will have to see if there's a better way to do it. :-P
Shamus Hammons [Thu, 15 Aug 2013 23:42:16 +0000 (18:42 -0500)]
Fixed loading code, added "Base Unit" dialog.
Loading code (and the underlying copy code) still needs some way to deal
to deal with Connections. Right now, the load code just creates the
objects and stuffs them into a Container. Also, the "Base Unit" needs to
be a property that gets saved with the drawing, so it will eventually
need its own settings dialog.
Shamus Hammons [Wed, 14 Aug 2013 01:15:59 +0000 (20:15 -0500)]
Various fixes to Container/Group handling, added DrawArcAction.
Also, fixed snap to grid to work as it should. If it's on, it's on; if
it's off it's off. Seems simple in concept and, as it turns out, it was
simple in implementation. Dunno why it took so long to finally fix it.
:-P
Shamus Hammons [Mon, 5 Aug 2013 00:54:44 +0000 (19:54 -0500)]
Added ability to edit grid unit in base units, work on Dimension.
Basically, the Dimension object now has a thickness based on its size.
Also, it will correctly move the arrowheads to outside of the extension
lines if there is not enough room to draw them. Added Parameter() class
method to Vector to facilitate this. :-)
Shamus Hammons [Thu, 14 Mar 2013 21:41:26 +0000 (16:41 -0500)]
Fixes to accomodate object connections.
Object connections turns out to be one of the most difficult things to
implement in this project. I think the way that I have it set up now is
the least bad out of all of the implementation ideas I've looked at. It
remains to be seen if I've guessed right.
Shamus Hammons [Fri, 22 Feb 2013 16:50:43 +0000 (10:50 -0600)]
In the middle of refactoring objects for loading/saving.
This is a bit more hairy than it would seem: it requires clarity in the
data structures which isn't quite there yet. Hopefully that clarity will
be coming sooner than later. :-P
This includes all the necessary GUI glue and error handling required
there. Also added DimensionType enum to Dimension class, to allow more
than simple linear dimensions; added grouping action ("G" key) for
grouping and ungrouping objects.