cwesson / carcassonne-boxes

Boxes to organize the expansions for Carcassonne board game.
Other
4 stars 1 forks source link

How to create proper icons for OpenSCAD? #1

Open Discobanan opened 1 year ago

Discobanan commented 1 year ago

I'm trying to create a few new boxes, but I have some issues with the icons, and I don't understand why. As you can see in this screenshot, I have created an icon for the expansion The Catapult in Fusion 360. I exported it as a DXF, and the DXF Viewer in Chrome looks good. However when I use that DXF-file in OpenSCAD, it looks terrible. Can someone tell me what I'm doing wrong? I have tried to scale the sketch up in Fusion, but it doesn't help. I have also tried to do a few different icons, but circles and arcs always end up really bad in SCAD.

If I can solve this issue, I will of course do a PR with the new boxes when I'm done.

cwesson commented 1 year ago

I've never used Fusion 360, so I'm not sure how to export a DXF that will work. I used Inkscape to create the DXFs for the other boxes, you could try that. In Inscape, there are two options to export DXF, one works with OpenSCAD, the other does not and I can never remember which is which so if one doesn't work try the other.

I'd be happy to approve a PR for The Catapult once you figure it out.

cwesson commented 1 year ago

@Discobanan If you haven't been able to get the DXF file working, you can send me the original iamge and I'll try converting it.