Close



Results 1 to 6 of 6

Threaded View

  1. #1
    Student
    Join Date
    May 2021
    Location
    Pacific NorthWet
    Posts
    14

    OpenSCAD: Sneaky handy tricks.

    Offering one - Asking for 2 more LOL

    Partial one as a bonus - I use function i2mm(I) = I * 25.4; in must of my scripts, handles inches to mm conversions for me.

    For hexagons like a hexagonal button, use cylinder() with $fn set to 6, you could use $fn set to 8 for octagons etc., devious but works

    The two I need help on, are,

    a) How would I place hexagonal buttons in regular, offset rows/columns efficiently?

    b) For making a floor have alternating color tiles (or the like) I know I could add x and y together, mod 2 if needed, then if even (or 0) pick one tile color, otherwise the other; is there a better way?

    Thanks, all
    Last edited by Mr_Sheesh; 05-13-2021 at 07:30 AM. Reason: Fixing it back into separate sentences, was all concatenated

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •