Skip to content

Commit

Permalink
Add new types for solids
Browse files Browse the repository at this point in the history
  • Loading branch information
saintentropy committed Oct 19, 2023
1 parent eafd245 commit 233b4c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Libraries/CoreNodes/Data.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ private static object DynamoJObjectToNative(JObject jObject)
case "dynamo.geometry:sab-1.0.0":
case "dynamo.goemetry:tsm-1.0.0":
case "dynamo.geometry:rectangle-1.0.0":
case "dynamo.geometry:cuboid-1.0.0":
case "dynamo.geometry:solid-1.0.0":
case string geoId when geoId.Contains("autodesk.geometry"):
return Geometry.FromJson(jObject.ToString());

Expand Down Expand Up @@ -165,7 +167,7 @@ public static string StringifyJSON([ArbitraryDimensionArrayImport] object values
new DictConverter(),
new DesignScriptGeometryConverter(),
new ColorConveter(),
//new LocationConverter(),
new LocationConverter(),
new ImageConverter()
});
}
Expand Down

0 comments on commit 233b4c8

Please sign in to comment.