Kragrathea / pgcode

118 stars 19 forks source link

Wrong display with Delta printers #3

Closed susisstrolch closed 3 years ago

susisstrolch commented 3 years ago

For printer with round printbed the display is wrong. Object center is in lower left corner instead of bed center.

grafik

Kragrathea commented 3 years ago

Thanks. I'll fix.

Kragrathea commented 3 years ago

I added a URL parameter to let you set the bed origin and volume in the latest version.
Something like this should work: http://fluidpi.local:7136?bed.origin=center @susisstrolch could you verify that fixes your issue?

susisstrolch commented 3 years ago

WIth bed.origin=center the 2D preview is wrong... grafik

susisstrolch commented 3 years ago

I added a URL parameter to let you set the bed origin and volume in the latest version. Wouldn't a config parameter make more sense?

Kragrathea commented 3 years ago

Oops. I just fixed the camera in the 2d window.

Yes, defaults will be a config eventually, but I don't have that code in place yet.

Kragrathea commented 3 years ago

Future version will detect bed size and origin automatically. I will leave this switch in until that version is released.