• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
Tactile Bits in OpenScad 3D Printer File Image 1
Tactile Bits in OpenScad 3D Printer File Image 2
Tactile Bits in OpenScad 3D Printer File Image 3
Tactile Bits in OpenScad 3D Printer File Thumbnail 1
Tactile Bits in OpenScad 3D Printer File Thumbnail 2
Tactile Bits in OpenScad 3D Printer File Thumbnail 3

Tactile Bits in OpenScad

WilliamAAdams avatarWilliamAAdams

October 31, 2011

thingiverse-icon
DescriptionCommentsTags

Description

I've been programming for quite a few years now, and since the beginning of time (programming my Commodore P.E.T.), I could not remember binary bit patterns to save my life!

This thing gives me the ability to print out binary representations of numbers. That gives me something nice and tactile that I can look at, pick up, and play around with.

Perhaps if I had this as a toy when I was younger, I would not have such problems remembering binary encodings because the memories would have been cemented in something physical.

Within the test_boolean.scad file, you will find the module: display_binary(number, bits, withplate)

You give it a number, and the number of bits you want to display, and whether you want a base plate attached or not.

And out comes your binary representation of your number.

If you care to look deeper, you can take a look at the boolean.scad file. In there you will find some useful bit banging operators like RSHIFT, LSHIFT, BIT, BTEST, 32BITAND, 32BITNOT, 32BITXOR, 32BITOR, and other boolean algebra thingies. These might be useful for other things some day.

In particular, you could perform an operation, and print the result of the operation tactally.

License:

Public Domain

Related Models

Customizable Flower Pot - classic style preview image

Customizable Flower Pot - classic style

robertwallace profile image

robertwallace

5,476

Spiral Torsion Spring Optimizer v4 preview image

Spiral Torsion Spring Optimizer v4

zbuser profile image

zbuser

57

100% Printable durable Train Math learning 1...n preview image

100% Printable durable Train Math learning 1...n

Meister Edel profile image

Meister Edel

29

GO-GO AirBoat preview image

GO-GO AirBoat

macakcat profile image

macakcat

2,628

Binomial theorem - model of a cubic binomial preview image

Binomial theorem - model of a cubic binomial

Maximilian Dorninger profile image

Maximilian Dorninger

21

Tag preview image

Tag

Hoze2792 profile image

Hoze2792

45

Finger Shark preview image

Finger Shark

zheng3 profile image

zheng3

1,588

Math learning train locomotive 100% printable and robust preview image

Math learning train locomotive 100% printable and robust

Meister Edel profile image

Meister Edel

47