20 Commits

Author SHA1 Message Date
Michael Smith
3697647e4a Removed all support for bindings **Massive shift in direction**. They have been removed to clear the path for supporting more robust time-saving functionality, such as compound objects like premade containers and better support for 2d-to-3d image scanning support (bindings are much more difficult to support for the advanced features). Bindings may be added back in if an eventual advanced post-processing system is implemented along with a more structured syntax for file creation (or translation to another language). 2016-10-27 21:32:58 -07: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
13dbc41149 Bindings for:
+ Mirror
+ Resize
+ Scale
+ Rotate
+ Translate
2016-03-02 19:07:29 -08:00
Michael L Smith
7f7447e633 Bindings for Color 2016-03-01 18:30:42 -08:00
Michael L Smith
8678c3293d Added a test / changes to ensure null globals and/or null variable names do not affect outputs. 2016-02-24 21:36:44 -08:00
Michael Smith
05e73130b6 Added Moq to UnitTests project via NuGet 2016-02-23 22:00:56 -08:00
Michael Smith
cce795332f Basic Bounds implementations for most transforms and booleans + some test updates. 2016-02-21 01:22:44 -08:00
Michael Smith
0141538a2d Added NotSupportedException on ResizedObject.Position 2016-02-19 17:48:28 -08:00
Michael Smith
80c400dee8 Fix for an issue where Rotating/Translating an object, then using Scale would yield the wrong Position() value. 2016-02-19 17:33:30 -08:00
Michael Smith
f1f699afe4 Moved a bunch of tests into folders 2016-02-18 22:19:03 -08:00
Michael L Smith
b6a454e8b9 + Added NotSupportedExceptions on all block statements except Hull and Union when Position() is called on them 2016-02-16 19:54:34 -08:00
Michael L Smith
07c845bcbd + Position interpolation for single-axis mirroring. 2016-02-15 21:45:38 -08:00
Michael L Smith
8831610bda + Implemented Position on Cylinder, Sphere, Text3D
+ Made the executive decision that Text3D in OSCADSharp is always centered in script output, to facilitate correct position calculation.
2016-02-15 21:00:43 -08:00
Michael L Smith
12eb89adbb Added some tests for known expected interpolation positions. 2016-02-15 20:30:46 -08:00
Mike Smith
5a61dd2199 Fix for Hull and Minkowski not adding the basis object to the children affected by the Hull/Minkowski operation. 2016-02-14 18:45:31 -08:00
Mike Smith
1402690f2d Fix for missing Diameter value assignment in Cylinder constructor 2016-02-14 18:36:55 -08:00
Mike Smith
750937a25e + Added UnionTests
+ Fixed an issue where the children of Union as per Children() appeared in the reverse of the expected order
2016-02-14 11:50:32 -08:00
Mike Smith
e8c42deb30 + Added .Children() method to OSCADObjects
+ Added some tests for children
+ Fixed an issue where cloned objects for Transforms would not have cloned children
2016-02-14 00:19:29 -08:00
Mike Smith
7d59afbdd9 + Added some tests for Cube
+ Adjusted some of the Sphere tests
+ Overrides for .Equals and .GetHashCode on Cube and Sphere
2016-02-12 18:16:00 -08:00
Mike Smith
dc950b5fdb +Unit test project
+ Added some unit tests on spheres/sphere script output.
2016-02-11 22:55:13 -08:00