Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Imported SVG scale is wrong
#1
The attached SVG file is 100x100mm, and the attached STL is 100x100x3mm, but when I import them both and stack them on top of each other, the SVG looks smaller.  (I'm also using the SVG to test the Cam2D function in the API, and likewise getting indications that it's smaller than it should be and not centering as expected).

I'm on x86 Ubuntu 22.0, RoboDK  v5.4.1 (64 bit).

Trying again to attach the files.


Attached Files
.zip   100mm.zip (Size: 650 bytes / Downloads: 8)
#2
If I convert the SVG to a PNG using linux "convert" (ImageMagick 6), RoboDK renders the PNG more accurately, although the ArUco tag still reveals about 1-2mm of error. This isn't a bad approach for testing the accuracy of your renderer, so if you have OpenCV or another way to get pose from April / ArUco tags, you might consider adding it to your test suite.
  




Users browsing this thread:
1 Guest(s)