206 Commits

Author SHA1 Message Date
Michael Smith
fc40330f43 Adjusted cubification algorithm to perform horizontal/vertical rectangles when able. (Initial version) 2016-05-29 15:20:15 -07:00
Michael Smith
18a93f8b93 Added a HeightMappingMode enumeration and Bidirectional height mapping support. 2016-05-25 23:14:36 -07:00
Michael Smith
adc38a9742 Implemented simple resampling algorithm to provide less hideous reduction of colors in processed images. 2016-05-16 23:41:40 -07:00
Michael Smith
8247c5b807 Shifted image simplification code into ImageSimplifier.cs 2016-05-16 22:44:58 -07:00
Michael Smith
10185ea15e Added a first-pass naive simplification pass for image simplification. 2016-05-16 22:33:45 -07:00
Michael Smith
c6347b0f93 Added a Grayscale import option 2016-05-15 22:09:13 -07:00
Michael Smith
d308a517ee Fix for a compile error (oops), and added ImageImportOptions.cs 2016-05-15 21:27:37 -07:00
Michael Smith
59e250b28d Shifted helper classes for image processing once again to Utility\Images 2016-05-15 21:18:16 -07:00
Michael Smith
5520b73a1d Shifted image processing helpers to Solids/Imported/Images 2016-05-15 21:16:08 -07:00
Michael Smith
79c7828817 Fixed a couple of off by one errors on CubistImageProcessor 2016-05-15 21:10:54 -07:00
Michael Smith
ff27687980 Another quick optimization for a hotspot in the GetPixel calls 2016-05-15 16:38:12 -07:00
Michael Smith
fccd61f7f9 + Added height mappings to CubistImageProcessor
+ Disabled Polygonal image import mode
2016-05-10 21:37:06 -07:00
Michael Smith
5574dfa2c6 Optimized out a bottleneck in CubistImageProcessor.cs 2016-05-08 21:38:27 -07:00
Michael Smith
4f962ca257 More in-progress polygon-based image processing. 2016-05-08 21:17:58 -07:00
Michael Smith
3a0eb13166 Refactored some code used in multiple methods into AdjacentPixelMatrix and NeighboringPointFinder 2016-05-08 16:22:14 -07:00
Michael Smith
5944901b74 Quick optimization to hotspot in getConnectedPixelsOfSameColor (ran really slow on larger images) 2016-05-07 14:38:31 -07:00
Michael Smith
ff333b678a Some more initial code for polygon POC, includes outer-point tracing and some sample output. (Correct Winding still remains) 2016-05-06 17:43:10 -07:00
Michael Smith
50dd621d40 Finished first round of contiguous section algorithm for polygon-based image conversion 2016-05-05 18:25:26 -07:00
Michael Smith
d40977fa4d In-Progress PolygonImageProcessor (finding neighbors now) 2016-05-04 23:42:04 -07:00
Michael Smith
cdd04e9f95 Correction for inverted image. 2016-05-04 07:44:35 -07:00
Michael Smith
3ea6f2cb08 Added IImageProcessor, PolygonalImageProcessor 2016-05-03 23:44:16 -07:00
Michael Smith
d951b5bea0 Added a few comments, did a test print for cubist image imports. 2016-05-03 23:03:47 -07:00
Michael Smith
79268ef334 Extracted cube centric image processing code to CubistImageProcessor.cs 2016-05-03 19:16:32 -07:00
Michael Smith
825791e0fa Shifted ImportedImage and ImportedModel to OSCADSharp\Solids\Imported 2016-05-03 18:47:48 -07:00
Michael Smith
13059f3c2e Added POC of image processing for image imports. 2016-05-03 18:45:10 -07:00
Michael Smith
18a9ef8aa0 POC of brute force image 3Dification. 2016-05-03 02:05:44 -07:00
Michael Smith
8741b7df2a Added error if file not found for model import 2016-05-02 23:14:39 -07:00
Michael Smith
6de63fa3c6 Really didn't need the path correction. 2016-05-01 23:38:10 -07:00
Michael Smith
70a417ac88 Corrected logic in path correction for 3d model import 2016-05-01 23:16:11 -07:00
Michael Smith
2cd40e157c Added ImportedModel Class 2016-05-01 23:09:43 -07:00
Michael L Smith
6f036c8613 + Removed some calls in constructors to virtual methods.
+ Fixed a failing test.
2016-03-22 18:46:38 -07:00
Michael L Smith
90fce7428f Nested CompoundVariable and VariableCalculator under Variable. 2016-03-21 20:21:32 -07:00
Michael Smith
cf7eaa9000 Made a number of fields ReadOnly that are never mutated 2016-03-21 00:37:57 -07:00
Michael L Smith
fd12071509 Added NDepend project, ignored ndepend output 2016-03-20 20:38:27 -07:00
Michael L Smith
f630bb0f23 Shifted some non-basic transforms to AbstractTransforms and some base classes to BaseTransfroms. 2016-03-19 21:59:32 -07:00
Michael Smith
5c0faaf469 Shifted all booleans to OSCADObject.Booleans and made them private 2016-03-18 20:29:16 -07:00
Michael Smith
8c53176d38 + Made OSCADObject a partial class
+ Shifted all core transforms to OSCADObject.BasicTransforms + made them private
2016-03-18 20:22:48 -07:00
Michael Smith
ca6bc89206 Nested OpenSCADPathFinder in OutputSettings 2016-03-18 20:12:00 -07:00
Michael Smith
44b71e0c37 Shifted Cube/Cylinder/Sphere/Text3D back to Solids 2016-03-18 00:08:38 -07:00
Michael Smith
ddf4190728 Moved Dependencies to Utility 2016-03-18 00:03:31 -07:00
Michael Smith
42f8bc09bb Shifted StatementBuilder to Utility 2016-03-18 00:02:09 -07:00
Michael Smith
68c75bca9e Shifted SingleBlockFormatter to Utility 2016-03-17 23:59:24 -07:00
Michael Smith
78990782b9 Shifted a number of classes to DataBinding folder/namespace 2016-03-17 23:51:38 -07:00
Michael Smith
cbd59b48bd Moved Bounds/Matrix/Vector3 back to Spatial 2016-03-17 23:32:22 -07:00
Michael Smith
feb5944835 Made OSCADSharpHeader internal 2016-03-17 23:21:42 -07:00
Michael Smith
81408731aa Removed IBindable and ICloneable 2016-03-17 23:20:20 -07:00
Michael Smith
cf1a0f2cbc Reverted addition of SphereBindings 2016-03-17 23:14:39 -07:00
Michael Smith
637e10162b Reverted addition of CubeBindings/CubeScriptBuilder 2016-03-17 23:12:38 -07:00
Michael Smith
27a50f8025 Merge branch 'Refactor/BindingRefactor' of https://github.com/Exolun/OSCADSharp into Refactor/BindingRefactor 2016-03-17 23:02:37 -07:00
Michael Smith
1f1c12e553 Renamed Settings to OutputSettings, shifted several classes to IO folder/namespace 2016-03-17 22:55:11 -07:00