MCPcopy Create free account
hub / github.com/Denvi/Candle / getModelResolution

Method getModelResolution

src/candle/parser/gcodeviewparse.cpp:109–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109QSize GcodeViewParse::getModelResolution() const
110{
111 return QSize(((m_modelUpperBounds.x() - m_modelLowerBounds.x()) / m_modelMinLineLength) + 1,
112 ((m_modelUpperBounds.y() - m_modelLowerBounds.y()) / m_modelMinLineLength) + 1);
113}
114
115void GcodeViewParse::setAxisRotationVector(RotationAxis axis, const QVector3D &vector)
116{

Callers 1

prepareRasterMethod · 0.80

Calls 2

xMethod · 0.45
yMethod · 0.45

Tested by

no test coverage detected