add z offset option

This commit is contained in:
SoftFever 2023-10-24 18:49:53 +08:00
parent 0851e0934b
commit 6023f79be3
7 changed files with 23 additions and 20 deletions

View file

@ -10,9 +10,7 @@ class SpiralVase {
public:
SpiralVase(const PrintConfig &config) : m_config(config)
{
//BBS
//m_reader.z() = (float)m_config.z_offset;
m_reader.z() = 0.0f;
m_reader.z() = (float)m_config.z_offset;
m_reader.apply_config(m_config);
};