rgsouthall / laser_slicer

Laser slicer script for Blender 2.9
GNU General Public License v2.0
98 stars 11 forks source link

Unpredictable scaling on X and Y axes #8

Open qarbondev opened 2 weeks ago

qarbondev commented 2 weeks ago

I am importing a STL model into Blender 4.2 and slicing with a thickness of 3mm. My material is A3 (420mm x 297mm) which I enter. Cut spacing is 5mm. However, the slices are being generated with different lengths and widths depending upon the material size and whether I use separate files or not. Why should the material size and this other option change the length and width of the slices from the model inside Blender? It seems to scale the generated content to fit the sheet size. So I tried a massive sheet such as 2m x 3m and then the slices came out too large for the height of the sliced model. The length and width of the slices should match the model inside Blender?

qarbondev commented 2 weeks ago

Hi again, I think this is related to the importation of the SVG into my CAD software, Carveco Maker. I have raised a ticket with their support team since I do not seem to have much control over the DPI, therefore size, of the imported slices. I can change the number of pixels for the size of model (420 x 297mm) so that it approximates 96 DPI (default from laser slicer) but it's not working as desired. Will get back on this issue thread.

qarbondev commented 2 weeks ago

Hi, I have spent some more time on this issue and I guess my question boils down to: are the width/length of the generated slice polygons (height determined by material thickness) determined by the width/height of the material, or are they in proportion to the thickness. My time spent suggests the former which means when completing the model it is out of proportion unless I scale the generated vectors in Carveco Maker back to match the item dimension in Blender. Given the DPI and the item dimensions, I would have thought the polygon dimensions would not vary even if the material ones do???