Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Examples/LPBFSystem/Laser/mcplugin_laser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@ __DECLARESTATE(exposure)
}

auto pContext = pDriver->GetContext();
auto pRecording = pContext->PrepareRecording(true);
auto pRecording = pContext->PrepareRecording(true, true, true);

pRecording->AddChannel("x", LibMCDriver_ScanLab::eRTCChannelType::ChannelTargetXBacktransformed);
pRecording->AddChannel("y", LibMCDriver_ScanLab::eRTCChannelType::ChannelTargetYBacktransformed);
pRecording->AddChannel("x", LibMCDriver_ScanLab::eRTCChannelType::ChannelTargetX);
pRecording->AddChannel("y", LibMCDriver_ScanLab::eRTCChannelType::ChannelTargetY);
pRecording->AddChannel("power", LibMCDriver_ScanLab::eRTCChannelType::ChannelAnalogOut1);

pContext->SetStartList(1, 0);
Expand Down
2 changes: 1 addition & 1 deletion Examples/LPBFSystem/UI/mc_userinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ class CEvent_OnLoadHistoricJournal : public virtual CEvent {

uint64_t nLifetimeInMicroseconds = pJournal->GetJournalLifeTimeInMicroseconds();

auto pVariable = pJournal->RetrieveJournalVariableFromTimeInterval("main.jobinfo.countertest", 0, nLifetimeInMicroseconds);
auto pVariable = pJournal->RetrieveJournalVariable ("main.jobinfo.countertest");
double dValue = pVariable->ComputeDoubleSample(10000000);

pUIEnvironment->LogMessage("Double sample: " + std::to_string (dValue));
Expand Down
10 changes: 0 additions & 10 deletions Framework/HeadersDev/CppDynamic/libmcenv_dynamic.h
Original file line number Diff line number Diff line change
Expand Up @@ -2902,16 +2902,6 @@ typedef LibMCEnvResult (*PLibMCEnvToolpathLayer_GetSegmentPartUUIDPtr) (LibMCEnv
*/
typedef LibMCEnvResult (*PLibMCEnvToolpathLayer_GetSegmentLocalPartIDPtr) (LibMCEnv_ToolpathLayer pToolpathLayer, LibMCEnv_uint32 nSegmentIndex, LibMCEnv_uint32 * pLocalPartID);

/**
* Retrieves the local segment part id on the layer. ATTENTION: This ID is only unique within the layer and there is no guarantee to be globally unique or consistent across layers.
*
* @param[in] pToolpathLayer - ToolpathLayer instance.
* @param[in] nIndex - Index. Must be between 0 and Count - 1.
* @param[out] pLocalPartID - Local Part ID of the segment
* @return error code or 0 (success)
*/
typedef LibMCEnvResult (*PLibMCEnvToolpathLayer_GetSegmentLocalPartIDPtr) (LibMCEnv_ToolpathLayer pToolpathLayer, LibMCEnv_uint32 nIndex, LibMCEnv_uint32 * pLocalPartID);

/**
* Retrieves the assigned segment point list. For type hatch, the points are taken pairwise.
*
Expand Down
10 changes: 0 additions & 10 deletions Framework/InterfacesCore/libmcenv_abi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2915,16 +2915,6 @@ LIBMCENV_DECLSPEC LibMCEnvResult libmcenv_toolpathlayer_getsegmentpartuuid(LibMC
*/
LIBMCENV_DECLSPEC LibMCEnvResult libmcenv_toolpathlayer_getsegmentlocalpartid(LibMCEnv_ToolpathLayer pToolpathLayer, LibMCEnv_uint32 nSegmentIndex, LibMCEnv_uint32 * pLocalPartID);

/**
* Retrieves the local segment part id on the layer. ATTENTION: This ID is only unique within the layer and there is no guarantee to be globally unique or consistent across layers.
*
* @param[in] pToolpathLayer - ToolpathLayer instance.
* @param[in] nIndex - Index. Must be between 0 and Count - 1.
* @param[out] pLocalPartID - Local Part ID of the segment
* @return error code or 0 (success)
*/
LIBMCENV_DECLSPEC LibMCEnvResult libmcenv_toolpathlayer_getsegmentlocalpartid(LibMCEnv_ToolpathLayer pToolpathLayer, LibMCEnv_uint32 nIndex, LibMCEnv_uint32 * pLocalPartID);

/**
* Retrieves the assigned segment point list. For type hatch, the points are taken pairwise.
*
Expand Down
7 changes: 0 additions & 7 deletions Framework/InterfacesCore/libmcenv_interfaces.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2530,13 +2530,6 @@ class IToolpathLayer : public virtual IBase {
*/
virtual LibMCEnv_uint32 GetSegmentLocalPartID(const LibMCEnv_uint32 nSegmentIndex) = 0;

/**
* IToolpathLayer::GetSegmentLocalPartID - Retrieves the local segment part id on the layer. ATTENTION: This ID is only unique within the layer and there is no guarantee to be globally unique or consistent across layers.
* @param[in] nIndex - Index. Must be between 0 and Count - 1.
* @return Local Part ID of the segment
*/
virtual LibMCEnv_uint32 GetSegmentLocalPartID(const LibMCEnv_uint32 nIndex) = 0;

/**
* IToolpathLayer::GetSegmentPointData - Retrieves the assigned segment point list. For type hatch, the points are taken pairwise.
* @param[in] nSegmentIndex - Index. Must be between 0 and Count - 1.
Expand Down
42 changes: 0 additions & 42 deletions Implementation/Core/amc_scatterplot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/


<<<<<<<< HEAD:Implementation/Core/amc_meshsceneitem.cpp
#include "amc_meshsceneitem.hpp"
#include "libmc_exceptiontypes.hpp"
#include "common_utils.hpp"
#include "amc_meshutils.hpp"

namespace AMC {


CMeshSceneItem::CMeshSceneItem(const std::string& sUUID, const std::string& sMeshEntityUUID)
: m_sUUID (AMCCommon::CUtils::normalizeUUIDString (sUUID)),
m_sMeshEntityUUID (AMCCommon::CUtils::normalizeUUIDString (sMeshEntityUUID))
{
m_Transform = CMeshUtils::createIdentityTransform();

}

CMeshSceneItem::~CMeshSceneItem()
========
#include "amc_scatterplot.hpp"
#include "libmc_exceptiontypes.hpp"
#include "common_utils.hpp"
Expand All @@ -61,37 +42,15 @@ namespace AMC {
}

CScatterplot::~CScatterplot()
>>>>>>>> develop:Implementation/Core/amc_scatterplot.cpp
{

}

<<<<<<<< HEAD:Implementation/Core/amc_meshsceneitem.cpp
std::string CMeshSceneItem::getUUID()
========
std::string CScatterplot::getUUID()
>>>>>>>> develop:Implementation/Core/amc_scatterplot.cpp
{
return m_sUUID;
}

<<<<<<<< HEAD:Implementation/Core/amc_meshsceneitem.cpp
std::string CMeshSceneItem::getMeshEntityUUID()
{
return m_sMeshEntityUUID;
}

LibMCEnv::sModelDataTransform CMeshSceneItem::getTransform()
{
return m_Transform;
}

void CMeshSceneItem::updateTransform(const LibMCEnv::sModelDataTransform newTransform)
{
m_Transform = newTransform;
}

========
void CScatterplot::clearData()
{
m_PointEntries.clear();
Expand Down Expand Up @@ -154,7 +113,6 @@ namespace AMC {
}
}

>>>>>>>> develop:Implementation/Core/amc_scatterplot.cpp
}


26 changes: 0 additions & 26 deletions Implementation/Core/amc_scatterplot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/


<<<<<<<< HEAD:Implementation/Core/amc_meshutils.hpp
#ifndef __AMC_MESHUTILS
#define __AMC_MESHUTILS

#include "libmcenv_types.hpp"
#include "lib3mf/lib3mf_types.hpp"

namespace AMC {

class CMeshUtils {

public:

static LibMCEnv::sModelDataTransform map3MFTransform(const Lib3MF::sTransform transform3MF);

static LibMCEnv::sModelDataTransform createIdentityTransform();
========
#ifndef __AMC_SCATTERPLOT
#define __AMC_SCATTERPLOT

Expand Down Expand Up @@ -98,21 +81,12 @@ namespace AMC {

void computeBoundaries();

>>>>>>>> develop:Implementation/Core/amc_scatterplot.hpp

static LibMCEnv::sModelDataTransform multiplyTransforms(const LibMCEnv::sModelDataTransform& transform1, const LibMCEnv::sModelDataTransform& transform2);
};

<<<<<<<< HEAD:Implementation/Core/amc_meshutils.hpp

}

#endif //__AMC_MESHUTILS
========

}


#endif //__AMC_SCATTERPLOT
>>>>>>>> develop:Implementation/Core/amc_scatterplot.hpp

2 changes: 0 additions & 2 deletions Implementation/Core/amc_xmldocumentnode.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ namespace AMC {

void addChildEx(PXMLDocumentNodeInstance pNode);

void splitNameSpaceName(const std::string & sPrefixedName, std::string & sUnprefixedName, std::string & sNameSpacePrefix);

public:

CXMLDocumentNodeInstance(CXMLDocumentInstance* pDocument, CXMLDocumentNodeInstance * pParentNode, PXMLDocumentNameSpace pNameSpace, const std::string& sNodeName);
Expand Down