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 |
|
Michael Smith
|
6b628d9bca
|
Test for .Open() if file path is invalid.
|
2016-02-26 18:11:56 -08:00 |
|
Michael Smith
|
d5ec961cb1
|
Removed Bind method from OSCADObject, added IBindable, Binding.cs, and BindingMapper stubs.
|
2016-02-25 23:52:16 -08:00 |
|
Michael Smith
|
963a58783a
|
Updated Vector3.ToString to match OpenSCAD's vector format of plain [x, y, z]
|
2016-02-25 22:58:20 -08:00 |
|
Michael Smith
|
4f0d3ed1be
|
+Added Variable class, Bind method to OSCADObject
|
2016-02-25 22:51:39 -08:00 |
|
Michael L Smith
|
eb49310d8a
|
Changed the dictionary in Variables.cs to a ConcurrentDictionary
|
2016-02-25 17:56:05 -08:00 |
|
Michael Smith
|
9f11c39986
|
+ Added SingleStatementObject (abstract) between OSCADObject and repetetive single-objectt transforms.
+ Shifted basic parent/child/object reference assignments to SingleStatementObject
|
2016-02-24 23:30:21 -08:00 |
|
Michael Smith
|
763479985b
|
Renamed MultiBlockStatementObject to simply 'MultiStatementObject'
|
2016-02-24 23:18:54 -08:00 |
|
Michael Smith
|
2976110f05
|
Shifted references to IFileInvoker to Dependencies.cs, added factory func to Dependencies.cs for providing IFileInvoker.
|
2016-02-24 23:17:35 -08:00 |
|
Michael Smith
|
8b05e2af6a
|
Shifted Settings.Globals to Variables.Global
|
2016-02-24 23:04:05 -08:00 |
|
Michael Smith
|
ac6f3c2f51
|
Shifted FileInvoker/Writer classes to /Files, updated namespace to OSCADSharp.Files
|
2016-02-24 22:51:32 -08:00 |
|
Michael Smith
|
4474d43532
|
Added DefaultFileInvoker, updated FileInvoker, made OSCADObject return a fileInvoker from .ToFile
|
2016-02-24 22:48:54 -08:00 |
|
Michael L Smith
|
9305dcf5ec
|
Reversed a weird change to one OSCADObject test
|
2016-02-24 21:38:22 -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 L Smith
|
052760ecf1
|
Added IFileInvoker
|
2016-02-24 21:31:22 -08:00 |
|
Michael Smith
|
dc9db3b8ef
|
Merge pull request #2 from Exolun/SettingsOutput
Settings output
|
2016-02-24 11:46:03 -08:00 |
|
Michael Smith
|
0237d9f35b
|
Mocked some FileWriters for settings output tests.
|
2016-02-24 00:53:41 -08:00 |
|
Michael Smith
|
05e73130b6
|
Added Moq to UnitTests project via NuGet
|
2016-02-23 22:00:56 -08:00 |
|
Michael Smith
|
7e5160d701
|
Extracted IFileWriter for OSCADObject.ToFile
Included default implementation for IFileWriter and replaceable reference in Settings.cs
|
2016-02-23 21:59:17 -08:00 |
|
Michael L Smith
|
4532e7b20d
|
Added Variables class, Settings class, settings/header output in OSCADObject.ToFile
|
2016-02-23 19:14:50 -08:00 |
|
Michael L Smith
|
8506459939
|
+ Added internal Parent reference / made assignments to it when operations occur
|
2016-02-23 18:02:24 -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
|
ddb0a319c9
|
+ Refactored Text3D to use StatementBuilder
|
2016-02-22 20:12:04 -08:00 |
|
Michael L Smith
|
0e47d85f42
|
+ Added StatementBuilder for use in places where we'll be doing a lot more conditional output construction.
|
2016-02-22 19:22:04 -08:00 |
|
Michael L Smith
|
4527a3cd33
|
+ Position() on resized objects is now supported via the averaging of Bounds() positions.
|
2016-02-22 18:43:26 -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 Smith
|
96693e062b
|
Added optional recursive flag to Children() to allow selection of immediate children instead of all descendants.
|
2016-02-21 20:27:56 -08:00 |
|
Michael Smith
|
511cb45b6f
|
+ Removed Mimic, because it doesn't really make sense with the new Position() and Bounds() features
|
2016-02-21 20:08:17 -08:00 |
|