Skip to content

Commit

Permalink
Evolved API for profile overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
netfabb committed Oct 24, 2024
1 parent 6b03ea6 commit 2b5f240
Show file tree
Hide file tree
Showing 48 changed files with 5,968 additions and 3,874 deletions.
315 changes: 189 additions & 126 deletions Autogenerated/Bindings/C/lib3mf.h

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Autogenerated/Bindings/C/lib3mf_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,12 @@ typedef struct sLib3MFDiscretePosition2D {
typedef struct sLib3MFHatch2D {
Lib3MF_double m_Point1Coordinates[2];
Lib3MF_double m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sLib3MFHatch2D;

typedef struct sLib3MFDiscreteHatch2D {
Lib3MF_int32 m_Point1Coordinates[2];
Lib3MF_int32 m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sLib3MFDiscreteHatch2D;

Expand Down
222 changes: 141 additions & 81 deletions Autogenerated/Bindings/CDynamic/lib3mf_dynamic.cc

Large diffs are not rendered by default.

351 changes: 210 additions & 141 deletions Autogenerated/Bindings/CDynamic/lib3mf_dynamic.h

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Autogenerated/Bindings/CDynamic/lib3mf_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,12 @@ typedef struct sLib3MFDiscretePosition2D {
typedef struct sLib3MFHatch2D {
Lib3MF_double m_Point1Coordinates[2];
Lib3MF_double m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sLib3MFHatch2D;

typedef struct sLib3MFDiscreteHatch2D {
Lib3MF_int32 m_Point1Coordinates[2];
Lib3MF_int32 m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sLib3MFDiscreteHatch2D;

Expand Down
506 changes: 288 additions & 218 deletions Autogenerated/Bindings/CSharp/Lib3MF.cs

Large diffs are not rendered by default.

315 changes: 189 additions & 126 deletions Autogenerated/Bindings/Cpp/lib3mf_abi.hpp

Large diffs are not rendered by default.

539 changes: 315 additions & 224 deletions Autogenerated/Bindings/Cpp/lib3mf_implicit.hpp

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Autogenerated/Bindings/Cpp/lib3mf_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,14 +478,12 @@ namespace Lib3MF {
typedef struct sHatch2D {
Lib3MF_double m_Point1Coordinates[2];
Lib3MF_double m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sHatch2D;

typedef struct sDiscreteHatch2D {
Lib3MF_int32 m_Point1Coordinates[2];
Lib3MF_int32 m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sDiscreteHatch2D;

Expand Down
351 changes: 210 additions & 141 deletions Autogenerated/Bindings/CppDynamic/lib3mf_dynamic.h

Large diffs are not rendered by default.

873 changes: 524 additions & 349 deletions Autogenerated/Bindings/CppDynamic/lib3mf_dynamic.hpp

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Autogenerated/Bindings/CppDynamic/lib3mf_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,14 +478,12 @@ namespace Lib3MF {
typedef struct sHatch2D {
Lib3MF_double m_Point1Coordinates[2];
Lib3MF_double m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sHatch2D;

typedef struct sDiscreteHatch2D {
Lib3MF_int32 m_Point1Coordinates[2];
Lib3MF_int32 m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sDiscreteHatch2D;

Expand Down
581 changes: 354 additions & 227 deletions Autogenerated/Bindings/Go/lib3mf.go

Large diffs are not rendered by default.

222 changes: 141 additions & 81 deletions Autogenerated/Bindings/Go/lib3mf_dynamic.cc

Large diffs are not rendered by default.

351 changes: 210 additions & 141 deletions Autogenerated/Bindings/Go/lib3mf_dynamic.h

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions Autogenerated/Bindings/Go/lib3mf_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,12 @@ typedef struct sLib3MFDiscretePosition2D {
typedef struct sLib3MFHatch2D {
Lib3MF_double m_Point1Coordinates[2];
Lib3MF_double m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sLib3MFHatch2D;

typedef struct sLib3MFDiscreteHatch2D {
Lib3MF_int32 m_Point1Coordinates[2];
Lib3MF_int32 m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sLib3MFDiscreteHatch2D;

Expand Down
222 changes: 141 additions & 81 deletions Autogenerated/Bindings/NodeJS/lib3mf_dynamic.cc

Large diffs are not rendered by default.

351 changes: 210 additions & 141 deletions Autogenerated/Bindings/NodeJS/lib3mf_dynamic.h

Large diffs are not rendered by default.

789 changes: 463 additions & 326 deletions Autogenerated/Bindings/NodeJS/lib3mf_nodewrapper.cc

Large diffs are not rendered by default.

36 changes: 21 additions & 15 deletions Autogenerated/Bindings/NodeJS/lib3mf_nodewrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -1083,29 +1083,34 @@ class CLib3MFToolpathLayerReader : public CLib3MFBaseClass {
static void New(const v8::FunctionCallbackInfo<v8::Value>& args);
static v8::Persistent<v8::Function> constructor;
static void GetLayerDataUUID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetCustomDataCount(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetCustomData(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetCustomDataName(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentCount(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentInfo(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentDefaultProfile(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentDefaultProfileUUID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void SegmentHasUniformProfile(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentPart(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentPartUUID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentLocalPartID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetPartUUIDByLocalPartID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentPointDataInModelUnits(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentPointDataDiscrete(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentHatchDataInModelUnits(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentHatchDataDiscrete(const v8::FunctionCallbackInfo<v8::Value>& args);
static void FindSegmentAttributeInfoByName(const v8::FunctionCallbackInfo<v8::Value>& args);
static void FindSegmentAttributeIDByName(const v8::FunctionCallbackInfo<v8::Value>& args);
static void FindSegmentAttributeTypeByName(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentIntegerAttributeByID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentIntegerAttributeByName(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentDoubleAttributeByID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentDoubleAttributeByName(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetCustomDataCount(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetCustomData(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetCustomDataName(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetPartCount(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetPartInformation(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetPartBuildItem(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentPartID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentBuildItem(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentBuildItemUUID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetBuildItemUUIDByLocalPartID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentDefaultProfile(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentDefaultProfileUUID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentDefaultProfileID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetProfileUUIDByLocalProfileID(const v8::FunctionCallbackInfo<v8::Value>& args);
static void SegmentHasUniformProfile(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentPointDataInModelUnits(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentPointDataDiscrete(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentHatchDataInModelUnits(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetSegmentHatchDataDiscrete(const v8::FunctionCallbackInfo<v8::Value>& args);

public:
CLib3MFToolpathLayerReader();
Expand All @@ -1130,7 +1135,8 @@ class CLib3MFToolpathLayerData : public CLib3MFBaseClass {
static void ClearSegmentAttributes(const v8::FunctionCallbackInfo<v8::Value>& args);
static void SetLaserIndex(const v8::FunctionCallbackInfo<v8::Value>& args);
static void ClearLaserIndex(const v8::FunctionCallbackInfo<v8::Value>& args);
static void SetFactorRange(const v8::FunctionCallbackInfo<v8::Value>& args);
static void SetOverrideFraction(const v8::FunctionCallbackInfo<v8::Value>& args);
static void GetOverrideFraction(const v8::FunctionCallbackInfo<v8::Value>& args);
static void WriteHatchDataInModelUnits(const v8::FunctionCallbackInfo<v8::Value>& args);
static void WriteHatchDataInModelUnitsWithConstantOverrides(const v8::FunctionCallbackInfo<v8::Value>& args);
static void WriteHatchDataInModelUnitsWithRampedOverrides(const v8::FunctionCallbackInfo<v8::Value>& args);
Expand Down
2 changes: 0 additions & 2 deletions Autogenerated/Bindings/NodeJS/lib3mf_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -586,14 +586,12 @@ typedef struct sLib3MFDiscretePosition2D {
typedef struct sLib3MFHatch2D {
Lib3MF_double m_Point1Coordinates[2];
Lib3MF_double m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sLib3MFHatch2D;

typedef struct sLib3MFDiscreteHatch2D {
Lib3MF_int32 m_Point1Coordinates[2];
Lib3MF_int32 m_Point2Coordinates[2];
Lib3MF_uint32 m_ProfileOverrideID;
Lib3MF_int32 m_Tag;
} sLib3MFDiscreteHatch2D;

Expand Down
Loading

0 comments on commit 2b5f240

Please sign in to comment.