Open archonoff opened 3 months ago
I was trying to get the SA profiles working and ran into the same issue.
What helped me was setting $hull_shape_type = "skin";
before generating any of the keys. Found the details in the TIPS_AND_TRICKS.md file.
Actually looks like that gets them to render, but geometry is deformed in the corners.
Did a bit of digging and found - https://github.com/openscad/openscad/issues/4313
Last comment mentions using manifold fixes the error.
In preferences > features, enable manifold.
That seems to have solved it for me.
I'm currently learning how to use the KeyV2 project and have encountered some unexpected errors that I can't figure out.
For example, when I input
sa_row(2) key();
into keys.scad and press F6, I successfully get the key rendered. However, changing it tosa_row(1) key();
results in the following error and no key is rendered:Interestingly, modifying the code to
sa_row(1) 2u() key();
still results in errors:However, in this case, the key is at least rendered.![image](https://github.com/rsheldiii/KeyV2/assets/15608747/82a5ddd2-9d54-4288-a438-6eb1b7377f54)
Could anyone help me understand what I might be missing?
Additionally, here's another example that demonstrates a similar issue I'm facing. I'm attempting to render keys with various profiles using the following code:
The result should display a series of keys with OEM, Cherry, SA, MT3, and DCS profiles. However, while the OEM, Cherry, and DCS profiles render as expected, only two keys for the SA profile are rendered correctly. And for the MT3 profile one key is missing and most of the rendered ones are floating above the ground plane.
![image](https://github.com/rsheldiii/KeyV2/assets/15608747/0764f72b-f391-4b80-a2f6-a2e52ebad63d)
This issue seems to specifically affect the SA and MT3 profiles rendering under certain conditions, similar to the previous error I mentioned. Could this be related, or is there another explanation?
I use OpenSCAD-2024.03.23 64bit on Windows 11