Skip to content

Commit b03492b

Browse files
Added non-linear power ramps to Toolpath Extension
1 parent 717f241 commit b03492b

File tree

66 files changed

+3660
-3514
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+3660
-3514
lines changed

Autogenerated/Bindings/C/lib3mf.h

Lines changed: 92 additions & 129 deletions
Large diffs are not rendered by default.

Autogenerated/Bindings/C/lib3mf_types.h

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
2929
Abstract: This is an autogenerated plain C Header file with basic types in
3030
order to allow an easy use of the 3MF Library
3131
32-
Interface version: 2.3.2
32+
Interface version: 2.5.0
3333
3434
*/
3535

@@ -84,8 +84,8 @@ typedef void * Lib3MF_pvoid;
8484
**************************************************************************************************************************/
8585

8686
#define LIB3MF_VERSION_MAJOR 2
87-
#define LIB3MF_VERSION_MINOR 3
88-
#define LIB3MF_VERSION_MICRO 2
87+
#define LIB3MF_VERSION_MINOR 5
88+
#define LIB3MF_VERSION_MICRO 0
8989
#define LIB3MF_VERSION_PRERELEASEINFO ""
9090
#define LIB3MF_VERSION_BUILDINFO ""
9191

@@ -156,6 +156,7 @@ typedef void * Lib3MF_pvoid;
156156
#define LIB3MF_ERROR_TOOLPATH_INVALIDHATCHCOUNT 4012 /** Invalid hatch count */
157157
#define LIB3MF_ERROR_TOOLPATH_SCALINGDATANEEDSTOMATCHHATCHDATA 4013 /** Scaling data needs to match hatch data */
158158
#define LIB3MF_ERROR_TOOLPATH_SCALINGDATANEEDSTOMATCHPOINTDATA 4014 /** Scaling data needs to match point data */
159+
#define LIB3MF_ERROR_TOOLPATH_SEGMENTISNOTOFTYPEHATCH 4015 /** Segment is not of type hatch */
159160

160161
/*************************************************************************************************************************
161162
Error strings for Lib3MF
@@ -226,6 +227,7 @@ inline const char * LIB3MF_GETERRORSTRING (Lib3MFResult nErrorCode) {
226227
case LIB3MF_ERROR_TOOLPATH_INVALIDHATCHCOUNT: return "Invalid hatch count";
227228
case LIB3MF_ERROR_TOOLPATH_SCALINGDATANEEDSTOMATCHHATCHDATA: return "Scaling data needs to match hatch data";
228229
case LIB3MF_ERROR_TOOLPATH_SCALINGDATANEEDSTOMATCHPOINTDATA: return "Scaling data needs to match point data";
230+
case LIB3MF_ERROR_TOOLPATH_SEGMENTISNOTOFTYPEHATCH: return "Segment is not of type hatch";
229231
default: return "unknown error";
230232
}
231233
}
@@ -606,6 +608,16 @@ typedef struct sLib3MFHatch2DOverrides {
606608
Lib3MF_double m_Point2Override;
607609
} sLib3MFHatch2DOverrides;
608610

611+
typedef struct sLib3MFHatchOverrideInterpolationIndices {
612+
Lib3MF_uint32 m_StartIndex;
613+
Lib3MF_uint32 m_ValueCount;
614+
} sLib3MFHatchOverrideInterpolationIndices;
615+
616+
typedef struct sLib3MFHatchOverrideInterpolationData {
617+
Lib3MF_double m_Parameter;
618+
Lib3MF_double m_Override;
619+
} sLib3MFHatchOverrideInterpolationData;
620+
609621
typedef struct sLib3MFDiscreteHatch2D {
610622
Lib3MF_int32 m_Point1Coordinates[2];
611623
Lib3MF_int32 m_Point2Coordinates[2];

Autogenerated/Bindings/CDynamic/lib3mf_dynamic.cc

Lines changed: 51 additions & 61 deletions
Large diffs are not rendered by default.

Autogenerated/Bindings/CDynamic/lib3mf_dynamic.h

Lines changed: 100 additions & 138 deletions
Large diffs are not rendered by default.

Autogenerated/Bindings/CDynamic/lib3mf_types.h

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This file has been generated by the Automatic Component Toolkit (ACT) version 1.
2929
Abstract: This is an autogenerated plain C Header file with basic types in
3030
order to allow an easy use of the 3MF Library
3131
32-
Interface version: 2.3.2
32+
Interface version: 2.5.0
3333
3434
*/
3535

@@ -84,8 +84,8 @@ typedef void * Lib3MF_pvoid;
8484
**************************************************************************************************************************/
8585

8686
#define LIB3MF_VERSION_MAJOR 2
87-
#define LIB3MF_VERSION_MINOR 3
88-
#define LIB3MF_VERSION_MICRO 2
87+
#define LIB3MF_VERSION_MINOR 5
88+
#define LIB3MF_VERSION_MICRO 0
8989
#define LIB3MF_VERSION_PRERELEASEINFO ""
9090
#define LIB3MF_VERSION_BUILDINFO ""
9191

@@ -156,6 +156,7 @@ typedef void * Lib3MF_pvoid;
156156
#define LIB3MF_ERROR_TOOLPATH_INVALIDHATCHCOUNT 4012 /** Invalid hatch count */
157157
#define LIB3MF_ERROR_TOOLPATH_SCALINGDATANEEDSTOMATCHHATCHDATA 4013 /** Scaling data needs to match hatch data */
158158
#define LIB3MF_ERROR_TOOLPATH_SCALINGDATANEEDSTOMATCHPOINTDATA 4014 /** Scaling data needs to match point data */
159+
#define LIB3MF_ERROR_TOOLPATH_SEGMENTISNOTOFTYPEHATCH 4015 /** Segment is not of type hatch */
159160

160161
/*************************************************************************************************************************
161162
Error strings for Lib3MF
@@ -226,6 +227,7 @@ inline const char * LIB3MF_GETERRORSTRING (Lib3MFResult nErrorCode) {
226227
case LIB3MF_ERROR_TOOLPATH_INVALIDHATCHCOUNT: return "Invalid hatch count";
227228
case LIB3MF_ERROR_TOOLPATH_SCALINGDATANEEDSTOMATCHHATCHDATA: return "Scaling data needs to match hatch data";
228229
case LIB3MF_ERROR_TOOLPATH_SCALINGDATANEEDSTOMATCHPOINTDATA: return "Scaling data needs to match point data";
230+
case LIB3MF_ERROR_TOOLPATH_SEGMENTISNOTOFTYPEHATCH: return "Segment is not of type hatch";
229231
default: return "unknown error";
230232
}
231233
}
@@ -606,6 +608,16 @@ typedef struct sLib3MFHatch2DOverrides {
606608
Lib3MF_double m_Point2Override;
607609
} sLib3MFHatch2DOverrides;
608610

611+
typedef struct sLib3MFHatchOverrideInterpolationIndices {
612+
Lib3MF_uint32 m_StartIndex;
613+
Lib3MF_uint32 m_ValueCount;
614+
} sLib3MFHatchOverrideInterpolationIndices;
615+
616+
typedef struct sLib3MFHatchOverrideInterpolationData {
617+
Lib3MF_double m_Parameter;
618+
Lib3MF_double m_Override;
619+
} sLib3MFHatchOverrideInterpolationData;
620+
609621
typedef struct sLib3MFDiscreteHatch2D {
610622
Lib3MF_int32 m_Point1Coordinates[2];
611623
Lib3MF_int32 m_Point2Coordinates[2];

0 commit comments

Comments
 (0)