148 Commits

Author SHA1 Message Date
Michael Smith
93912fde9e Massive namespace reset due to mutual dependencies that shouldn't exist. 2016-03-11 18:40:19 -08:00
Michael L Smith
1f41470dbb Deleted LinearExtrudedObject (unused) 2016-03-10 20:28:45 -08:00
Michael L Smith
f2f2540741 Removed some unused methods 2016-03-10 20:25:40 -08:00
Michael Smith
977f7d4b79 Added CubeBindings / CubeScriptBuilder 2016-03-09 23:23:29 -08:00
Michael Smith
16d59a1a19 Shifted code in .ToString of sphere to SphereScriptBuilder 2016-03-09 00:16:26 -08:00
Michael Smith
4ecf664db5 Refactored SphereBindings out of Sphere.cs 2016-03-08 23:53:44 -08:00
Michael L Smith
f4642a205c Fix for the wrong path being used in OSCADObject.ToFile 2016-03-08 19:13:34 -08:00
Michael L Smith
71a45deaec Added Getting Started guide to README.md (other sections to follow) 2016-03-07 20:30:38 -08:00
Michael Smith
e9542e45e1 Removed DLL based nuspec, added project based nuspec 2016-03-06 21:55:45 -08:00
Michael Smith
cdc923c3b5 Updated assembly properties, added LICENSE.txt (MIT) 2016-03-06 21:00:24 -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 Smith
dd9ab94fa1 + Renamed Bounds max/min away from underscore in name
+ Moved Bounds.cs to Public/Spatial
2016-03-06 17:51:28 -08:00
Michael L Smith
2ca5c42094 Shifted all files to Internal/Public root folders to deliniate things that are internal versus public. 2016-03-06 16:40:45 -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 Smith
a048f8baa1 Completed V1 of Variable operators 2016-03-06 02:30:44 -08:00
Michael L Smith
5afc0ed517 Added variable operators + one test so far 2016-03-05 22:09:11 -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 Smith
4c51ffc3f4 Replaced a bunch of conditionals with new method BindIfVariableNotNull 2016-03-03 21:27:56 -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
8fa6a42040 Merge pull request #3 from Exolun/Feature/VariableBindings
Feature/variable bindings
2016-03-02 21:28:06 -08:00
Michael Smith
627d60c314 + Parameterized bindings for Translate 2016-03-02 21:23:38 -08:00
Michael L Smith
534bba1408 + Parameterized bindings for Rotate, scale 2016-03-02 21:01:34 -08:00
Michael L Smith
cc293b1638 Parameterized bindings for color, mirror, resize. 2016-03-02 20:42:37 -08:00
Michael L Smith
892fccdf7e + Added Color overload to automatically bind variables to passed-in values 2016-03-02 19:24:24 -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
8eba76a670 NotSupportedException on MultiStatementObject base class bind method 2016-03-01 18:20:48 -08:00
Michael Smith
255318fb07 + Added IBindable on OSCADObject and cascaded it down.
+ Removed redundant IBindable declaration on Solids
2016-02-29 23:58:31 -08:00
Michael Smith
54b8e6a686 + Text3D bindings
+ Text3D happy path binding tests
2016-02-29 23:52:25 -08:00
Michael Smith
53be8a6a1b Deleted unused method in Text3D 2016-02-29 23:18:18 -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
0d578131d8 Added BindableVector 2016-02-29 19:25:33 -08:00
Michael Smith
f4ff157a63 + Moved Binding-related classes to Bindings folder 2016-02-29 18:47:24 -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
0994750fb4 Refactored Bindings.cs to use reflection and internal methods for logic / setting values. 2016-02-29 18:17:34 -08:00
Michael L Smith
cf189fb075 Typo fix 2016-02-28 15:26:03 -08:00
Michael L Smith
ee75d6a6b7 Shifted a few settings/dependency related files to Settings folder 2016-02-28 15:15:25 -08:00
Michael L Smith
da558ce75f Refactored getOpenSCADPath out to OpenSCADPathFinder 2016-02-28 15:12:38 -08:00
Michael L Smith
26f4d70876 Added getOpenSCADPath method to discover path to OpenSCAD executable amongst multiple options 2016-02-28 15:08:27 -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