29 Commits

Author SHA1 Message Date
Michael Smith
44b71e0c37 Shifted Cube/Cylinder/Sphere/Text3D back to Solids 2016-03-18 00:08:38 -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
a6fd33c3d0 Shifted Inches to Utility folder / namespace 2016-03-17 22:36:02 -07:00
Michael Smith
bae12a500c Fix for a regression in length/width/height assignment on cubes due to binding refactoring 2016-03-13 22:57:37 -07:00
Michael Smith
93912fde9e Massive namespace reset due to mutual dependencies that shouldn't exist. 2016-03-11 18:40:19 -08:00
Michael Smith
de013112db + Renamed Variable.Name to Variable.Text
+ Added CompoundVariable as result from operations on variables
+ Added constructor flag for Variable to optionally add it to globals on creation
2016-03-06 18:09:21 -08:00
Michael L Smith
301e92dfff Shifted all publicly visible classes to the OSCADSharp namespace 2016-03-06 16:28:06 -08:00
Michael Smith
61fc5cf227 Added numerical negation operator on variables 2016-03-06 15:24:25 -08:00
Michael L Smith
627569e6ed Tests / fixes for bindings being propagated on cloned objects 2016-03-05 18:22:58 -08:00
Michael L Smith
6e4c018df7 Fix for Cube/TranslatedObject cloning of bindings 2016-03-05 15:26:14 -08:00
Michael Smith
d8eb02ecc4 + Renamed Sizes class to Inches
+ In progress Bindings clone functionality
2016-03-04 22:36:14 -08:00
Michael Smith
047a6472b1 Text3D variable bindings. 2016-03-03 22:09:38 -08:00
Michael Smith
5726b63dec Added Cube binding constructor, test, corrected Sizes.InchesToMillimeters 2016-03-03 21:59:58 -08:00
Michael Smith
421694559f Added Cylinder variable-binding constructor, test + missed Height in binding. 2016-03-03 21:47:23 -08:00
Michael L Smith
730b54d703 Added a sphere constructor that takes variables to pre-bind internal values 2016-03-03 19:51:01 -08:00
Michael Smith
54b8e6a686 + Text3D bindings
+ Text3D happy path binding tests
2016-02-29 23:52:25 -08:00
Michael Smith
5d9f7c2a65 + Bindings for all public Cylinder fields / tests 2016-02-29 23:17:18 -08:00
Michael L Smith
564a19a286 + In-progress Cube/center binding implementation 2016-02-29 21:52:13 -08:00
Michael L Smith
0989c4660c + Implemented Cube size bindings and synonyms for them 2016-02-29 21:16:21 -08:00
Michael Smith
d80e2c036a + Added bindings for the remainder of Sphere's properties
+ Tests for Sphere properties
2016-02-29 18:43:35 -08:00
Michael Smith
5487af3d95 Reworked Sphere to support binding either Diameter or Radius 2016-02-29 18:34:19 -08:00
Michael Smith
7e7affcad4 + Adjusted StatementBuilder to conditionally use bindings
+ Added Binding.cs
+ Added initial variable binding implementation to Sphere.cs
2016-02-27 15:55:13 -08:00
Michael Smith
59e1042345 Refactored Variables to be a dictionary of string:variable, added new accessor methods, then refactored to fix OSCADObject.ToFile's top section variable output test 2016-02-27 14:34:14 -08:00
Michael L Smith
a4613ea79d + Reworked Sphere to use StatementBuilder as well to conditionally output $f* values 2016-02-23 17:47:36 -08:00
Michael L Smith
3a7875ee51 + Reworked Cylinder so that if $f* values are omitted, they don't appear in output. 2016-02-22 20:36:15 -08:00
Michael L Smith
62a0a034a1 + Decided not to support Bounds() on Text3D objects, since there's a lot of work needed before it will be viable. 2016-02-22 18:32:17 -08:00
Michael L Smith
fd677aa909 + Initial Bounds implementation for Cube, Cylinder, Sphere and (sort of) Text3D 2016-02-20 23:19:28 -08:00
Michael Smith
f1f699afe4 Moved a bunch of tests into folders 2016-02-18 22:19:03 -08:00