Alistair Buxton

@ali1234
82 Followers
89 Following
723 Posts

@rfnix @eniko

You can only add two fixed point numbers if they have the same scaling factor.

The scaling factors are typically powers of 2 because it makes adjusting it before adding or after multiplying into a shift operation.

The original post is a restatement of the product rule of exponentiation:

2^n * 2^m = 2^(n+m)

That's everything there is to know about fixed point.

@rfnix @eniko

Fixed point just means storing the value you want multiplied by some scaling factor.

For example if you want to losslessly store values to one decimal place in integers, you can multiply them by 10 first.

It follows that if you multiply two such numbers together, the scaling factors also multiply, and the result will be 100 times bigger than the value it represents.

@directhex

On Firefox mobile I have a bookmark to "http://server.lan". It doesn't even use a non-standard port. Firefox randomly tries to open it with https about once a month for absolutely no reason, and I have to manually change the URL bar to http. Once I have done that the bookmark goes back to working. It is totally bizarre.

@revk

0.004

This is mostly a test of how good your display is at reproducing colours.

@_thegeoff

And because the workload is completely different and cannot be distributed for reasons of both security and efficiency.

@orangutanlibrarian @kauzerei

A better visualization:

@orangutanlibrarian @kauzerei

It calculates the intersection of many skewed linear extrusions.

I've just invented a drafted linear extrusion for #OpenSCAD without using roof() or minkowski(), and also not limited to convex 2d geometries as in convex_offset_extrude() from #BOSL2.

I didn't stumble upon this solution anywhere else, so I might be onto something.

I present to you
module drafted_extrude(height,angle,$fn) {
intersection_for(a=[360/$fn:360/$fn:360]) linear_extrude(height=height,v=[cos(a),sin(a),tan(angle)]) children();
}

I need to work on $fn and convexity passthrough, and it may be as inefficient as minkowski(), but it has no limitations on inner radii and how thin walls on 2d geometry can be. Example usage for chamfers is in alt text

@revk

qwen3.5 refuses to even try, which is actually an improvement.

GPT 5.4 gave me a link to a QR code generator website with the query parameters correctly filled in.

@psa

The Right Tool For The Job v1 has been deprecated. You must switch to The Right Tool For The Job v2 or you app will stop working in two weeks. Please consult the 200 page document titled "How to port your app to The Right Tool For The Job v2" for more information.