1241589d18
* feat: adds wip classes for brep/subd/extrusion-x * Get rid of dub code on ExtrusionX SubDX BrepX * fix: Run format * chore: formatting * chore: more formatting help dis annoying --------- Co-authored-by: oguzhankoral <oguzhankoral@gmail.com> Co-authored-by: Alan Rynne <alan@speckle.systems> Co-authored-by: Adam Hathcock <adamhathcock@users.noreply.github.com>
24 lines
729 B
C#
24 lines
729 B
C#
using Speckle.Sdk.Models;
|
|
|
|
namespace Speckle.Objects.Other;
|
|
|
|
/// <summary>
|
|
/// Keeps track of a raw-encoded object in a native supported format. see <see cref="RawEncodingFormats"/>
|
|
/// </summary>
|
|
[SpeckleType("Objects.Other.RawEncoding")]
|
|
public class RawEncoding : Base // note: at this stage, since we're using this for extrusions and subds the name doesn't make sense anymore
|
|
{
|
|
public required string format { get; set; }
|
|
public required string contents { get; set; }
|
|
|
|
public RawEncoding() { }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Supported encoding types "strongly" typed strings. This needs to match the extension of the file format.
|
|
/// </summary>
|
|
public static class RawEncodingFormats
|
|
{
|
|
public const string RHINO_3DM = "3dm";
|
|
}
|